Class NRMotorJoint
java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseJointNode
org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseMotorJoint
org.web3d.vrml.renderer.norender.nodes.rigidphysics.NRMotorJoint
- All Implemented Interfaces:
VRMLNode
,FrameStateListener
,VRMLNodeType
,VRMLRigidJointNodeType
,NRVRMLNode
Implementation of a MotorJoint.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseMotorJoint
AXIS1_ANGLE_MSG, AXIS1_TORQUE_MSG, AXIS2_ANGLE_MSG, AXIS2_TORQUE_MSG, AXIS3_ANGLE_MSG, AXIS3_TORQUE_MSG, BOUNCE1_RANGE_MSG, BOUNCE2_RANGE_MSG, BOUNCE3_RANGE_MSG, FIELD_AUTO_CALC, FIELD_AXIS1_ANGLE, FIELD_AXIS1_TORQUE, FIELD_AXIS2_ANGLE, FIELD_AXIS2_TORQUE, FIELD_AXIS3_ANGLE, FIELD_AXIS3_TORQUE, FIELD_ENABLED_AXES, FIELD_MOTOR1_ANGLE, FIELD_MOTOR1_ANGLE_RATE, FIELD_MOTOR1_AXIS, FIELD_MOTOR2_ANGLE, FIELD_MOTOR2_ANGLE_RATE, FIELD_MOTOR2_AXIS, FIELD_MOTOR3_ANGLE, FIELD_MOTOR3_ANGLE_RATE, FIELD_MOTOR3_AXIS, FIELD_STOP1_BOUNCE, FIELD_STOP1_ERROR_CORRECTION, FIELD_STOP2_BOUNCE, FIELD_STOP2_ERROR_CORRECTION, FIELD_STOP3_BOUNCE, FIELD_STOP3_ERROR_CORRECTION, LAST_MOTOR_INDEX, odeJoint, STOP_ERROR1_RANGE_MSG, STOP_ERROR2_RANGE_MSG, STOP_ERROR3_RANGE_MSG, vfAutoCalc, vfAxis1Angle, vfAxis1Torque, vfAxis2Angle, vfAxis2Torque, vfAxis3Angle, vfAxis3Torque, vfEnabledAxes, vfMotor1Angle, vfMotor1AngleRate, vfMotor1Axis, vfMotor2Angle, vfMotor2AngleRate, vfMotor2Axis, vfMotor3Angle, vfMotor3AngleRate, vfMotor3Axis, vfStop1Bounce, vfStop1ErrorCorrection, vfStop2Bounce, vfStop2ErrorCorrection, vfStop3Bounce, vfStop3ErrorCorrection
Fields inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseJointNode
BODY_NODE_MSG, BODY_PROTO_MSG, FIELD_BODY1, FIELD_BODY2, FIELD_MUST_OUTPUT, LAST_JOINT_INDEX, numMustOutput, numOutputIndices, outputIndices, pBody1, pBody2, vfBody1, vfBody2, vfMustOutput
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.NRMotorJoint
(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.BaseMotorJoint
delete, getFieldDeclaration, getFieldIndex, getFieldValue, getNodeFieldIndices, getNumFields, getPrimaryType, sendRoute, setBody1, setBody2, setODEWorld, setupFinished, setValue, setValue, setValue, setValue, updateRequestedOutputs
Methods inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseJointNode
getBody1, getBody2, getOutputFields, numOutputs, setValue, setValue
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, 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
-
NRMotorJoint
public NRMotorJoint()Initialise the time dependent node and it's fields that are held locally. -
NRMotorJoint
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
-