Class NRCollidableShape
java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseCollidableNode
org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseCollidableShape
org.web3d.vrml.renderer.norender.nodes.rigidphysics.NRCollidableShape
- All Implemented Interfaces:
VRMLNode,FrameStateListener,VRMLBoundedNodeType,VRMLChildNodeType,VRMLNBodyCollidableNodeType,VRMLNodeType,VRMLWorldRootChildNodeType,NRVRMLNode
Implementation of a CollidableShape.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseCollidableShape
FIELD_SHAPE, LAST_SHAPE_INDEX, pShape, SHAPE_NODE_MSG, SHAPE_PROTO_MSG, vfShapeFields inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseCollidableNode
FIELD_BBOX_CENTER, FIELD_BBOX_DISPLAY, FIELD_BBOX_SIZE, FIELD_ENABLED, FIELD_ROTATION, FIELD_TRANSLATION, FIELD_VISIBLE, LAST_COLLIDABLE_INDEX, odeGeom, tmatrix, vfBboxCenter, vfBboxDisplay, vfBboxSize, vfEnabled, vfRotation, vfTranslation, vfVisibleFields inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
errorReporter, FIELD_METADATA, fieldLocalData, hasChanged, inSetup, isDEF, isStatic, LAST_NODE_INDEX, layerIds, nodeName, pMetadata, refCounts, removedLayerIds, stateManager, STATIC_SCENE_GRAPH, vfMetadata, vrmlMajorVersion, vrmlMinorVersion -
Constructor Summary
ConstructorsConstructorDescriptionInitialise the time dependent node and it's fields that are held locally.Construct a new instance of this node based on the details from the given node. -
Method Summary
Methods inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseCollidableShape
getFieldDeclaration, getFieldIndex, getFieldValue, getNodeFieldIndices, getNumFields, setShape, setupFinished, setValueMethods inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseCollidableNode
allEventsComplete, copy, getBboxCenter, getBboxDisplay, getBboxSize, getODEGeometry, getPrimaryType, getRotation, getTranslation, getVisible, isEnabled, isShared, sendRoute, setBboxCenter, setBboxDisplay, setBboxSize, setEnabled, setRotation, setShared, setTranslation, setValue, setValue, setVisible, updateFromODE, updateMatrixMethods inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
addNodeListener, checkNodeType, checkSecondaryType, checkSecondaryType, clearRemovedLayerIds, fireFieldChanged, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, getSecondaryType, getUserData, getVRMLNodeName, hasFieldChanged, isDEF, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, setDEF, setErrorReporter, setFrameStateManager, setMetadataObject, setUserData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVersion, throwInitOnlyWriteException, throwInputOnlyWriteException, throwInvalidNodeException, throwInvalidProtoException, throwOutputOnlyWriteException, updateRefCount, updateRefsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsCompleteMethods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersionMethods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
-
Constructor Details
-
NRCollidableShape
public NRCollidableShape()Initialise the time dependent node and it's fields that are held locally. -
NRCollidableShape
Construct a new instance of this node based on the details from the given node. If the node is not the same type, an exception will be thrown.- Parameters:
node- The node to copy- Throws:
IllegalArgumentException- The node is not the same type
-