Class OGLDoubleAxisHingeJoint
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.BaseDoubleAxisHingeJoint
org.web3d.vrml.renderer.ogl.nodes.rigidphysics.OGLDoubleAxisHingeJoint
- All Implemented Interfaces:
VRMLNode,FrameStateListener,VRMLNodeType,VRMLRigidJointNodeType,OGLVRMLNode
Implementation of a DoubleAxisHingeJoint.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseDoubleAxisHingeJoint
BOUNCE1_RANGE_MSG, FIELD_ANCHOR_POINT, FIELD_ANGULAR_VELOCITY1, FIELD_ANGULAR_VELOCITY2, FIELD_AXIS1, FIELD_AXIS2, FIELD_BODY1_ANCHOR_POINT, FIELD_BODY1_AXIS, FIELD_BODY2_ANCHOR_POINT, FIELD_BODY2_AXIS, FIELD_HINGE1_ANGLE, FIELD_HINGE1_ANGLE_RATE, FIELD_HINGE2_ANGLE, FIELD_HINGE2_ANGLE_RATE, FIELD_MAX_ANGLE1, FIELD_MAX_TORQUE1, FIELD_MAX_TORQUE2, FIELD_MIN_ANGLE1, FIELD_STOP_BOUNCE1, FIELD_STOP_CFM1, FIELD_STOP_ERROR_CORRECTION1, FIELD_SUSPENSION_ERP, FIELD_SUSPENSION_FORCE, LAST_INDEX, MAX_ANGLE1_MSG, MIN_ANGLE1_MSG, odeJoint, STOP_CFM1_NEG_MSG, STOP_ERROR1_RANGE_MSG, SUSP_ERROR_RANGE_MSG, SUSP_NEG_MSG, vfAnchorPoint, vfAxis1, vfAxis2, vfBody1AnchorPoint, vfBody1Axis, vfBody2AnchorPoint, vfBody2Axis, vfDesiredAngularVelocity1, vfDesiredAngularVelocity2, vfHinge1Angle, vfHinge1AngleRate, vfHinge2Angle, vfHinge2AngleRate, vfMaxAngle1, vfMaxTorque1, vfMaxTorque2, vfMinAngle1, vfStopBounce1, vfStopConstantForceMix1, vfStopErrorCorrection1, vfSuspensionErrorCorrection, vfSuspensionForceFields 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, vfMustOutputFields 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
Modifier and TypeMethodDescriptionorg.j3d.aviatrix3d.SceneGraphObjectGet the OpenGL scene graph object representation of this node.Methods inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseDoubleAxisHingeJoint
delete, getFieldDeclaration, getFieldIndex, getFieldValue, getNodeFieldIndices, getNumFields, getPrimaryType, sendRoute, setBody1, setBody2, setODEWorld, setupFinished, setValue, setValue, updateRequestedOutputsMethods inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseJointNode
getBody1, getBody2, getOutputFields, numOutputs, setValue, setValueMethods 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, 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
-
OGLDoubleAxisHingeJoint
public OGLDoubleAxisHingeJoint()Initialise the time dependent node and it's fields that are held locally. -
OGLDoubleAxisHingeJoint
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
-
-
Method Details
-
getSceneGraphObject
public org.j3d.aviatrix3d.SceneGraphObject getSceneGraphObject()Get the OpenGL scene graph object representation of this node. This will need to be cast to the appropriate parent type when being used. Default implementation returns null.- Specified by:
getSceneGraphObjectin interfaceOGLVRMLNode- Returns:
- The OpenGL representation.
-