|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.NodeComponent
public abstract class NodeComponent
NodeComponent is the base class for all node component objects in scene graph Node objects.
| Field Summary |
|---|
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
NodeComponent(boolean isGlobalOptionsRelevant)
Constructs a new NodeComponent object. |
|
| Method Summary | |
|---|---|
abstract NodeComponent |
cloneNodeComponent(boolean forceDuplicate)
|
protected void |
duplicateNodeComponent(NodeComponent original,
boolean forceDuplicate)
|
void |
freeOpenGLResources(Canvas3D canvas)
This method frees OpenGL resources (names) for all this NodeComponent and all child-components. |
abstract void |
freeOpenGLResources(CanvasPeer canvasPeer)
This method frees OpenGL resources (names) for all this NodeComponent and all child-components. |
boolean |
getDuplicateOnCloneTree()
|
ScenegraphModificationsListener |
getModListener()
|
boolean |
isChanged()
|
boolean |
isChanged2()
|
protected void |
setChanged(boolean changed)
|
void |
setDuplicateOnCloneTree(boolean b)
controls whether a NodeComponent object is dupicated or referenced on a call to cloneTree. by default this flag is set to false. |
void |
setModListener(ScenegraphModificationsListener modListener)
|
| Methods inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
getName, getUserData, getUserData, getUserDataMap, isLive, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NodeComponent(boolean isGlobalOptionsRelevant)
| Method Detail |
|---|
public void setModListener(ScenegraphModificationsListener modListener)
public final ScenegraphModificationsListener getModListener()
protected void setChanged(boolean changed)
public boolean isChanged()
public boolean isChanged2()
public final void setDuplicateOnCloneTree(boolean b)
If the cloneTree method is called with forceDuplicate parameter set to true the duplicationOnCloneTree flag is ignored and the entire scene graph is duplicated.
public final boolean getDuplicateOnCloneTree()
protected void duplicateNodeComponent(NodeComponent original,
boolean forceDuplicate)
original - forceDuplicate - public abstract NodeComponent cloneNodeComponent(boolean forceDuplicate)
public abstract void freeOpenGLResources(CanvasPeer canvasPeer)
canvasPeer - public final void freeOpenGLResources(Canvas3D canvas)
canvas -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||