Package mgui.interfaces.shapes
Class Shape3DSceneNode
java.lang.Object
org.jogamp.java3d.SceneGraphObject
org.jogamp.java3d.Node
org.jogamp.java3d.Group
org.jogamp.java3d.BranchGroup
mgui.interfaces.shapes.ShapeSceneNode
mgui.interfaces.shapes.Shape3DSceneNode
- All Implemented Interfaces:
ShapeListener
public class Shape3DSceneNode extends ShapeSceneNode
Holds a Java3D scene node representing a Shape3DInt object
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.interfaces.shapes.ShapeSceneNode
shapeNode
Fields inherited from class org.jogamp.java3d.BranchGroup
ALLOW_DETACH
Fields inherited from class org.jogamp.java3d.Group
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
Fields 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 Shape3DSceneNode(Shape3DInt thisShape)
Shape3DSceneNode(Shape3DInt thisShape, ShapeSelectionSet s)
-
Method Summary
Modifier and Type Method Description void
duplicateNode(org.jogamp.java3d.Node originalNode, boolean forceDuplicate)
void
setNode(InterfaceShape thisShape)
protected void
setNode3D()
void
shapeUpdated(ShapeEvent e)
A shape that this object is listening to has been updated.Methods inherited from class mgui.interfaces.shapes.ShapeSceneNode
destroy, getNode, isDestroyed
Methods inherited from class org.jogamp.java3d.BranchGroup
cloneNode, compile, detach, pickAll, pickAll, pickAllSorted, pickAllSorted, pickAny, pickAny, pickClosest, pickClosest
Methods inherited from class org.jogamp.java3d.Group
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
Methods inherited from class org.jogamp.java3d.Node
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
Methods inherited from class org.jogamp.java3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Shape3DSceneNode
-
Shape3DSceneNode
-
-
Method Details
-
setNode
- Overrides:
setNode
in classShapeSceneNode
-
setNode3D
protected void setNode3D() -
shapeUpdated
Description copied from interface:ShapeListener
A shape that this object is listening to has been updated. The specific type of event is defined by ShapeEvent.EventType.- Specified by:
shapeUpdated
in interfaceShapeListener
- Overrides:
shapeUpdated
in classShapeSceneNode
-
duplicateNode
public void duplicateNode(org.jogamp.java3d.Node originalNode, boolean forceDuplicate)- Overrides:
duplicateNode
in classorg.jogamp.java3d.Node
-