de.jreality.scene.proxy.tree
Class SceneTreeNode
java.lang.Object
de.jreality.scene.proxy.tree.SceneTreeNode
public class SceneTreeNode
- extends java.lang.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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isLeaf
public boolean isLeaf()
getChildren
public java.util.List<SceneTreeNode> getChildren()
getNode
public SceneGraphNode getNode()
getParent
public SceneTreeNode getParent()
getProxy
public java.lang.Object getProxy()
setProxy
public void setProxy(java.lang.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()
getLightTreeNode
public SceneTreeNode getLightTreeNode()
isComponent
public boolean isComponent()