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 TypeMethodDescriptionvoid
getAnchorPoint
(float[] val) Return the anchorPoint value in the argument float[]void
getAxis1
(float[] val) Return the axis1 value in the argument float[]void
getAxis2
(float[] val) Return the axis2 value in the argument float[]getBody1()
Return the body1 X3DNode value.void
getBody1AnchorPoint
(float[] val) Return the body1AnchorPoint value in the argument float[]void
getBody1Axis
(float[] val) Return the body1Axis value in the argument float[]getBody2()
Return the body2 X3DNode value.void
getBody2AnchorPoint
(float[] val) Return the body2AnchorPoint value in the argument float[]void
getBody2Axis
(float[] val) Return the body2Axis value in the argument float[]float
Return the desiredAngularVelocity1 float value.float
Return the desiredAngularVelocity2 float value.void
getForceOutput
(String[] val) Return the forceOutput value in the argument String[]float
Return the hinge1Angle float value.float
Return the hinge1AngleRate float value.float
Return the hinge2Angle float value.float
Return the hinge2AngleRate float value.float
Return the maxAngle1 float value.float
Return the maxTorque1 float value.float
Return the maxTorque2 float value.float
Return the minAngle1 float value.void
getMustOutput
(String[] val) Return the mustOutput value in the argument String[]int
Return the number of MFString items in the forceOutput field.int
Return the number of MFString items in the mustOutput field.float
Return the stopBounce1 float value.float
Return the stopConstantForceMix1 float value.float
Return the stopErrorCorrection1 float value.float
Return the suspensionErrorCorrection float value.float
Return the suspensionForce float value.void
setAnchorPoint
(float[] val) Set the anchorPoint field.void
setAxis1
(float[] val) Set the axis1 field.void
setAxis2
(float[] val) Set the axis2 field.void
Set the body1 field.void
Set the body2 field.void
setDesiredAngularVelocity1
(float val) Set the desiredAngularVelocity1 field.void
setDesiredAngularVelocity2
(float val) Set the desiredAngularVelocity2 field.void
setForceOutput
(String[] val) Set the forceOutput field.void
setMaxAngle1
(float val) Set the maxAngle1 field.void
setMaxTorque1
(float val) Set the maxTorque1 field.void
setMaxTorque2
(float val) Set the maxTorque2 field.void
setMinAngle1
(float val) Set the minAngle1 field.void
setMustOutput
(String[] val) Set the mustOutput field.void
setStopBounce1
(float val) Set the stopBounce1 field.void
setStopConstantForceMix1
(float val) Set the stopConstantForceMix1 field.void
setStopErrorCorrection1
(float val) Set the stopErrorCorrection1 field.void
setSuspensionErrorCorrection
(float val) Set the suspensionErrorCorrection field.void
setSuspensionForce
(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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getNumForceOutput
in interfaceX3DRigidJointNode
- Returns:
- the number of MFString items in the forceOutput field.
-
getForceOutput
Return the forceOutput value in the argument String[]- Specified by:
getForceOutput
in interfaceX3DRigidJointNode
- Parameters:
val
- The String[] to initialize.
-
setForceOutput
Set the forceOutput field.- Specified by:
setForceOutput
in interfaceX3DRigidJointNode
- Parameters:
val
- The String[] to set.
-
getBody1
Return the body1 X3DNode value.- Specified by:
getBody1
in interfaceX3DRigidJointNode
- Returns:
- The body1 X3DNode value.
-
setBody1
Set the body1 field.- Specified by:
setBody1
in interfaceX3DRigidJointNode
- Parameters:
val
- The X3DNode to set.
-
getBody2
Return the body2 X3DNode value.- Specified by:
getBody2
in interfaceX3DRigidJointNode
- Returns:
- The body2 X3DNode value.
-
setBody2
Set the body2 field.- Specified by:
setBody2
in interfaceX3DRigidJointNode
- Parameters:
val
- The X3DNode to set.
-
getNumMustOutput
public int getNumMustOutput()Return the number of MFString items in the mustOutput field.- Specified by:
getNumMustOutput
in interfaceDoubleAxisHingeJoint
- Returns:
- the number of MFString items in the mustOutput field.
-
getMustOutput
Return the mustOutput value in the argument String[]- Specified by:
getMustOutput
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The String[] to initialize.
-
setMustOutput
Set the mustOutput field.- Specified by:
setMustOutput
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The String[] to set.
-
getAnchorPoint
public void getAnchorPoint(float[] val) Return the anchorPoint value in the argument float[]- Specified by:
getAnchorPoint
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float[] to initialize.
-
setAnchorPoint
public void setAnchorPoint(float[] val) Set the anchorPoint field.- Specified by:
setAnchorPoint
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float[] to set.
-
getAxis1
public void getAxis1(float[] val) Return the axis1 value in the argument float[]- Specified by:
getAxis1
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float[] to initialize.
-
setAxis1
public void setAxis1(float[] val) Set the axis1 field.- Specified by:
setAxis1
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float[] to set.
-
getAxis2
public void getAxis2(float[] val) Return the axis2 value in the argument float[]- Specified by:
getAxis2
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float[] to initialize.
-
setAxis2
public void setAxis2(float[] val) Set the axis2 field.- Specified by:
setAxis2
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float[] to set.
-
getBody1AnchorPoint
public void getBody1AnchorPoint(float[] val) Return the body1AnchorPoint value in the argument float[]- Specified by:
getBody1AnchorPoint
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float[] to initialize.
-
getBody2AnchorPoint
public void getBody2AnchorPoint(float[] val) Return the body2AnchorPoint value in the argument float[]- Specified by:
getBody2AnchorPoint
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float[] to initialize.
-
getDesiredAngularVelocity1
public float getDesiredAngularVelocity1()Return the desiredAngularVelocity1 float value.- Specified by:
getDesiredAngularVelocity1
in interfaceDoubleAxisHingeJoint
- Returns:
- The desiredAngularVelocity1 float value.
-
setDesiredAngularVelocity1
public void setDesiredAngularVelocity1(float val) Set the desiredAngularVelocity1 field.- Specified by:
setDesiredAngularVelocity1
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-
getDesiredAngularVelocity2
public float getDesiredAngularVelocity2()Return the desiredAngularVelocity2 float value.- Specified by:
getDesiredAngularVelocity2
in interfaceDoubleAxisHingeJoint
- Returns:
- The desiredAngularVelocity2 float value.
-
setDesiredAngularVelocity2
public void setDesiredAngularVelocity2(float val) Set the desiredAngularVelocity2 field.- Specified by:
setDesiredAngularVelocity2
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-
getBody1Axis
public void getBody1Axis(float[] val) Return the body1Axis value in the argument float[]- Specified by:
getBody1Axis
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float[] to initialize.
-
getBody2Axis
public void getBody2Axis(float[] val) Return the body2Axis value in the argument float[]- Specified by:
getBody2Axis
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float[] to initialize.
-
getMinAngle1
public float getMinAngle1()Return the minAngle1 float value.- Specified by:
getMinAngle1
in interfaceDoubleAxisHingeJoint
- Returns:
- The minAngle1 float value.
-
setMinAngle1
public void setMinAngle1(float val) Set the minAngle1 field.- Specified by:
setMinAngle1
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-
getMaxAngle1
public float getMaxAngle1()Return the maxAngle1 float value.- Specified by:
getMaxAngle1
in interfaceDoubleAxisHingeJoint
- Returns:
- The maxAngle1 float value.
-
setMaxAngle1
public void setMaxAngle1(float val) Set the maxAngle1 field.- Specified by:
setMaxAngle1
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-
getMaxTorque1
public float getMaxTorque1()Return the maxTorque1 float value.- Specified by:
getMaxTorque1
in interfaceDoubleAxisHingeJoint
- Returns:
- The maxTorque1 float value.
-
setMaxTorque1
public void setMaxTorque1(float val) Set the maxTorque1 field.- Specified by:
setMaxTorque1
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-
getMaxTorque2
public float getMaxTorque2()Return the maxTorque2 float value.- Specified by:
getMaxTorque2
in interfaceDoubleAxisHingeJoint
- Returns:
- The maxTorque2 float value.
-
setMaxTorque2
public void setMaxTorque2(float val) Set the maxTorque2 field.- Specified by:
setMaxTorque2
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-
getHinge1Angle
public float getHinge1Angle()Return the hinge1Angle float value.- Specified by:
getHinge1Angle
in interfaceDoubleAxisHingeJoint
- Returns:
- The hinge1Angle float value.
-
getHinge2Angle
public float getHinge2Angle()Return the hinge2Angle float value.- Specified by:
getHinge2Angle
in interfaceDoubleAxisHingeJoint
- Returns:
- The hinge2Angle float value.
-
getHinge1AngleRate
public float getHinge1AngleRate()Return the hinge1AngleRate float value.- Specified by:
getHinge1AngleRate
in interfaceDoubleAxisHingeJoint
- Returns:
- The hinge1AngleRate float value.
-
getHinge2AngleRate
public float getHinge2AngleRate()Return the hinge2AngleRate float value.- Specified by:
getHinge2AngleRate
in interfaceDoubleAxisHingeJoint
- Returns:
- The hinge2AngleRate float value.
-
getStopBounce1
public float getStopBounce1()Return the stopBounce1 float value.- Specified by:
getStopBounce1
in interfaceDoubleAxisHingeJoint
- Returns:
- The stopBounce1 float value.
-
setStopBounce1
public void setStopBounce1(float val) Set the stopBounce1 field.- Specified by:
setStopBounce1
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-
getStopErrorCorrection1
public float getStopErrorCorrection1()Return the stopErrorCorrection1 float value.- Specified by:
getStopErrorCorrection1
in interfaceDoubleAxisHingeJoint
- Returns:
- The stopErrorCorrection1 float value.
-
setStopErrorCorrection1
public void setStopErrorCorrection1(float val) Set the stopErrorCorrection1 field.- Specified by:
setStopErrorCorrection1
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-
getStopConstantForceMix1
public float getStopConstantForceMix1()Return the stopConstantForceMix1 float value.- Specified by:
getStopConstantForceMix1
in interfaceDoubleAxisHingeJoint
- Returns:
- The stopConstantForceMix1 float value.
-
setStopConstantForceMix1
public void setStopConstantForceMix1(float val) Set the stopConstantForceMix1 field.- Specified by:
setStopConstantForceMix1
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-
getSuspensionForce
public float getSuspensionForce()Return the suspensionForce float value.- Specified by:
getSuspensionForce
in interfaceDoubleAxisHingeJoint
- Returns:
- The suspensionForce float value.
-
setSuspensionForce
public void setSuspensionForce(float val) Set the suspensionForce field.- Specified by:
setSuspensionForce
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-
getSuspensionErrorCorrection
public float getSuspensionErrorCorrection()Return the suspensionErrorCorrection float value.- Specified by:
getSuspensionErrorCorrection
in interfaceDoubleAxisHingeJoint
- Returns:
- The suspensionErrorCorrection float value.
-
setSuspensionErrorCorrection
public void setSuspensionErrorCorrection(float val) Set the suspensionErrorCorrection field.- Specified by:
setSuspensionErrorCorrection
in interfaceDoubleAxisHingeJoint
- Parameters:
val
- The float to set.
-