Class SAISingleAxisHingeJoint
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.rigidbodyphysics.SAISingleAxisHingeJoint
- All Implemented Interfaces:
SingleAxisHingeJoint,X3DNode,X3DRigidJointNode
A concrete implementation of the SingleAxisHingeJoint 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
ConstructorsConstructorDescriptionSAISingleAxisHingeJoint(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[]floatgetAngle()Return the angle float value.floatReturn the angleRate float value.voidgetAxis(float[] val) Return the Axis value in the argument float[]getBody1()Return the body1 X3DNode value.voidgetBody1AnchorPoint(float[] val) Return the body1AnchorPoint value in the argument float[]getBody2()Return the body2 X3DNode value.voidgetBody2AnchorPoint(float[] val) Return the body2AnchorPoint value in the argument float[]voidgetForceOutput(String[] val) Return the forceOutput value in the argument String[]floatReturn the maxAngle float value.floatReturn the minAngle float value.intReturn the number of MFString items in the forceOutput field.floatReturn the stopBounce float value.floatReturn the stopErrorCorrection float value.voidsetAnchorPoint(float[] val) Set the anchorPoint field.voidsetAxis(float[] val) Set the Axis field.voidSet the body1 field.voidSet the body2 field.voidsetForceOutput(String[] val) Set the forceOutput field.voidsetMaxAngle(float val) Set the maxAngle field.voidsetMinAngle(float val) Set the minAngle field.voidsetStopBounce(float val) Set the stopBounce field.voidsetStopErrorCorrection(float val) Set the stopErrorCorrection 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
-
SAISingleAxisHingeJoint
public SAISingleAxisHingeJoint(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.
-
getAnchorPoint
public void getAnchorPoint(float[] val) Return the anchorPoint value in the argument float[]- Specified by:
getAnchorPointin interfaceSingleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
setAnchorPoint
public void setAnchorPoint(float[] val) Set the anchorPoint field.- Specified by:
setAnchorPointin interfaceSingleAxisHingeJoint- Parameters:
val- The float[] to set.
-
getBody1AnchorPoint
public void getBody1AnchorPoint(float[] val) Return the body1AnchorPoint value in the argument float[]- Specified by:
getBody1AnchorPointin interfaceSingleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
getBody2AnchorPoint
public void getBody2AnchorPoint(float[] val) Return the body2AnchorPoint value in the argument float[]- Specified by:
getBody2AnchorPointin interfaceSingleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
getAxis
public void getAxis(float[] val) Return the Axis value in the argument float[]- Specified by:
getAxisin interfaceSingleAxisHingeJoint- Parameters:
val- The float[] to initialize.
-
setAxis
public void setAxis(float[] val) Set the Axis field.- Specified by:
setAxisin interfaceSingleAxisHingeJoint- Parameters:
val- The float[] to set.
-
getMinAngle
public float getMinAngle()Return the minAngle float value.- Specified by:
getMinAnglein interfaceSingleAxisHingeJoint- Returns:
- The minAngle float value.
-
setMinAngle
public void setMinAngle(float val) Set the minAngle field.- Specified by:
setMinAnglein interfaceSingleAxisHingeJoint- Parameters:
val- The float to set.
-
getMaxAngle
public float getMaxAngle()Return the maxAngle float value.- Specified by:
getMaxAnglein interfaceSingleAxisHingeJoint- Returns:
- The maxAngle float value.
-
setMaxAngle
public void setMaxAngle(float val) Set the maxAngle field.- Specified by:
setMaxAnglein interfaceSingleAxisHingeJoint- Parameters:
val- The float to set.
-
getAngle
public float getAngle()Return the angle float value.- Specified by:
getAnglein interfaceSingleAxisHingeJoint- Returns:
- The angle float value.
-
getAngleRate
public float getAngleRate()Return the angleRate float value.- Specified by:
getAngleRatein interfaceSingleAxisHingeJoint- Returns:
- The angleRate float value.
-
getStopBounce
public float getStopBounce()Return the stopBounce float value.- Specified by:
getStopBouncein interfaceSingleAxisHingeJoint- Returns:
- The stopBounce float value.
-
setStopBounce
public void setStopBounce(float val) Set the stopBounce field.- Specified by:
setStopBouncein interfaceSingleAxisHingeJoint- Parameters:
val- The float to set.
-
getStopErrorCorrection
public float getStopErrorCorrection()Return the stopErrorCorrection float value.- Specified by:
getStopErrorCorrectionin interfaceSingleAxisHingeJoint- Returns:
- The stopErrorCorrection float value.
-
setStopErrorCorrection
public void setStopErrorCorrection(float val) Set the stopErrorCorrection field.- Specified by:
setStopErrorCorrectionin interfaceSingleAxisHingeJoint- Parameters:
val- The float to set.
-