Package mgui.interfaces.shapes
Class ShapeSceneNode
java.lang.Object
org.jogamp.java3d.SceneGraphObject
org.jogamp.java3d.Node
org.jogamp.java3d.Group
org.jogamp.java3d.BranchGroup
mgui.interfaces.shapes.ShapeSceneNode
- All Implemented Interfaces:
 ShapeListener
- Direct Known Subclasses:
 Shape2DSectionNode,Shape3DSceneNode
public class ShapeSceneNode extends org.jogamp.java3d.BranchGroup implements ShapeListener
- 
Field Summary
Fields Modifier and Type Field Description org.jogamp.java3d.BranchGroupshapeNodeFields inherited from class org.jogamp.java3d.BranchGroup
ALLOW_DETACHFields inherited from class org.jogamp.java3d.Group
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITEFields inherited from class org.jogamp.java3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING - 
Constructor Summary
Constructors Constructor Description ShapeSceneNode() - 
Method Summary
Modifier and Type Method Description voiddestroy()Destroys this listener.org.jogamp.java3d.BranchGroupgetNode()booleanisDestroyed()Returnstrueif this listener has been destroyed.voidsetNode(InterfaceShape thisShape)voidshapeUpdated(ShapeEvent e)A shape that this object is listening to has been updated.Methods inherited from class org.jogamp.java3d.BranchGroup
cloneNode, compile, detach, pickAll, pickAll, pickAllSorted, pickAllSorted, pickAny, pickAny, pickClosest, pickClosestMethods inherited from class org.jogamp.java3d.Group
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBoundsMethods inherited from class org.jogamp.java3d.Node
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickableMethods inherited from class org.jogamp.java3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferencesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Field Details
- 
shapeNode
public org.jogamp.java3d.BranchGroup shapeNode 
 - 
 - 
Constructor Details
- 
ShapeSceneNode
public ShapeSceneNode() 
 - 
 - 
Method Details
- 
setNode
 - 
shapeUpdated
Description copied from interface:ShapeListenerA shape that this object is listening to has been updated. The specific type of event is defined by ShapeEvent.EventType.- Specified by:
 shapeUpdatedin interfaceShapeListener
 - 
getNode
public org.jogamp.java3d.BranchGroup getNode() - 
destroy
public void destroy()Description copied from interface:ShapeListenerDestroys this listener. Once this is called, ShapeListener.isDestroyed() must returntrue.- Specified by:
 destroyin interfaceShapeListener
 - 
isDestroyed
public boolean isDestroyed()Description copied from interface:ShapeListenerReturnstrueif this listener has been destroyed.- Specified by:
 isDestroyedin interfaceShapeListener- Returns:
 
 
 -