public class Mesh extends Geometry
Constructor and Description |
---|
Mesh() |
Modifier and Type | Method and Description |
---|---|
Mesh |
clone() |
RigidMeshComp |
createComponent(java.io.File geometryPath,
ModelComponentMap componentMap)
Will try to add mesh to the appropriate body via the socket_frame first,
and if successful, will return null.
|
MeshBase |
createMesh(java.io.File geometryPath)
Creates a mesh if it exists, transformed by any scale and transform
properties.
|
java.lang.String |
getMeshFile() |
void |
setMeshFile(java.lang.String filename) |
getScaleFactors, getSocketFrame, setScaleFactors, setSocketFrame
createRenderProps, getAppearance, setAppearance
public java.lang.String getMeshFile()
public void setMeshFile(java.lang.String filename)
public MeshBase createMesh(java.io.File geometryPath)
geometryPath
- path in which to search for geometry filespublic RigidMeshComp createComponent(java.io.File geometryPath, ModelComponentMap componentMap)
Geometry
createComponent
in interface ModelComponentGenerator<RigidMeshComp>
createComponent
in class Geometry
geometryPath
- path to search for geometry filescomponentMap
- map for looking up other objects