Interface MotorJoint
- All Superinterfaces:
X3DNode,X3DRigidJointNode
- All Known Implementing Classes:
SAIMotorJoint,SAIMotorJoint
Defines the requirements of an X3D MotorJoint node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the autoCalc boolean value.floatReturn the axis1Angle float value.floatReturn the axis1Torque float value.floatReturn the axis2Angle float value.floatReturn the axis2Torque float value.floatReturn the axis3Angle float value.floatReturn the axis3Torque float value.intReturn the enabledAxes int value.floatReturn the motor1Angle float value.floatReturn the motor1AngleRate float value.voidgetMotor1Axis(float[] val) Return the motor1Axis value in the argument float[]floatReturn the motor2Angle float value.floatReturn the motor2AngleRate float value.voidgetMotor2Axis(float[] val) Return the motor2Axis value in the argument float[]floatReturn the motor3Angle float value.floatReturn the motor3AngleRate float value.voidgetMotor3Axis(float[] val) Return the motor3Axis value in the argument float[]floatReturn the stop1Bounce float value.floatReturn the stop1ErrorCorrection float value.floatReturn the stop2Bounce float value.floatReturn the stop2ErrorCorrection float value.floatReturn the stop3Bounce float value.floatReturn the stop3ErrorCorrection float value.voidsetAutoCalc(boolean val) Set the autoCalc field.voidsetAxis1Angle(float val) Set the axis1Angle field.voidsetAxis1Torque(float val) Set the axis1Torque field.voidsetAxis2Angle(float val) Set the axis2Angle field.voidsetAxis2Torque(float val) Set the axis2Torque field.voidsetAxis3Angle(float val) Set the axis3Angle field.voidsetAxis3Torque(float val) Set the axis3Torque field.voidsetEnabledAxes(int val) Set the enabledAxes field.voidsetMotor1Axis(float[] val) Set the motor1Axis field.voidsetMotor2Axis(float[] val) Set the motor2Axis field.voidsetMotor3Axis(float[] val) Set the motor3Axis field.voidsetStop1Bounce(float val) Set the stop1Bounce field.voidsetStop1ErrorCorrection(float val) Set the stop1ErrorCorrection field.voidsetStop2Bounce(float val) Set the stop2Bounce field.voidsetStop2ErrorCorrection(float val) Set the stop2ErrorCorrection field.voidsetStop3Bounce(float val) Set the stop3Bounce field.voidsetStop3ErrorCorrection(float val) Set the stop3ErrorCorrection field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadataMethods inherited from interface org.web3d.x3d.sai.X3DRigidJointNode
getBody1, getBody2, getForceOutput, getNumForceOutput, setBody1, setBody2, setForceOutput
-
Method Details
-
getAutoCalc
boolean getAutoCalc()Return the autoCalc boolean value.- Returns:
- The autoCalc boolean value.
-
setAutoCalc
void setAutoCalc(boolean val) Set the autoCalc field.- Parameters:
val- The boolean to set.
-
getMotor1Axis
void getMotor1Axis(float[] val) Return the motor1Axis value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setMotor1Axis
void setMotor1Axis(float[] val) Set the motor1Axis field.- Parameters:
val- The float[] to set.
-
getMotor2Axis
void getMotor2Axis(float[] val) Return the motor2Axis value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setMotor2Axis
void setMotor2Axis(float[] val) Set the motor2Axis field.- Parameters:
val- The float[] to set.
-
getMotor3Axis
void getMotor3Axis(float[] val) Return the motor3Axis value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setMotor3Axis
void setMotor3Axis(float[] val) Set the motor3Axis field.- Parameters:
val- The float[] to set.
-
getAxis1Angle
float getAxis1Angle()Return the axis1Angle float value.- Returns:
- The axis1Angle float value.
-
setAxis1Angle
void setAxis1Angle(float val) Set the axis1Angle field.- Parameters:
val- The float to set.
-
getAxis2Angle
float getAxis2Angle()Return the axis2Angle float value.- Returns:
- The axis2Angle float value.
-
setAxis2Angle
void setAxis2Angle(float val) Set the axis2Angle field.- Parameters:
val- The float to set.
-
getAxis3Angle
float getAxis3Angle()Return the axis3Angle float value.- Returns:
- The axis3Angle float value.
-
setAxis3Angle
void setAxis3Angle(float val) Set the axis3Angle field.- Parameters:
val- The float to set.
-
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.
-
getStop3Bounce
float getStop3Bounce()Return the stop3Bounce float value.- Returns:
- The stop3Bounce float value.
-
setStop3Bounce
void setStop3Bounce(float val) Set the stop3Bounce field.- Parameters:
val- The float to set.
-
getAxis1Torque
float getAxis1Torque()Return the axis1Torque float value.- Returns:
- The axis1Torque float value.
-
setAxis1Torque
void setAxis1Torque(float val) Set the axis1Torque field.- Parameters:
val- The float to set.
-
getAxis2Torque
float getAxis2Torque()Return the axis2Torque float value.- Returns:
- The axis2Torque float value.
-
setAxis2Torque
void setAxis2Torque(float val) Set the axis2Torque field.- Parameters:
val- The float to set.
-
getAxis3Torque
float getAxis3Torque()Return the axis3Torque float value.- Returns:
- The axis3Torque float value.
-
setAxis3Torque
void setAxis3Torque(float val) Set the axis3Torque field.- Parameters:
val- The float to set.
-
getMotor1Angle
float getMotor1Angle()Return the motor1Angle float value.- Returns:
- The motor1Angle float value.
-
getMotor2Angle
float getMotor2Angle()Return the motor2Angle float value.- Returns:
- The motor2Angle float value.
-
getMotor3Angle
float getMotor3Angle()Return the motor3Angle float value.- Returns:
- The motor3Angle float value.
-
getMotor1AngleRate
float getMotor1AngleRate()Return the motor1AngleRate float value.- Returns:
- The motor1AngleRate float value.
-
getMotor2AngleRate
float getMotor2AngleRate()Return the motor2AngleRate float value.- Returns:
- The motor2AngleRate float value.
-
getMotor3AngleRate
float getMotor3AngleRate()Return the motor3AngleRate float value.- Returns:
- The motor3AngleRate float value.
-
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.
-
getStop3ErrorCorrection
float getStop3ErrorCorrection()Return the stop3ErrorCorrection float value.- Returns:
- The stop3ErrorCorrection float value.
-
setStop3ErrorCorrection
void setStop3ErrorCorrection(float val) Set the stop3ErrorCorrection field.- Parameters:
val- The float to set.
-
getEnabledAxes
int getEnabledAxes()Return the enabledAxes int value.- Returns:
- The enabledAxes int value.
-
setEnabledAxes
void setEnabledAxes(int val) Set the enabledAxes field.- Parameters:
val- The int to set.
-