public interface MotorJoint extends X3DRigidJointNode
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoCalc()
Provide boolean value from initializeOnly SFBool field named autoCalc.
|
float |
getAxis1Angle()
Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis1Angle.
|
float |
getAxis1Torque()
Provide float value from inputOutput SFFloat field named axis1Torque.
|
float |
getAxis2Angle()
Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis2Angle.
|
float |
getAxis2Torque()
Provide float value from inputOutput SFFloat field named axis2Torque.
|
float |
getAxis3Angle()
Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis3Angle.
|
float |
getAxis3Torque()
Provide float value from inputOutput SFFloat field named axis3Torque.
|
RigidBody |
getBody1()
Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body1.
|
RigidBody |
getBody2()
Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body2.
|
int |
getEnabledAxes()
Provide int value within allowed range of [0,3] from inputOutput SFInt32 field named enabledAxes.
|
java.lang.String[] |
getForceOutput()
Provide array of String enumeration results ['"ALL"'|'"NONE"'|'"etc."'] from inputOutput MFString field named forceOutput.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getMotor1Angle()
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor1Angle.
|
float |
getMotor1AngleRate()
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor1AngleRate.
|
float[] |
getMotor1Axis()
Provide array of 3-tuple float results from inputOutput SFVec3f field named motor1Axis.
|
float |
getMotor2Angle()
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor2Angle.
|
float |
getMotor2AngleRate()
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor2AngleRate.
|
float[] |
getMotor2Axis()
Provide array of 3-tuple float results from inputOutput SFVec3f field named motor2Axis.
|
float |
getMotor3Angle()
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor3Angle.
|
float |
getMotor3AngleRate()
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor3AngleRate.
|
float[] |
getMotor3Axis()
Provide array of 3-tuple float results from inputOutput SFVec3f field named motor3Axis.
|
float |
getStop1Bounce()
Provide float value from inputOutput SFFloat field named stop1Bounce.
|
float |
getStop1ErrorCorrection()
Provide float value from inputOutput SFFloat field named stop1ErrorCorrection.
|
float |
getStop2Bounce()
Provide float value from inputOutput SFFloat field named stop2Bounce.
|
float |
getStop2ErrorCorrection()
Provide float value from inputOutput SFFloat field named stop2ErrorCorrection.
|
float |
getStop3Bounce()
Provide float value from inputOutput SFFloat field named stop3Bounce.
|
float |
getStop3ErrorCorrection()
Provide float value from inputOutput SFFloat field named stop3ErrorCorrection.
|
MotorJoint |
setAutoCalc(boolean newValue)
Assign boolean value to initializeOnly SFBool field named autoCalc.
|
MotorJoint |
setAxis1Angle(float newValue)
Assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis1Angle.
|
MotorJoint |
setAxis1Torque(float newValue)
Assign float value to inputOutput SFFloat field named axis1Torque.
|
MotorJoint |
setAxis2Angle(float newValue)
Assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis2Angle.
|
MotorJoint |
setAxis2Torque(float newValue)
Assign float value to inputOutput SFFloat field named axis2Torque.
|
MotorJoint |
setAxis3Angle(float newValue)
Assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis3Angle.
|
MotorJoint |
setAxis3Torque(float newValue)
Assign float value to inputOutput SFFloat field named axis3Torque.
|
MotorJoint |
setBody1(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
|
MotorJoint |
setBody2(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
|
MotorJoint |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
MotorJoint |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
MotorJoint |
setEnabledAxes(int newValue)
Assign int value within allowed range of [0,3] to inputOutput SFInt32 field named enabledAxes.
|
MotorJoint |
setForceOutput(java.lang.String[] newValue)
Assign String enumeration array (""ALL""|""NONE"") ['"ALL"'|'"NONE"'|'"etc."'] to inputOutput MFString field named forceOutput.
|
MotorJoint |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
MotorJoint |
setMotor1Axis(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named motor1Axis.
|
MotorJoint |
setMotor2Axis(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named motor2Axis.
|
MotorJoint |
setMotor3Axis(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named motor3Axis.
|
MotorJoint |
setStop1Bounce(float newValue)
Assign float value to inputOutput SFFloat field named stop1Bounce.
|
MotorJoint |
setStop1ErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named stop1ErrorCorrection.
|
MotorJoint |
setStop2Bounce(float newValue)
Assign float value to inputOutput SFFloat field named stop2Bounce.
|
MotorJoint |
setStop2ErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named stop2ErrorCorrection.
|
MotorJoint |
setStop3Bounce(float newValue)
Assign float value to inputOutput SFFloat field named stop3Bounce.
|
MotorJoint |
setStop3ErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named stop3ErrorCorrection.
|
MotorJoint |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
boolean getAutoCalc()
MotorJoint setAutoCalc(boolean newValue)
newValue - is new value for the autoCalc field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getAxis1Angle()
MotorJoint setAxis1Angle(float newValue)
newValue - is new value for the axis1Angle field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getAxis1Torque()
MotorJoint setAxis1Torque(float newValue)
newValue - is new value for the axis1Torque field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getAxis2Angle()
MotorJoint setAxis2Angle(float newValue)
newValue - is new value for the axis2Angle field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getAxis2Torque()
MotorJoint setAxis2Torque(float newValue)
newValue - is new value for the axis2Torque field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getAxis3Angle()
MotorJoint setAxis3Angle(float newValue)
newValue - is new value for the axis3Angle field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getAxis3Torque()
MotorJoint setAxis3Torque(float newValue)
newValue - is new value for the axis3Torque field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).RigidBody getBody1()
getBody1 in interface X3DRigidJointNodeMotorJoint setBody1(RigidBody newValue)
setBody1 in interface X3DRigidJointNodenewValue - is new value for the body1 field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).RigidBody getBody2()
getBody2 in interface X3DRigidJointNodeMotorJoint setBody2(RigidBody newValue)
setBody2 in interface X3DRigidJointNodenewValue - is new value for the body2 field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).int getEnabledAxes()
MotorJoint setEnabledAxes(int newValue)
newValue - is new value for the enabledAxes field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String[] getForceOutput()
getForceOutput in interface X3DRigidJointNodeMotorJoint setForceOutput(java.lang.String[] newValue)
setForceOutput in interface X3DRigidJointNodenewValue - is new value for the forceOutput field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DNodegetMetadata in interface X3DRigidJointNodeMotorJoint setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodesetMetadata in interface X3DRigidJointNodenewValue - is new value for the metadata field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getMotor1Angle()
float getMotor1AngleRate()
float[] getMotor1Axis()
MotorJoint setMotor1Axis(float[] newValue)
newValue - is new value for the motor1Axis field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getMotor2Angle()
float getMotor2AngleRate()
float[] getMotor2Axis()
MotorJoint setMotor2Axis(float[] newValue)
newValue - is new value for the motor2Axis field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getMotor3Angle()
float getMotor3AngleRate()
float[] getMotor3Axis()
MotorJoint setMotor3Axis(float[] newValue)
newValue - is new value for the motor3Axis field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStop1Bounce()
MotorJoint setStop1Bounce(float newValue)
newValue - is new value for the stop1Bounce field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStop1ErrorCorrection()
MotorJoint setStop1ErrorCorrection(float newValue)
newValue - is new value for the stop1ErrorCorrection field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStop2Bounce()
MotorJoint setStop2Bounce(float newValue)
newValue - is new value for the stop2Bounce field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStop2ErrorCorrection()
MotorJoint setStop2ErrorCorrection(float newValue)
newValue - is new value for the stop2ErrorCorrection field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStop3Bounce()
MotorJoint setStop3Bounce(float newValue)
newValue - is new value for the stop3Bounce field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getStop3ErrorCorrection()
MotorJoint setStop3ErrorCorrection(float newValue)
newValue - is new value for the stop3ErrorCorrection field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MotorJoint setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface X3DRigidJointNodenewValue - is new value for the DEF field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MotorJoint setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DNodesetUSE in interface X3DRigidJointNodenewValue - is new value for the USE field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MotorJoint setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface X3DRigidJointNodenewValue - is new value for the class field.MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.