Interface UniversalJoint
- All Superinterfaces:
X3DNode
,X3DRigidJointNode
- All Known Implementing Classes:
SAIUniversalJoint
,SAIUniversalJoint
Defines the requirements of an X3D UniversalJoint node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
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[]void
getBody1AnchorPoint
(float[] val) Return the body1AnchorPoint value in the argument float[]void
getBody1Axis
(float[] val) Return the body1Axis value in the argument float[]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 stop1Bounce float value.float
Return the stop1ErrorCorrection float value.float
Return the stop2Bounce float value.float
Return the stop2ErrorCorrection 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
setStop1Bounce
(float val) Set the stop1Bounce field.void
setStop1ErrorCorrection
(float val) Set the stop1ErrorCorrection field.void
setStop2Bounce
(float val) Set the stop2Bounce field.void
setStop2ErrorCorrection
(float val) Set the stop2ErrorCorrection field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
Methods inherited from interface org.web3d.x3d.sai.X3DRigidJointNode
getBody1, getBody2, getForceOutput, getNumForceOutput, setBody1, setBody2, setForceOutput
-
Method Details
-
getAnchorPoint
void getAnchorPoint(float[] val) Return the anchorPoint value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setAnchorPoint
void setAnchorPoint(float[] val) Set the anchorPoint field.- Parameters:
val
- The float[] to set.
-
getAxis1
void getAxis1(float[] val) Return the axis1 value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setAxis1
void setAxis1(float[] val) Set the axis1 field.- Parameters:
val
- The float[] to set.
-
getAxis2
void getAxis2(float[] val) Return the axis2 value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setAxis2
void setAxis2(float[] val) Set the axis2 field.- Parameters:
val
- The float[] to set.
-
getBody1AnchorPoint
void getBody1AnchorPoint(float[] val) Return the body1AnchorPoint value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
getBody2AnchorPoint
void getBody2AnchorPoint(float[] val) Return the body2AnchorPoint value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
getBody1Axis
void getBody1Axis(float[] val) Return the body1Axis value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
getBody2Axis
void getBody2Axis(float[] val) Return the body2Axis value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
getStop1Bounce
float getStop1Bounce()Return the stop1Bounce float value.- Returns:
- The stop1Bounce float value.
-
setStop1Bounce
void setStop1Bounce(float val) Set the stop1Bounce field.- Parameters:
val
- The float to set.
-
getStop2Bounce
float getStop2Bounce()Return the stop2Bounce float value.- Returns:
- The stop2Bounce float value.
-
setStop2Bounce
void setStop2Bounce(float val) Set the stop2Bounce field.- Parameters:
val
- The float to set.
-
getStop1ErrorCorrection
float getStop1ErrorCorrection()Return the stop1ErrorCorrection float value.- Returns:
- The stop1ErrorCorrection float value.
-
setStop1ErrorCorrection
void setStop1ErrorCorrection(float val) Set the stop1ErrorCorrection field.- Parameters:
val
- The float to set.
-
getStop2ErrorCorrection
float getStop2ErrorCorrection()Return the stop2ErrorCorrection float value.- Returns:
- The stop2ErrorCorrection float value.
-
setStop2ErrorCorrection
void setStop2ErrorCorrection(float val) Set the stop2ErrorCorrection field.- Parameters:
val
- The float to set.
-