public class DisplayGeometry extends VisibleBase
VisibleBase.DisplayPreference
Constructor and Description |
---|
DisplayGeometry() |
DisplayGeometry(java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
DisplayGeometry |
clone() |
MeshBase |
createMesh(java.io.File geometryPath)
Creates a mesh if it exists, transformed by any scale and transform
properties.
|
RenderProps |
createRenderProps()
Gets render properties from this object, ignoring the mesh details.
|
java.lang.String |
getGeometryFile() |
Vector3d |
getScaleFactors() |
java.lang.String |
getTextureFile() |
RigidTransform3d |
getTransform() |
void |
setGeometryFile(java.lang.String file) |
void |
setScaleFactors(Vector3d scale) |
void |
setTextureFile(java.lang.String file) |
void |
setTransform(RigidTransform3d trans) |
getColor, getDisplayPreference, getOpacity, setColor, setDisplayPreference, setOpacity
public DisplayGeometry()
public DisplayGeometry(java.lang.String filename)
public void setGeometryFile(java.lang.String file)
public java.lang.String getGeometryFile()
public void setTextureFile(java.lang.String file)
public java.lang.String getTextureFile()
public void setTransform(RigidTransform3d trans)
public RigidTransform3d getTransform()
public void setScaleFactors(Vector3d scale)
public Vector3d getScaleFactors()
public MeshBase createMesh(java.io.File geometryPath)
geometryPath
- path in which to search for geometry filespublic RenderProps createRenderProps()
createRenderProps
in class VisibleBase
public DisplayGeometry clone()
clone
in interface Clonable
clone
in class VisibleBase