Class NRRigidBody
java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseRigidBody
org.web3d.vrml.renderer.norender.nodes.rigidphysics.NRRigidBody
- All Implemented Interfaces:
VRMLNode
,FrameStateListener
,VRMLNodeType
,VRMLRigidBodyNodeType
,NRVRMLNode
Implementation of a RigidBody.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseRigidBody
DIS_ANG_VEL_RANGE_MSG, DIS_LIN_VEL_RANGE_MSG, FIELD_ANGULAR_DAMPING_FACTOR, FIELD_ANGULAR_VELOCITY, FIELD_AUTO_DAMP, FIELD_AUTO_DISABLE, FIELD_CENTER_OF_MASS, FIELD_DISABLE_ANGULAR_SPEED, FIELD_DISABLE_LINEAR_SPEED, FIELD_DISABLE_TIME, FIELD_ENABLED, FIELD_FINITE_ROTATION_AXIS, FIELD_FORCES, FIELD_GEOMETRY, FIELD_INERTIA, FIELD_LINEAR_DAMPING_FACTOR, FIELD_LINEAR_VELOCITY, FIELD_MASS, FIELD_MASS_DENSITY_MODEL, FIELD_ORIENTATION, FIELD_POSITION, FIELD_TORQUES, FIELD_USE_FINITE_ROTATION, FIELD_USE_GLOBAL_GRAVITY, GEOM_NODE_MSG, GEOM_PROTO_MSG, LAST_BODY_INDEX, MASS_NODE_MSG, MASS_PROTO_MSG, MASS_TYPE_MSG, MASS_TYPE_PROTO_MSG, NEG_MASS_MSG, numForces, numGeometry, numInertia, numTorques, pMassDensityModel, vfAngularDampingFactor, vfAngularVelocity, vfAutoDamp, vfAutoDisable, vfCenterOfMass, vfDisableAngularSpeed, vfDisableLinearSpeed, vfDisableTime, vfEnabled, vfFiniteRotationAxis, vfForces, vfGeometry, vfInertia, vfLinearDampingFactor, vfLinearVelocity, vfMass, vfMassDensityModel, vfOrientation, vfPosition, vfTorques, vfUseFiniteRotation, vfUseGlobalGravity
Fields 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.NRRigidBody
(VRMLNodeType node) 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.BaseRigidBody
addGeometry, getFieldDeclaration, getFieldIndex, getFieldValue, getGeometry, getMassDensityModel, getNodeFieldIndices, getNumFields, getODEBody, getPrimaryType, numGeometry, sendRoute, setGeometry, setMassDensityModel, setODEWorld, setupFinished, setValue, setValue, setValue, setValue, setValue, updateNodeFromODE, updateODEFromNode
Methods inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
addNodeListener, allEventsComplete, 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, setVersion, throwInitOnlyWriteException, throwInputOnlyWriteException, throwInvalidNodeException, throwInvalidProtoException, throwOutputOnlyWriteException, updateRefCount, updateRefs
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsComplete
Methods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion
Methods 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
-
NRRigidBody
public NRRigidBody()Initialise the time dependent node and it's fields that are held locally. -
NRRigidBody
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
-