de.jreality.scene.proxy.tree
Class SceneTreeNode
java.lang.Object
de.jreality.scene.proxy.tree.SceneTreeNode
public class SceneTreeNode
- extends Object
This class represents a tree version of a SceneGraphNode.
Such a proxy class exists for each unique path to a SceneGraphNode.
Typical application would be calculating a BoundingBox in
world coordinates - in contrast to the BoundingBox in local
coordinates, which would typically belong to the corresponding
Entity.
- Author:
- weissman
isLeaf
public boolean isLeaf()
getChildren
public List<SceneTreeNode> getChildren()
getNode
public SceneGraphNode getNode()
getParent
public SceneTreeNode getParent()
getProxy
public Object getProxy()
setProxy
public void setProxy(Object proxy)
addChild
public int addChild(SceneTreeNode child)
toPath
public SceneGraphPath toPath()
getEntity
public SceneGraphNodeEntity getEntity()
getTreeNodeForChild
public SceneTreeNode getTreeNodeForChild(SceneGraphNode prevChild)
getTransformationTreeNode
public SceneTreeNode getTransformationTreeNode()
getAppearanceTreeNode
public SceneTreeNode getAppearanceTreeNode()
getGeometryTreeNode
public SceneTreeNode getGeometryTreeNode()