public class MotorJointObject extends X3DConcreteNode implements MotorJoint
| Modifier and Type | Field and Description |
|---|---|
static boolean |
AUTOCALC_DEFAULT_VALUE
SFBool field named autoCalc has default value false (Java syntax) or false (XML syntax).
|
static float |
AXIS1ANGLE_DEFAULT_VALUE
SFFloat field named axis1Angle has default value 0f (Java syntax) or 0 (XML syntax).
|
static float |
AXIS1TORQUE_DEFAULT_VALUE
SFFloat field named axis1Torque has default value 0f (Java syntax) or 0 (XML syntax).
|
static float |
AXIS2ANGLE_DEFAULT_VALUE
SFFloat field named axis2Angle has default value 0f (Java syntax) or 0 (XML syntax).
|
static float |
AXIS2TORQUE_DEFAULT_VALUE
SFFloat field named axis2Torque has default value 0f (Java syntax) or 0 (XML syntax).
|
static float |
AXIS3ANGLE_DEFAULT_VALUE
SFFloat field named axis3Angle has default value 0f (Java syntax) or 0 (XML syntax).
|
static float |
AXIS3TORQUE_DEFAULT_VALUE
SFFloat field named axis3Torque has default value 0f (Java syntax) or 0 (XML syntax).
|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the MotorJoint element: RigidBodyPhysics
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
static int |
ENABLEDAXES_DEFAULT_VALUE
SFInt32 field named enabledAxes has default value 1 (Java syntax) or 1 (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
FORCEOUTPUT_ALL
MFString field named forceOutput is an array that can include this quoted enumeration value new String[] {"ALL"} (Java syntax) or '"ALL"' (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
FORCEOUTPUT_DEFAULT_VALUE
MFString field named forceOutput has default quoted value new String[] {"NONE"} (Java syntax) or quoted value "NONE" (XML syntax).
|
static java.util.ArrayList<java.lang.String> |
FORCEOUTPUT_NONE
MFString field named forceOutput is an array that can include this quoted enumeration value new String[] {"NONE"} (Java syntax) or '"NONE"' (XML syntax).
|
static java.lang.String |
fromField_AXIS1ANGLE
fromField ROUTE name for SFFloat field named axis1Angle.
|
static java.lang.String |
fromField_AXIS1TORQUE
fromField ROUTE name for SFFloat field named axis1Torque.
|
static java.lang.String |
fromField_AXIS2ANGLE
fromField ROUTE name for SFFloat field named axis2Angle.
|
static java.lang.String |
fromField_AXIS2TORQUE
fromField ROUTE name for SFFloat field named axis2Torque.
|
static java.lang.String |
fromField_AXIS3ANGLE
fromField ROUTE name for SFFloat field named axis3Angle.
|
static java.lang.String |
fromField_AXIS3TORQUE
fromField ROUTE name for SFFloat field named axis3Torque.
|
static java.lang.String |
fromField_BODY1
fromField ROUTE name for SFNode field named body1.
|
static java.lang.String |
fromField_BODY2
fromField ROUTE name for SFNode field named body2.
|
static java.lang.String |
fromField_ENABLEDAXES
fromField ROUTE name for SFInt32 field named enabledAxes.
|
static java.lang.String |
fromField_FORCEOUTPUT
fromField ROUTE name for MFString field named forceOutput.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_MOTOR1ANGLE
fromField ROUTE name for SFFloat field named motor1Angle.
|
static java.lang.String |
fromField_MOTOR1ANGLERATE
fromField ROUTE name for SFFloat field named motor1AngleRate.
|
static java.lang.String |
fromField_MOTOR1AXIS
fromField ROUTE name for SFVec3f field named motor1Axis.
|
static java.lang.String |
fromField_MOTOR2ANGLE
fromField ROUTE name for SFFloat field named motor2Angle.
|
static java.lang.String |
fromField_MOTOR2ANGLERATE
fromField ROUTE name for SFFloat field named motor2AngleRate.
|
static java.lang.String |
fromField_MOTOR2AXIS
fromField ROUTE name for SFVec3f field named motor2Axis.
|
static java.lang.String |
fromField_MOTOR3ANGLE
fromField ROUTE name for SFFloat field named motor3Angle.
|
static java.lang.String |
fromField_MOTOR3ANGLERATE
fromField ROUTE name for SFFloat field named motor3AngleRate.
|
static java.lang.String |
fromField_MOTOR3AXIS
fromField ROUTE name for SFVec3f field named motor3Axis.
|
static java.lang.String |
fromField_STOP1BOUNCE
fromField ROUTE name for SFFloat field named stop1Bounce.
|
static java.lang.String |
fromField_STOP1ERRORCORRECTION
fromField ROUTE name for SFFloat field named stop1ErrorCorrection.
|
static java.lang.String |
fromField_STOP2BOUNCE
fromField ROUTE name for SFFloat field named stop2Bounce.
|
static java.lang.String |
fromField_STOP2ERRORCORRECTION
fromField ROUTE name for SFFloat field named stop2ErrorCorrection.
|
static java.lang.String |
fromField_STOP3BOUNCE
fromField ROUTE name for SFFloat field named stop3Bounce.
|
static java.lang.String |
fromField_STOP3ERRORCORRECTION
fromField ROUTE name for SFFloat field named stop3ErrorCorrection.
|
static int |
LEVEL
Integer constant LEVEL provides default X3D RigidBodyPhysics component level for this element: 2
|
static float[] |
MOTOR1AXIS_DEFAULT_VALUE
SFVec3f field named motor1Axis has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
|
static float[] |
MOTOR2AXIS_DEFAULT_VALUE
SFVec3f field named motor2Axis has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
|
static float[] |
MOTOR3AXIS_DEFAULT_VALUE
SFVec3f field named motor3Axis has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
|
static java.lang.String |
NAME
String constant NAME provides name of this element: MotorJoint.
|
static float |
STOP1BOUNCE_DEFAULT_VALUE
SFFloat field named stop1Bounce has default value 0f (Java syntax) or 0 (XML syntax).
|
static float |
STOP1ERRORCORRECTION_DEFAULT_VALUE
SFFloat field named stop1ErrorCorrection has default value 0.8f (Java syntax) or 0.8 (XML syntax).
|
static float |
STOP2BOUNCE_DEFAULT_VALUE
SFFloat field named stop2Bounce has default value 0f (Java syntax) or 0 (XML syntax).
|
static float |
STOP2ERRORCORRECTION_DEFAULT_VALUE
SFFloat field named stop2ErrorCorrection has default value 0.8f (Java syntax) or 0.8 (XML syntax).
|
static float |
STOP3BOUNCE_DEFAULT_VALUE
SFFloat field named stop3Bounce has default value 0f (Java syntax) or 0 (XML syntax).
|
static float |
STOP3ERRORCORRECTION_DEFAULT_VALUE
SFFloat field named stop3ErrorCorrection has default value 0.8f (Java syntax) or 0.8 (XML syntax).
|
static java.lang.String |
toField_AXIS1ANGLE
toField ROUTE name for SFFloat field named axis1Angle.
|
static java.lang.String |
toField_AXIS1TORQUE
toField ROUTE name for SFFloat field named axis1Torque.
|
static java.lang.String |
toField_AXIS2ANGLE
toField ROUTE name for SFFloat field named axis2Angle.
|
static java.lang.String |
toField_AXIS2TORQUE
toField ROUTE name for SFFloat field named axis2Torque.
|
static java.lang.String |
toField_AXIS3ANGLE
toField ROUTE name for SFFloat field named axis3Angle.
|
static java.lang.String |
toField_AXIS3TORQUE
toField ROUTE name for SFFloat field named axis3Torque.
|
static java.lang.String |
toField_BODY1
toField ROUTE name for SFNode field named body1.
|
static java.lang.String |
toField_BODY2
toField ROUTE name for SFNode field named body2.
|
static java.lang.String |
toField_ENABLEDAXES
toField ROUTE name for SFInt32 field named enabledAxes.
|
static java.lang.String |
toField_FORCEOUTPUT
toField ROUTE name for MFString field named forceOutput.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_MOTOR1AXIS
toField ROUTE name for SFVec3f field named motor1Axis.
|
static java.lang.String |
toField_MOTOR2AXIS
toField ROUTE name for SFVec3f field named motor2Axis.
|
static java.lang.String |
toField_MOTOR3AXIS
toField ROUTE name for SFVec3f field named motor3Axis.
|
static java.lang.String |
toField_STOP1BOUNCE
toField ROUTE name for SFFloat field named stop1Bounce.
|
static java.lang.String |
toField_STOP1ERRORCORRECTION
toField ROUTE name for SFFloat field named stop1ErrorCorrection.
|
static java.lang.String |
toField_STOP2BOUNCE
toField ROUTE name for SFFloat field named stop2Bounce.
|
static java.lang.String |
toField_STOP2ERRORCORRECTION
toField ROUTE name for SFFloat field named stop2ErrorCorrection.
|
static java.lang.String |
toField_STOP3BOUNCE
toField ROUTE name for SFFloat field named stop3Bounce.
|
static java.lang.String |
toField_STOP3ERRORCORRECTION
toField ROUTE name for SFFloat field named stop3ErrorCorrection.
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
MotorJointObject()
Constructor for MotorJointObject to initialize member variables with default values.
|
MotorJointObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
MotorJointObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
MotorJointObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
MotorJointObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
MotorJointObject |
addForceOutput(SFStringObject newValue)
Add singleton SFStringObject value to MFString forceOutput field.
|
MotorJointObject |
addForceOutput(java.lang.String newValue)
Add singleton String value to MFString forceOutput field.
|
MotorJointObject |
clearBody1()
Utility method to clear SFNode value of body1 field.
|
MotorJointObject |
clearBody2()
Utility method to clear SFNode value of body2 field.
|
MotorJointObject |
clearForceOutput()
Utility method to clear MFString value of forceOutput field.
|
MotorJointObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue)
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
|
X3DConcreteNode |
findNodeByDEF(java.lang.String DEFvalue)
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
|
java.lang.String |
getAccessType(java.lang.String fieldName)
Indicate accessType corresponding to given fieldName.
|
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.
|
java.lang.String |
getComponent()
Defines X3D component for the MotorJoint element: RigidBodyPhysics
|
int |
getComponentLevel()
Provides default X3D component level for this element: 2
|
java.lang.String |
getContainerFieldDefault()
containerField describes typical field relationship of a node to its parent.
|
java.lang.String |
getElementName()
Provides name of this element: MotorJoint
|
int |
getEnabledAxes()
Provide int value within allowed range of [0,3] from inputOutput SFInt32 field named enabledAxes.
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
java.lang.String[] |
getForceOutput()
Provide array of String enumeration results ['"ALL"'|'"NONE"'|'"etc."'] from inputOutput MFString field named forceOutput.
|
java.util.ArrayList<java.lang.String> |
getForceOutputList()
Utility method to get ArrayList value of MFString forceOutput field, similar to
getForceOutput(). |
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
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.
|
boolean |
hasBody1()
Indicate whether an object is available for inputOutput SFNode field body1.
|
boolean |
hasBody2()
Indicate whether an object is available for inputOutput SFNode field body2.
|
boolean |
hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.
|
boolean |
hasMetadata()
Indicate whether an object is available for inputOutput SFNode field metadata.
|
boolean |
hasNodeByDEF(java.lang.String DEFvalue)
Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.
|
void |
initialize()
Initialize all member variables to default values.
|
MotorJointObject |
setAutoCalc(boolean newValue)
Assign boolean value to initializeOnly SFBool field named autoCalc.
|
MotorJointObject |
setAutoCalc(SFBoolObject newValue)
Assign typed object value to SFBool autoCalc field, similar to
setAutoCalc(boolean). |
MotorJointObject |
setAxis1Angle(float newValue)
Assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis1Angle.
|
MotorJointObject |
setAxis1Angle(SFFloatObject newValue)
Assign typed object value to SFFloat axis1Angle field, similar to
setAxis1Angle(float). |
MotorJointObject |
setAxis1Torque(float newValue)
Assign float value to inputOutput SFFloat field named axis1Torque.
|
MotorJointObject |
setAxis1Torque(SFFloatObject newValue)
Assign typed object value to SFFloat axis1Torque field, similar to
setAxis1Torque(float). |
MotorJointObject |
setAxis2Angle(float newValue)
Assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis2Angle.
|
MotorJointObject |
setAxis2Angle(SFFloatObject newValue)
Assign typed object value to SFFloat axis2Angle field, similar to
setAxis2Angle(float). |
MotorJointObject |
setAxis2Torque(float newValue)
Assign float value to inputOutput SFFloat field named axis2Torque.
|
MotorJointObject |
setAxis2Torque(SFFloatObject newValue)
Assign typed object value to SFFloat axis2Torque field, similar to
setAxis2Torque(float). |
MotorJointObject |
setAxis3Angle(float newValue)
Assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis3Angle.
|
MotorJointObject |
setAxis3Angle(SFFloatObject newValue)
Assign typed object value to SFFloat axis3Angle field, similar to
setAxis3Angle(float). |
MotorJointObject |
setAxis3Torque(float newValue)
Assign float value to inputOutput SFFloat field named axis3Torque.
|
MotorJointObject |
setAxis3Torque(SFFloatObject newValue)
Assign typed object value to SFFloat axis3Torque field, similar to
setAxis3Torque(float). |
MotorJointObject |
setBody1(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field body1.
|
MotorJointObject |
setBody1(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
|
MotorJointObject |
setBody2(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field body2.
|
MotorJointObject |
setBody2(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
|
MotorJointObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
MotorJointObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
MotorJointObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
MotorJointObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
MotorJointObject |
setEnabledAxes(int newValue)
Assign int value within allowed range of [0,3] to inputOutput SFInt32 field named enabledAxes.
|
MotorJointObject |
setEnabledAxes(SFInt32Object newValue)
Assign typed object value to SFInt32 enabledAxes field, similar to
setEnabledAxes(int). |
MotorJointObject |
setForceOutput(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString forceOutput field, similar to
setForceOutput(String[]). |
MotorJointObject |
setForceOutput(MFStringObject newValue)
Assign typed object value to MFString forceOutput field, similar to
setForceOutput(String[]). |
MotorJointObject |
setForceOutput(SFStringObject newValue)
Assign single SFString object value to MFString forceOutput field, similar to
setForceOutput(String[]). |
MotorJointObject |
setForceOutput(java.lang.String newValue)
Assign singleton String value to MFString forceOutput field, similar to
setForceOutput(String[]). |
MotorJointObject |
setForceOutput(java.lang.String[] newValue)
Assign String enumeration array (""ALL""|""NONE"") ['"ALL"'|'"NONE"'|'"etc."'] to inputOutput MFString field named forceOutput.
|
MotorJointObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
MotorJointObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
MotorJointObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
MotorJointObject |
setMotor1Axis(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named motor1Axis.
|
MotorJointObject |
setMotor1Axis(float x,
float y,
float z)
Assign values to SFVec3f motor1Axis field, similar to
setMotor1Axis(float[]). |
MotorJointObject |
setMotor1Axis(SFVec3fObject newValue)
Assign typed object value to SFVec3f motor1Axis field, similar to
setMotor1Axis(float[]). |
MotorJointObject |
setMotor2Axis(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named motor2Axis.
|
MotorJointObject |
setMotor2Axis(float x,
float y,
float z)
Assign values to SFVec3f motor2Axis field, similar to
setMotor2Axis(float[]). |
MotorJointObject |
setMotor2Axis(SFVec3fObject newValue)
Assign typed object value to SFVec3f motor2Axis field, similar to
setMotor2Axis(float[]). |
MotorJointObject |
setMotor3Axis(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named motor3Axis.
|
MotorJointObject |
setMotor3Axis(float x,
float y,
float z)
Assign values to SFVec3f motor3Axis field, similar to
setMotor3Axis(float[]). |
MotorJointObject |
setMotor3Axis(SFVec3fObject newValue)
Assign typed object value to SFVec3f motor3Axis field, similar to
setMotor3Axis(float[]). |
MotorJointObject |
setStop1Bounce(float newValue)
Assign float value to inputOutput SFFloat field named stop1Bounce.
|
MotorJointObject |
setStop1Bounce(SFFloatObject newValue)
Assign typed object value to SFFloat stop1Bounce field, similar to
setStop1Bounce(float). |
MotorJointObject |
setStop1ErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named stop1ErrorCorrection.
|
MotorJointObject |
setStop1ErrorCorrection(SFFloatObject newValue)
Assign typed object value to SFFloat stop1ErrorCorrection field, similar to
setStop1ErrorCorrection(float). |
MotorJointObject |
setStop2Bounce(float newValue)
Assign float value to inputOutput SFFloat field named stop2Bounce.
|
MotorJointObject |
setStop2Bounce(SFFloatObject newValue)
Assign typed object value to SFFloat stop2Bounce field, similar to
setStop2Bounce(float). |
MotorJointObject |
setStop2ErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named stop2ErrorCorrection.
|
MotorJointObject |
setStop2ErrorCorrection(SFFloatObject newValue)
Assign typed object value to SFFloat stop2ErrorCorrection field, similar to
setStop2ErrorCorrection(float). |
MotorJointObject |
setStop3Bounce(float newValue)
Assign float value to inputOutput SFFloat field named stop3Bounce.
|
MotorJointObject |
setStop3Bounce(SFFloatObject newValue)
Assign typed object value to SFFloat stop3Bounce field, similar to
setStop3Bounce(float). |
MotorJointObject |
setStop3ErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named stop3ErrorCorrection.
|
MotorJointObject |
setStop3ErrorCorrection(SFFloatObject newValue)
Assign typed object value to SFFloat stop3ErrorCorrection field, similar to
setStop3ErrorCorrection(float). |
MotorJointObject |
setUSE(MotorJointObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
MotorJointObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
MotorJointObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
java.lang.String |
toStringClassicVRML(int indentLevel)
Recursive method to provide ClassicVRML string serialization.
|
java.lang.String |
toStringVRML97(int indentLevel)
Recursive method to provide VRML97 string serialization.
|
java.lang.String |
toStringX3D(int indentLevel)
Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
|
java.lang.String |
validate()
Recursive method to validate this element plus all contained nodes and statements,
using both datatype-specification value checks and regular expression (regex) checking of corresponding string values.
|
getContainerFieldAlternateValues, getContainerFieldOverride, getCssClass, getDEF, getUSE, isNode, isStatement, isUSE, resetContainerFieldOverride, setConcreteCssClass, setConcreteDEF, setConcreteUSE, setContainerFieldOverrideclearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3Dpublic static final java.util.ArrayList<java.lang.String> FORCEOUTPUT_ALL
public static final java.util.ArrayList<java.lang.String> FORCEOUTPUT_NONE
public static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final boolean AUTOCALC_DEFAULT_VALUE
public static final float AXIS1ANGLE_DEFAULT_VALUE
public static final float AXIS1TORQUE_DEFAULT_VALUE
public static final float AXIS2ANGLE_DEFAULT_VALUE
public static final float AXIS2TORQUE_DEFAULT_VALUE
public static final float AXIS3ANGLE_DEFAULT_VALUE
public static final float AXIS3TORQUE_DEFAULT_VALUE
public static final int ENABLEDAXES_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> FORCEOUTPUT_DEFAULT_VALUE
public static final float[] MOTOR1AXIS_DEFAULT_VALUE
public static final float[] MOTOR2AXIS_DEFAULT_VALUE
public static final float[] MOTOR3AXIS_DEFAULT_VALUE
public static final float STOP1BOUNCE_DEFAULT_VALUE
public static final float STOP1ERRORCORRECTION_DEFAULT_VALUE
public static final float STOP2BOUNCE_DEFAULT_VALUE
public static final float STOP2ERRORCORRECTION_DEFAULT_VALUE
public static final float STOP3BOUNCE_DEFAULT_VALUE
public static final float STOP3ERRORCORRECTION_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_AXIS1ANGLE
public static final java.lang.String toField_AXIS1ANGLE
public static final java.lang.String fromField_AXIS1TORQUE
public static final java.lang.String toField_AXIS1TORQUE
public static final java.lang.String fromField_AXIS2ANGLE
public static final java.lang.String toField_AXIS2ANGLE
public static final java.lang.String fromField_AXIS2TORQUE
public static final java.lang.String toField_AXIS2TORQUE
public static final java.lang.String fromField_AXIS3ANGLE
public static final java.lang.String toField_AXIS3ANGLE
public static final java.lang.String fromField_AXIS3TORQUE
public static final java.lang.String toField_AXIS3TORQUE
public static final java.lang.String fromField_BODY1
public static final java.lang.String toField_BODY1
public static final java.lang.String fromField_BODY2
public static final java.lang.String toField_BODY2
public static final java.lang.String fromField_ENABLEDAXES
public static final java.lang.String toField_ENABLEDAXES
public static final java.lang.String fromField_FORCEOUTPUT
public static final java.lang.String toField_FORCEOUTPUT
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_MOTOR1ANGLE
public static final java.lang.String fromField_MOTOR1ANGLERATE
public static final java.lang.String fromField_MOTOR1AXIS
public static final java.lang.String toField_MOTOR1AXIS
public static final java.lang.String fromField_MOTOR2ANGLE
public static final java.lang.String fromField_MOTOR2ANGLERATE
public static final java.lang.String fromField_MOTOR2AXIS
public static final java.lang.String toField_MOTOR2AXIS
public static final java.lang.String fromField_MOTOR3ANGLE
public static final java.lang.String fromField_MOTOR3ANGLERATE
public static final java.lang.String fromField_MOTOR3AXIS
public static final java.lang.String toField_MOTOR3AXIS
public static final java.lang.String fromField_STOP1BOUNCE
public static final java.lang.String toField_STOP1BOUNCE
public static final java.lang.String fromField_STOP1ERRORCORRECTION
public static final java.lang.String toField_STOP1ERRORCORRECTION
public static final java.lang.String fromField_STOP2BOUNCE
public static final java.lang.String toField_STOP2BOUNCE
public static final java.lang.String fromField_STOP2ERRORCORRECTION
public static final java.lang.String toField_STOP2ERRORCORRECTION
public static final java.lang.String fromField_STOP3BOUNCE
public static final java.lang.String toField_STOP3BOUNCE
public static final java.lang.String fromField_STOP3ERRORCORRECTION
public static final java.lang.String toField_STOP3ERRORCORRECTION
public MotorJointObject()
public MotorJointObject(java.lang.String DEFlabel)
DEFlabel - unique DEF name for this X3D nodepublic final java.lang.String getElementName()
getElementName in class X3DConcreteElementpublic final java.lang.String getComponent()
getComponent in class X3DConcreteElementpublic final int getComponentLevel()
getComponentLevel in class X3DConcreteElementpublic java.lang.String getFieldType(java.lang.String fieldName)
getFieldType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPEpublic java.lang.String getAccessType(java.lang.String fieldName)
getAccessType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPEpublic final java.lang.String getContainerFieldDefault()
getContainerFieldDefault in class X3DConcreteNodepublic final void initialize()
initialize in class X3DConcreteNodepublic boolean getAutoCalc()
getAutoCalc in interface MotorJointpublic MotorJointObject setAutoCalc(boolean newValue)
setAutoCalc in interface MotorJointnewValue - is new value for the autoCalc field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setAutoCalc(SFBoolObject newValue)
setAutoCalc(boolean).newValue - is new value for the autoCalc field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getAxis1Angle()
getAxis1Angle in interface MotorJointpublic MotorJointObject setAxis1Angle(float newValue)
setAxis1Angle in interface MotorJointnewValue - is new value for the axis1Angle field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setAxis1Angle(SFFloatObject newValue)
setAxis1Angle(float).newValue - is new value for the axis1Angle field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getAxis1Torque()
getAxis1Torque in interface MotorJointpublic MotorJointObject setAxis1Torque(float newValue)
setAxis1Torque in interface MotorJointnewValue - is new value for the axis1Torque field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setAxis1Torque(SFFloatObject newValue)
setAxis1Torque(float).newValue - is new value for the axis1Torque field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getAxis2Angle()
getAxis2Angle in interface MotorJointpublic MotorJointObject setAxis2Angle(float newValue)
setAxis2Angle in interface MotorJointnewValue - is new value for the axis2Angle field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setAxis2Angle(SFFloatObject newValue)
setAxis2Angle(float).newValue - is new value for the axis2Angle field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getAxis2Torque()
getAxis2Torque in interface MotorJointpublic MotorJointObject setAxis2Torque(float newValue)
setAxis2Torque in interface MotorJointnewValue - is new value for the axis2Torque field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setAxis2Torque(SFFloatObject newValue)
setAxis2Torque(float).newValue - is new value for the axis2Torque field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getAxis3Angle()
getAxis3Angle in interface MotorJointpublic MotorJointObject setAxis3Angle(float newValue)
setAxis3Angle in interface MotorJointnewValue - is new value for the axis3Angle field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setAxis3Angle(SFFloatObject newValue)
setAxis3Angle(float).newValue - is new value for the axis3Angle field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getAxis3Torque()
getAxis3Torque in interface MotorJointpublic MotorJointObject setAxis3Torque(float newValue)
setAxis3Torque in interface MotorJointnewValue - is new value for the axis3Torque field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setAxis3Torque(SFFloatObject newValue)
setAxis3Torque(float).newValue - is new value for the axis3Torque field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBody getBody1()
getBody1 in interface MotorJointgetBody1 in interface X3DRigidJointNodegetBody1ProtoInstance()public MotorJointObject setBody1(RigidBody newValue)
setBody1 in interface MotorJointsetBody1 in interface X3DRigidJointNodenewValue - is new value for the body1 field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setBody1(ProtoInstanceObject)public MotorJointObject clearBody1()
MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public MotorJointObject setBody1(ProtoInstanceObject newValue)
newValue - is new value for the body1 field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setBody1(RigidBody)public boolean hasBody1()
getBody1(),
getBody1ProtoInstance()public RigidBody getBody2()
getBody2 in interface MotorJointgetBody2 in interface X3DRigidJointNodegetBody2ProtoInstance()public MotorJointObject setBody2(RigidBody newValue)
setBody2 in interface MotorJointsetBody2 in interface X3DRigidJointNodenewValue - is new value for the body2 field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setBody2(ProtoInstanceObject)public MotorJointObject clearBody2()
MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public MotorJointObject setBody2(ProtoInstanceObject newValue)
newValue - is new value for the body2 field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setBody2(RigidBody)public boolean hasBody2()
getBody2(),
getBody2ProtoInstance()public int getEnabledAxes()
getEnabledAxes in interface MotorJointpublic MotorJointObject setEnabledAxes(int newValue)
setEnabledAxes in interface MotorJointnewValue - is new value for the enabledAxes field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setEnabledAxes(SFInt32Object newValue)
setEnabledAxes(int).newValue - is new value for the enabledAxes field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String[] getForceOutput()
ALL, NONE.getForceOutput in interface MotorJointgetForceOutput in interface X3DRigidJointNodepublic java.util.ArrayList<java.lang.String> getForceOutputList()
getForceOutput().public MotorJointObject setForceOutput(java.lang.String[] newValue)
ALL, NONE).
setForceOutput in interface MotorJointsetForceOutput in interface X3DRigidJointNodenewValue - is new value for the forceOutput field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setForceOutput(MFStringObject newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setForceOutput(SFStringObject newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public MotorJointObject setForceOutput(java.lang.String newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public MotorJointObject setForceOutput(java.util.ArrayList<java.lang.String> newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject clearForceOutput()
MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public MotorJointObject addForceOutput(java.lang.String newValue)
newValue - is new value to add to the forceOutput field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public MotorJointObject addForceOutput(SFStringObject newValue)
newValue - is new value to add to the forceOutput field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public X3DMetadataObject getMetadata()
getMetadata in interface X3DNodegetMetadata in interface MotorJointgetMetadata in interface X3DRigidJointNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic MotorJointObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodesetMetadata in interface MotorJointsetMetadata in interface X3DRigidJointNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(ProtoInstanceObject),
X3D Scene Authoring Hints: Metadata Nodespublic MotorJointObject clearMetadata()
MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public MotorJointObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(X3DMetadataObject)public boolean hasMetadata()
getMetadata(),
getMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic float getMotor1Angle()
getMotor1Angle in interface MotorJointpublic float getMotor1AngleRate()
getMotor1AngleRate in interface MotorJointpublic float[] getMotor1Axis()
getMotor1Axis in interface MotorJointpublic MotorJointObject setMotor1Axis(float[] newValue)
setMotor1Axis in interface MotorJointnewValue - is new value for the motor1Axis field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setMotor1Axis(SFVec3fObject newValue)
setMotor1Axis(float[]).newValue - is new value for the motor1Axis field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setMotor1Axis(float x, float y, float z)
setMotor1Axis(float[]).x - first componenty - second componentz - third componentMotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getMotor2Angle()
getMotor2Angle in interface MotorJointpublic float getMotor2AngleRate()
getMotor2AngleRate in interface MotorJointpublic float[] getMotor2Axis()
getMotor2Axis in interface MotorJointpublic MotorJointObject setMotor2Axis(float[] newValue)
setMotor2Axis in interface MotorJointnewValue - is new value for the motor2Axis field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setMotor2Axis(SFVec3fObject newValue)
setMotor2Axis(float[]).newValue - is new value for the motor2Axis field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setMotor2Axis(float x, float y, float z)
setMotor2Axis(float[]).x - first componenty - second componentz - third componentMotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getMotor3Angle()
getMotor3Angle in interface MotorJointpublic float getMotor3AngleRate()
getMotor3AngleRate in interface MotorJointpublic float[] getMotor3Axis()
getMotor3Axis in interface MotorJointpublic MotorJointObject setMotor3Axis(float[] newValue)
setMotor3Axis in interface MotorJointnewValue - is new value for the motor3Axis field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setMotor3Axis(SFVec3fObject newValue)
setMotor3Axis(float[]).newValue - is new value for the motor3Axis field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setMotor3Axis(float x, float y, float z)
setMotor3Axis(float[]).x - first componenty - second componentz - third componentMotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getStop1Bounce()
getStop1Bounce in interface MotorJointpublic MotorJointObject setStop1Bounce(float newValue)
setStop1Bounce in interface MotorJointnewValue - is new value for the stop1Bounce field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setStop1Bounce(SFFloatObject newValue)
setStop1Bounce(float).newValue - is new value for the stop1Bounce field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getStop1ErrorCorrection()
getStop1ErrorCorrection in interface MotorJointpublic MotorJointObject setStop1ErrorCorrection(float newValue)
setStop1ErrorCorrection in interface MotorJointnewValue - is new value for the stop1ErrorCorrection field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setStop1ErrorCorrection(SFFloatObject newValue)
setStop1ErrorCorrection(float).newValue - is new value for the stop1ErrorCorrection field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getStop2Bounce()
getStop2Bounce in interface MotorJointpublic MotorJointObject setStop2Bounce(float newValue)
setStop2Bounce in interface MotorJointnewValue - is new value for the stop2Bounce field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setStop2Bounce(SFFloatObject newValue)
setStop2Bounce(float).newValue - is new value for the stop2Bounce field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getStop2ErrorCorrection()
getStop2ErrorCorrection in interface MotorJointpublic MotorJointObject setStop2ErrorCorrection(float newValue)
setStop2ErrorCorrection in interface MotorJointnewValue - is new value for the stop2ErrorCorrection field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setStop2ErrorCorrection(SFFloatObject newValue)
setStop2ErrorCorrection(float).newValue - is new value for the stop2ErrorCorrection field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getStop3Bounce()
getStop3Bounce in interface MotorJointpublic MotorJointObject setStop3Bounce(float newValue)
setStop3Bounce in interface MotorJointnewValue - is new value for the stop3Bounce field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setStop3Bounce(SFFloatObject newValue)
setStop3Bounce(float).newValue - is new value for the stop3Bounce field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getStop3ErrorCorrection()
getStop3ErrorCorrection in interface MotorJointpublic MotorJointObject setStop3ErrorCorrection(float newValue)
setStop3ErrorCorrection in interface MotorJointnewValue - is new value for the stop3ErrorCorrection field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setStop3ErrorCorrection(SFFloatObject newValue)
setStop3ErrorCorrection(float).newValue - is new value for the stop3ErrorCorrection field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final MotorJointObject setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface MotorJointsetDEF in interface X3DRigidJointNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final MotorJointObject 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 MotorJointsetUSE in interface X3DRigidJointNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final MotorJointObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface MotorJointsetCssClass in interface X3DRigidJointNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.MotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ISObject getIS()
getIS in class X3DConcreteNodepublic MotorJointObject setUSE(MotorJointObject DEFnode)
setUSE(String).
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
DEFnode - must have a DEF value definedMotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public MotorJointObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueMotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public MotorJointObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsMotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public MotorJointObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addMotorJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public java.lang.String toStringX3D(int indentLevel)
toStringX3D in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_X3D,
X3DObject.FILE_EXTENSION_XML,
X3DObject.toStringXML(),
X3DObject.toFileXML(String),
X3DObject.toFileX3D(String),
X3D XML Encoding,
X3D Compressed Binary Encoding: X3D Canonical Formpublic java.lang.String toStringClassicVRML(int indentLevel)
toStringClassicVRML in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_CLASSICVRML,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Extensible 3D (X3D) encodings Part 2: Classic VRML encoding,
Extensible 3D (X3D) encodings Part 2: Classic VRML encoding, Annex A: Grammarpublic java.lang.String toStringVRML97(int indentLevel)
toStringVRML97 in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_VRML97,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Virtual Reality Modeling Language (VRML) 97 specification,
VRML 97 v2.1 Amendmentpublic X3DConcreteElement findElementByNameValue(java.lang.String nameValue)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public X3DConcreteElement findElementByNameValue(java.lang.String nameValue, java.lang.String elementName)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
nameValue - is value of the name field being searched for in this element and child elements(if any)elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)findElementByNameValue(String, String)public X3DConcreteNode findNodeByDEF(java.lang.String DEFvalue)
findNodeByDEF in class X3DConcreteElementDEFvalue - is value of the name field being searched for in this element and child elements(if any)findElementByNameValue(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasNodeByDEF(java.lang.String DEFvalue)
DEFvalue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String)public java.lang.String validate()
validate in class X3DConcreteElementCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.