Constructor and Description |
---|
MeshNode() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getMaterials() |
<T extends IBaseNode> |
getNode(java.lang.Class<T> nodeType,
java.lang.String property,
java.lang.String value)
Fetch the first node in the child structure by a depth first search that
corresponds to the given NodeType and fulfills the property constraint.
|
NodeType |
getNodeType() |
java.lang.String |
getObjName() |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getScale() |
java.lang.Boolean |
isTransparent() |
java.lang.Boolean |
isVisible() |
void |
setMaterials(java.lang.String[] materials) |
void |
setObjName(java.lang.String objName) |
void |
setScale(org.apache.commons.math3.geometry.euclidean.threed.Vector3D scale) |
void |
setTransparent(java.lang.Boolean isTransparent) |
void |
setVisible(java.lang.Boolean isVisible) |
java.lang.String |
toString() |
void |
update(IBaseNode other) |
addChildNode, clone, getChildren, getParent, setParent, structurallyEquals
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getChildren, getParent, setParent, structurallyEquals
public NodeType getNodeType()
getNodeType
in interface IBaseNode
getNodeType
in class BaseNode
public java.lang.Boolean isTransparent()
isTransparent
in interface IMeshNode
public java.lang.String getObjName()
getObjName
in interface IMeshNode
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getScale()
public java.lang.String[] getMaterials()
getMaterials
in interface IMeshNode
public void setVisible(java.lang.Boolean isVisible)
public void setTransparent(java.lang.Boolean isTransparent)
public void setObjName(java.lang.String objName)
public void setScale(org.apache.commons.math3.geometry.euclidean.threed.Vector3D scale)
public void setMaterials(java.lang.String[] materials)
public void update(IBaseNode other)
public <T extends IBaseNode> T getNode(java.lang.Class<T> nodeType, java.lang.String property, java.lang.String value)
IBaseNode
getNode
in interface IBaseNode
getNode
in class BaseNode
T
- - the intended node typenodeType
- - the intended node typeproperty
- - a property of the node that should be checked or null if
no check should be performedvalue
- - the value which the specified property should contain