Class SAIDoubleAxisHingeJoint
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.rigidbodyphysics.SAIDoubleAxisHingeJoint
- All Implemented Interfaces:
DoubleAxisHingeJoint,X3DNode,X3DRigidJointNode
A concrete implementation of the DoubleAxisHingeJoint node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAIDoubleAxisHingeJoint(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAnchorPoint(float[] val) Return the anchorPoint value in the argument float[]voidgetAxis1(float[] val) Return the axis1 value in the argument float[]voidgetAxis2(float[] val) Return the axis2 value in the argument float[]getBody1()Return the body1 X3DNode value.voidgetBody1AnchorPoint(float[] val) Return the body1AnchorPoint value in the argument float[]voidgetBody1Axis(float[] val) Return the body1Axis value in the argument float[]getBody2()Return the body2 X3DNode value.voidgetBody2AnchorPoint(float[] val) Return the body2AnchorPoint value in the argument float[]voidgetBody2Axis(float[] val) Return the body2Axis value in the argument float[]floatReturn the desiredAngularVelocity1 float value.floatReturn the desiredAngularVelocity2 float value.voidgetForceOutput(String[] val) Return the forceOutput value in the argument String[]floatReturn the hinge1Angle float value.floatReturn the hinge1AngleRate float value.floatReturn the hinge2Angle float value.floatReturn the hinge2AngleRate float value.floatReturn the maxAngle1 float value.floatReturn the maxTorque1 float value.floatReturn the maxTorque2 float value.floatReturn the minAngle1 float value.voidgetMustOutput(String[] val) Return the mustOutput value in the argument String[]intReturn the number of MFString items in the forceOutput field.intReturn the number of MFString items in the mustOutput field.floatReturn the stopBounce1 float value.floatReturn the stopConstantForceMix1 float value.floatReturn the stopErrorCorrection1 float value.floatReturn the suspensionErrorCorrection float value.floatReturn the suspensionForce float value.voidsetAnchorPoint(float[] val) Set the anchorPoint field.voidsetAxis1(float[] val) Set the axis1 field.voidsetAxis2(float[] val) Set the axis2 field.voidSet the body1 field.voidSet the body2 field.voidsetDesiredAngularVelocity1(float val) Set the desiredAngularVelocity1 field.voidsetDesiredAngularVelocity2(float val) Set the desiredAngularVelocity2 field.voidsetForceOutput(String[] val) Set the forceOutput field.voidsetMaxAngle1(float val) Set the maxAngle1 field.voidsetMaxTorque1(float val) Set the maxTorque1 field.voidsetMaxTorque2(float val) Set the maxTorque2 field.voidsetMinAngle1(float val) Set the minAngle1 field.voidsetMustOutput(String[] val) Set the mustOutput field.voidsetStopBounce1(float val) Set the stopBounce1 field.voidsetStopConstantForceMix1(float val) Set the stopConstantForceMix1 field.voidsetStopErrorCorrection1(float val) Set the stopErrorCorrection1 field.voidsetSuspensionErrorCorrection(float val) Set the suspensionErrorCorrection field.voidsetSuspensionForce(float val) Set the suspensionForce field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIDoubleAxisHingeJoint
public SAIDoubleAxisHingeJoint(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getNumForceOutput
public int getNumForceOutput()Return the number of MFString items in the forceOutput field.- Specified by:
getNumForceOutputin interfaceX3DRigidJointNode- Returns:
- the number of MFString items in the forceOutput field.
-
getForceOutput
Return the forceOutput value in the argument String[]- Specified by:
getForceOutputin interfaceX3DRigidJointNode- Parameters:
val- The String[] to initialize.
-
setForceOutput
Set the forceOutput field.- Specified by:
setForceOutputin interfaceX3DRigidJointNode- Parameters:
val- The String[] to set.
-
getBody1
Return the body1 X3DNode value.- Specified by:
getBody1in interfaceX3DRigidJointNode- Returns:
- The body1 X3DNode value.
-
setBody1
Set the body1 field.- Specified by:
setBody1in interfaceX3DRigidJointNode- Parameters:
val- The X3DNode to set.
-
getBody2
Return the body2 X3DNode value.- Specified by:
getBody2in interfaceX3DRigidJointNode- Returns:
- The body2 X3DNode value.
-
setBody2
Set the body2 field.- Specified by:
setBody2in interfaceX3DRigidJointNode- Parameters:
val- The X3DNode to set.
-
getNumMustOutput
public int getNumMustOutput()Return the number of MFString items in the mustOutput field.- Specified by:
getNumMustOutputin interfaceDoubleAxisHingeJoint- Returns:
- the number of MFString items in the mustOutput field.
-
getMustOutput
Return the mustOutput value in the argument String[]- Specified by:
getMustOutputin interfaceDoubleAxisHingeJoint- Parameters:
val- The String[] to initialize.
-
setMustOutput
Set the mustOutput field.- Specified by:
setMustOutputin interfaceDoubleAxisHingeJoint- Parameters:
val- The String[] to set.
-
getAnchorPoint
public void getAnchorPoint(float[] val) Return the anchorPoint value in the argument float[]- Specified by:
getAnchorPointin interfaceDoubleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
setAnchorPoint
public void setAnchorPoint(float[] val) Set the anchorPoint field.- Specified by:
setAnchorPointin interfaceDoubleAxisHingeJoint- Parameters:
val- The float[] to set.
-
getAxis1
public void getAxis1(float[] val) Return the axis1 value in the argument float[]- Specified by:
getAxis1in interfaceDoubleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
setAxis1
public void setAxis1(float[] val) Set the axis1 field.- Specified by:
setAxis1in interfaceDoubleAxisHingeJoint- Parameters:
val- The float[] to set.
-
getAxis2
public void getAxis2(float[] val) Return the axis2 value in the argument float[]- Specified by:
getAxis2in interfaceDoubleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
setAxis2
public void setAxis2(float[] val) Set the axis2 field.- Specified by:
setAxis2in interfaceDoubleAxisHingeJoint- Parameters:
val- The float[] to set.
-
getBody1AnchorPoint
public void getBody1AnchorPoint(float[] val) Return the body1AnchorPoint value in the argument float[]- Specified by:
getBody1AnchorPointin interfaceDoubleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
getBody2AnchorPoint
public void getBody2AnchorPoint(float[] val) Return the body2AnchorPoint value in the argument float[]- Specified by:
getBody2AnchorPointin interfaceDoubleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
getDesiredAngularVelocity1
public float getDesiredAngularVelocity1()Return the desiredAngularVelocity1 float value.- Specified by:
getDesiredAngularVelocity1in interfaceDoubleAxisHingeJoint- Returns:
- The desiredAngularVelocity1 float value.
-
setDesiredAngularVelocity1
public void setDesiredAngularVelocity1(float val) Set the desiredAngularVelocity1 field.- Specified by:
setDesiredAngularVelocity1in interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-
getDesiredAngularVelocity2
public float getDesiredAngularVelocity2()Return the desiredAngularVelocity2 float value.- Specified by:
getDesiredAngularVelocity2in interfaceDoubleAxisHingeJoint- Returns:
- The desiredAngularVelocity2 float value.
-
setDesiredAngularVelocity2
public void setDesiredAngularVelocity2(float val) Set the desiredAngularVelocity2 field.- Specified by:
setDesiredAngularVelocity2in interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-
getBody1Axis
public void getBody1Axis(float[] val) Return the body1Axis value in the argument float[]- Specified by:
getBody1Axisin interfaceDoubleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
getBody2Axis
public void getBody2Axis(float[] val) Return the body2Axis value in the argument float[]- Specified by:
getBody2Axisin interfaceDoubleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
getMinAngle1
public float getMinAngle1()Return the minAngle1 float value.- Specified by:
getMinAngle1in interfaceDoubleAxisHingeJoint- Returns:
- The minAngle1 float value.
-
setMinAngle1
public void setMinAngle1(float val) Set the minAngle1 field.- Specified by:
setMinAngle1in interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-
getMaxAngle1
public float getMaxAngle1()Return the maxAngle1 float value.- Specified by:
getMaxAngle1in interfaceDoubleAxisHingeJoint- Returns:
- The maxAngle1 float value.
-
setMaxAngle1
public void setMaxAngle1(float val) Set the maxAngle1 field.- Specified by:
setMaxAngle1in interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-
getMaxTorque1
public float getMaxTorque1()Return the maxTorque1 float value.- Specified by:
getMaxTorque1in interfaceDoubleAxisHingeJoint- Returns:
- The maxTorque1 float value.
-
setMaxTorque1
public void setMaxTorque1(float val) Set the maxTorque1 field.- Specified by:
setMaxTorque1in interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-
getMaxTorque2
public float getMaxTorque2()Return the maxTorque2 float value.- Specified by:
getMaxTorque2in interfaceDoubleAxisHingeJoint- Returns:
- The maxTorque2 float value.
-
setMaxTorque2
public void setMaxTorque2(float val) Set the maxTorque2 field.- Specified by:
setMaxTorque2in interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-
getHinge1Angle
public float getHinge1Angle()Return the hinge1Angle float value.- Specified by:
getHinge1Anglein interfaceDoubleAxisHingeJoint- Returns:
- The hinge1Angle float value.
-
getHinge2Angle
public float getHinge2Angle()Return the hinge2Angle float value.- Specified by:
getHinge2Anglein interfaceDoubleAxisHingeJoint- Returns:
- The hinge2Angle float value.
-
getHinge1AngleRate
public float getHinge1AngleRate()Return the hinge1AngleRate float value.- Specified by:
getHinge1AngleRatein interfaceDoubleAxisHingeJoint- Returns:
- The hinge1AngleRate float value.
-
getHinge2AngleRate
public float getHinge2AngleRate()Return the hinge2AngleRate float value.- Specified by:
getHinge2AngleRatein interfaceDoubleAxisHingeJoint- Returns:
- The hinge2AngleRate float value.
-
getStopBounce1
public float getStopBounce1()Return the stopBounce1 float value.- Specified by:
getStopBounce1in interfaceDoubleAxisHingeJoint- Returns:
- The stopBounce1 float value.
-
setStopBounce1
public void setStopBounce1(float val) Set the stopBounce1 field.- Specified by:
setStopBounce1in interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-
getStopErrorCorrection1
public float getStopErrorCorrection1()Return the stopErrorCorrection1 float value.- Specified by:
getStopErrorCorrection1in interfaceDoubleAxisHingeJoint- Returns:
- The stopErrorCorrection1 float value.
-
setStopErrorCorrection1
public void setStopErrorCorrection1(float val) Set the stopErrorCorrection1 field.- Specified by:
setStopErrorCorrection1in interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-
getStopConstantForceMix1
public float getStopConstantForceMix1()Return the stopConstantForceMix1 float value.- Specified by:
getStopConstantForceMix1in interfaceDoubleAxisHingeJoint- Returns:
- The stopConstantForceMix1 float value.
-
setStopConstantForceMix1
public void setStopConstantForceMix1(float val) Set the stopConstantForceMix1 field.- Specified by:
setStopConstantForceMix1in interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-
getSuspensionForce
public float getSuspensionForce()Return the suspensionForce float value.- Specified by:
getSuspensionForcein interfaceDoubleAxisHingeJoint- Returns:
- The suspensionForce float value.
-
setSuspensionForce
public void setSuspensionForce(float val) Set the suspensionForce field.- Specified by:
setSuspensionForcein interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-
getSuspensionErrorCorrection
public float getSuspensionErrorCorrection()Return the suspensionErrorCorrection float value.- Specified by:
getSuspensionErrorCorrectionin interfaceDoubleAxisHingeJoint- Returns:
- The suspensionErrorCorrection float value.
-
setSuspensionErrorCorrection
public void setSuspensionErrorCorrection(float val) Set the suspensionErrorCorrection field.- Specified by:
setSuspensionErrorCorrectionin interfaceDoubleAxisHingeJoint- Parameters:
val- The float to set.
-