public class SingleAxisHingeJointObject extends X3DConcreteNode implements SingleAxisHingeJoint
| Modifier and Type | Field and Description |
|---|---|
static float[] |
ANCHORPOINT_DEFAULT_VALUE
SFVec3f field named anchorPoint has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
|
static float[] |
AXIS_DEFAULT_VALUE
SFVec3f field named axis has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the SingleAxisHingeJoint element: RigidBodyPhysics
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
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_ANCHORPOINT
fromField ROUTE name for SFVec3f field named anchorPoint.
|
static java.lang.String |
fromField_ANGLE
fromField ROUTE name for SFFloat field named angle.
|
static java.lang.String |
fromField_ANGLERATE
fromField ROUTE name for SFFloat field named angleRate.
|
static java.lang.String |
fromField_AXIS
fromField ROUTE name for SFVec3f field named axis.
|
static java.lang.String |
fromField_BODY1
fromField ROUTE name for SFNode field named body1.
|
static java.lang.String |
fromField_BODY1ANCHORPOINT
fromField ROUTE name for SFVec3f field named body1AnchorPoint.
|
static java.lang.String |
fromField_BODY2
fromField ROUTE name for SFNode field named body2.
|
static java.lang.String |
fromField_BODY2ANCHORPOINT
fromField ROUTE name for SFVec3f field named body2AnchorPoint.
|
static java.lang.String |
fromField_FORCEOUTPUT
fromField ROUTE name for MFString field named forceOutput.
|
static java.lang.String |
fromField_MAXANGLE
fromField ROUTE name for SFFloat field named maxAngle.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_MINANGLE
fromField ROUTE name for SFFloat field named minAngle.
|
static java.lang.String |
fromField_STOPBOUNCE
fromField ROUTE name for SFFloat field named stopBounce.
|
static java.lang.String |
fromField_STOPERRORCORRECTION
fromField ROUTE name for SFFloat field named stopErrorCorrection.
|
static int |
LEVEL
Integer constant LEVEL provides default X3D RigidBodyPhysics component level for this element: 2
|
static float |
MAXANGLE_DEFAULT_VALUE
SFFloat field named maxAngle has default value 3.141592653f (Java syntax) or 3.141592653 (XML syntax).
|
static float |
MINANGLE_DEFAULT_VALUE
SFFloat field named minAngle has default value -3.141592653f (Java syntax) or -3.141592653 (XML syntax).
|
static java.lang.String |
NAME
String constant NAME provides name of this element: SingleAxisHingeJoint.
|
static float |
STOPBOUNCE_DEFAULT_VALUE
SFFloat field named stopBounce has default value 0f (Java syntax) or 0 (XML syntax).
|
static float |
STOPERRORCORRECTION_DEFAULT_VALUE
SFFloat field named stopErrorCorrection has default value 0.8f (Java syntax) or 0.8 (XML syntax).
|
static java.lang.String |
toField_ANCHORPOINT
toField ROUTE name for SFVec3f field named anchorPoint.
|
static java.lang.String |
toField_AXIS
toField ROUTE name for SFVec3f field named axis.
|
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_FORCEOUTPUT
toField ROUTE name for MFString field named forceOutput.
|
static java.lang.String |
toField_MAXANGLE
toField ROUTE name for SFFloat field named maxAngle.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_MINANGLE
toField ROUTE name for SFFloat field named minAngle.
|
static java.lang.String |
toField_STOPBOUNCE
toField ROUTE name for SFFloat field named stopBounce.
|
static java.lang.String |
toField_STOPERRORCORRECTION
toField ROUTE name for SFFloat field named stopErrorCorrection.
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
SingleAxisHingeJointObject()
Constructor for SingleAxisHingeJointObject to initialize member variables with default values.
|
SingleAxisHingeJointObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
SingleAxisHingeJointObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
SingleAxisHingeJointObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
SingleAxisHingeJointObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
SingleAxisHingeJointObject |
addForceOutput(SFStringObject newValue)
Add singleton SFStringObject value to MFString forceOutput field.
|
SingleAxisHingeJointObject |
addForceOutput(java.lang.String newValue)
Add singleton String value to MFString forceOutput field.
|
SingleAxisHingeJointObject |
clearBody1()
Utility method to clear SFNode value of body1 field.
|
SingleAxisHingeJointObject |
clearBody2()
Utility method to clear SFNode value of body2 field.
|
SingleAxisHingeJointObject |
clearForceOutput()
Utility method to clear MFString value of forceOutput field.
|
SingleAxisHingeJointObject |
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.
|
float[] |
getAnchorPoint()
Provide array of 3-tuple float results from inputOutput SFVec3f field named anchorPoint.
|
float |
getAngle()
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named angle.
|
float |
getAngleRate()
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named angleRate.
|
float[] |
getAxis()
Provide array of 3-tuple float results from inputOutput SFVec3f field named axis.
|
RigidBody |
getBody1()
Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body1.
|
float[] |
getBody1AnchorPoint()
Provide array of 3-tuple float results from outputOnly SFVec3f field named body1AnchorPoint.
|
RigidBody |
getBody2()
Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body2.
|
float[] |
getBody2AnchorPoint()
Provide array of 3-tuple float results from outputOnly SFVec3f field named body2AnchorPoint.
|
java.lang.String |
getComponent()
Defines X3D component for the SingleAxisHingeJoint 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: SingleAxisHingeJoint
|
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.
|
float |
getMaxAngle()
Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named maxAngle.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getMinAngle()
Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named minAngle.
|
float |
getStopBounce()
Provide float value from inputOutput SFFloat field named stopBounce.
|
float |
getStopErrorCorrection()
Provide float value from inputOutput SFFloat field named stopErrorCorrection.
|
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.
|
SingleAxisHingeJointObject |
setAnchorPoint(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named anchorPoint.
|
SingleAxisHingeJointObject |
setAnchorPoint(float x,
float y,
float z)
Assign values to SFVec3f anchorPoint field, similar to
setAnchorPoint(float[]). |
SingleAxisHingeJointObject |
setAnchorPoint(SFVec3fObject newValue)
Assign typed object value to SFVec3f anchorPoint field, similar to
setAnchorPoint(float[]). |
SingleAxisHingeJointObject |
setAxis(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named axis.
|
SingleAxisHingeJointObject |
setAxis(float x,
float y,
float z)
Assign values to SFVec3f axis field, similar to
setAxis(float[]). |
SingleAxisHingeJointObject |
setAxis(SFVec3fObject newValue)
Assign typed object value to SFVec3f axis field, similar to
setAxis(float[]). |
SingleAxisHingeJointObject |
setBody1(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field body1.
|
SingleAxisHingeJointObject |
setBody1(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
|
SingleAxisHingeJointObject |
setBody2(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field body2.
|
SingleAxisHingeJointObject |
setBody2(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
|
SingleAxisHingeJointObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
SingleAxisHingeJointObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
SingleAxisHingeJointObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
SingleAxisHingeJointObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
SingleAxisHingeJointObject |
setForceOutput(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString forceOutput field, similar to
setForceOutput(String[]). |
SingleAxisHingeJointObject |
setForceOutput(MFStringObject newValue)
Assign typed object value to MFString forceOutput field, similar to
setForceOutput(String[]). |
SingleAxisHingeJointObject |
setForceOutput(SFStringObject newValue)
Assign single SFString object value to MFString forceOutput field, similar to
setForceOutput(String[]). |
SingleAxisHingeJointObject |
setForceOutput(java.lang.String newValue)
Assign singleton String value to MFString forceOutput field, similar to
setForceOutput(String[]). |
SingleAxisHingeJointObject |
setForceOutput(java.lang.String[] newValue)
Assign String enumeration array (""ALL""|""NONE"") ['"ALL"'|'"NONE"'|'"etc."'] to inputOutput MFString field named forceOutput.
|
SingleAxisHingeJointObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
SingleAxisHingeJointObject |
setMaxAngle(float newValue)
Assign float value unit axis, angle (in radians) to inputOutput SFFloat field named maxAngle.
|
SingleAxisHingeJointObject |
setMaxAngle(SFFloatObject newValue)
Assign typed object value to SFFloat maxAngle field, similar to
setMaxAngle(float). |
SingleAxisHingeJointObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
SingleAxisHingeJointObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
SingleAxisHingeJointObject |
setMinAngle(float newValue)
Assign float value unit axis, angle (in radians) to inputOutput SFFloat field named minAngle.
|
SingleAxisHingeJointObject |
setMinAngle(SFFloatObject newValue)
Assign typed object value to SFFloat minAngle field, similar to
setMinAngle(float). |
SingleAxisHingeJointObject |
setStopBounce(float newValue)
Assign float value to inputOutput SFFloat field named stopBounce.
|
SingleAxisHingeJointObject |
setStopBounce(SFFloatObject newValue)
Assign typed object value to SFFloat stopBounce field, similar to
setStopBounce(float). |
SingleAxisHingeJointObject |
setStopErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named stopErrorCorrection.
|
SingleAxisHingeJointObject |
setStopErrorCorrection(SFFloatObject newValue)
Assign typed object value to SFFloat stopErrorCorrection field, similar to
setStopErrorCorrection(float). |
SingleAxisHingeJointObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
SingleAxisHingeJointObject |
setUSE(SingleAxisHingeJointObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
SingleAxisHingeJointObject |
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 float[] ANCHORPOINT_DEFAULT_VALUE
public static final float[] AXIS_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> FORCEOUTPUT_DEFAULT_VALUE
public static final float MAXANGLE_DEFAULT_VALUE
public static final float MINANGLE_DEFAULT_VALUE
public static final float STOPBOUNCE_DEFAULT_VALUE
public static final float STOPERRORCORRECTION_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_ANCHORPOINT
public static final java.lang.String toField_ANCHORPOINT
public static final java.lang.String fromField_ANGLE
public static final java.lang.String fromField_ANGLERATE
public static final java.lang.String fromField_AXIS
public static final java.lang.String toField_AXIS
public static final java.lang.String fromField_BODY1
public static final java.lang.String toField_BODY1
public static final java.lang.String fromField_BODY1ANCHORPOINT
public static final java.lang.String fromField_BODY2
public static final java.lang.String toField_BODY2
public static final java.lang.String fromField_BODY2ANCHORPOINT
public static final java.lang.String fromField_FORCEOUTPUT
public static final java.lang.String toField_FORCEOUTPUT
public static final java.lang.String fromField_MAXANGLE
public static final java.lang.String toField_MAXANGLE
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_MINANGLE
public static final java.lang.String toField_MINANGLE
public static final java.lang.String fromField_STOPBOUNCE
public static final java.lang.String toField_STOPBOUNCE
public static final java.lang.String fromField_STOPERRORCORRECTION
public static final java.lang.String toField_STOPERRORCORRECTION
public SingleAxisHingeJointObject()
public SingleAxisHingeJointObject(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 float[] getAnchorPoint()
getAnchorPoint in interface SingleAxisHingeJointpublic SingleAxisHingeJointObject setAnchorPoint(float[] newValue)
setAnchorPoint in interface SingleAxisHingeJointnewValue - is new value for the anchorPoint field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setAnchorPoint(SFVec3fObject newValue)
setAnchorPoint(float[]).newValue - is new value for the anchorPoint field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setAnchorPoint(float x, float y, float z)
setAnchorPoint(float[]).x - first componenty - second componentz - third componentSingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getAngle()
getAngle in interface SingleAxisHingeJointpublic float getAngleRate()
getAngleRate in interface SingleAxisHingeJointpublic float[] getAxis()
getAxis in interface SingleAxisHingeJointpublic SingleAxisHingeJointObject setAxis(float[] newValue)
setAxis in interface SingleAxisHingeJointnewValue - is new value for the axis field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setAxis(SFVec3fObject newValue)
setAxis(float[]).newValue - is new value for the axis field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setAxis(float x, float y, float z)
setAxis(float[]).x - first componenty - second componentz - third componentSingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBody getBody1()
getBody1 in interface SingleAxisHingeJointgetBody1 in interface X3DRigidJointNodegetBody1ProtoInstance()public SingleAxisHingeJointObject setBody1(RigidBody newValue)
setBody1 in interface SingleAxisHingeJointsetBody1 in interface X3DRigidJointNodenewValue - is new value for the body1 field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setBody1(ProtoInstanceObject)public SingleAxisHingeJointObject clearBody1()
SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SingleAxisHingeJointObject setBody1(ProtoInstanceObject newValue)
newValue - is new value for the body1 field.SingleAxisHingeJointObject - 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 float[] getBody1AnchorPoint()
getBody1AnchorPoint in interface SingleAxisHingeJointpublic RigidBody getBody2()
getBody2 in interface SingleAxisHingeJointgetBody2 in interface X3DRigidJointNodegetBody2ProtoInstance()public SingleAxisHingeJointObject setBody2(RigidBody newValue)
setBody2 in interface SingleAxisHingeJointsetBody2 in interface X3DRigidJointNodenewValue - is new value for the body2 field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setBody2(ProtoInstanceObject)public SingleAxisHingeJointObject clearBody2()
SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SingleAxisHingeJointObject setBody2(ProtoInstanceObject newValue)
newValue - is new value for the body2 field.SingleAxisHingeJointObject - 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 float[] getBody2AnchorPoint()
getBody2AnchorPoint in interface SingleAxisHingeJointpublic java.lang.String[] getForceOutput()
ALL, NONE.getForceOutput in interface SingleAxisHingeJointgetForceOutput in interface X3DRigidJointNodepublic java.util.ArrayList<java.lang.String> getForceOutputList()
getForceOutput().public SingleAxisHingeJointObject setForceOutput(java.lang.String[] newValue)
ALL, NONE).
setForceOutput in interface SingleAxisHingeJointsetForceOutput in interface X3DRigidJointNodenewValue - is new value for the forceOutput field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setForceOutput(MFStringObject newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setForceOutput(SFStringObject newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public SingleAxisHingeJointObject setForceOutput(java.lang.String newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public SingleAxisHingeJointObject setForceOutput(java.util.ArrayList<java.lang.String> newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject clearForceOutput()
SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SingleAxisHingeJointObject addForceOutput(java.lang.String newValue)
newValue - is new value to add to the forceOutput field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public SingleAxisHingeJointObject addForceOutput(SFStringObject newValue)
newValue - is new value to add to the forceOutput field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public float getMaxAngle()
getMaxAngle in interface SingleAxisHingeJointpublic SingleAxisHingeJointObject setMaxAngle(float newValue)
setMaxAngle in interface SingleAxisHingeJointnewValue - is new value for the maxAngle field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setMaxAngle(SFFloatObject newValue)
setMaxAngle(float).newValue - is new value for the maxAngle field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public X3DMetadataObject getMetadata()
getMetadata in interface X3DNodegetMetadata in interface SingleAxisHingeJointgetMetadata in interface X3DRigidJointNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic SingleAxisHingeJointObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodesetMetadata in interface SingleAxisHingeJointsetMetadata in interface X3DRigidJointNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.SingleAxisHingeJointObject - 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 SingleAxisHingeJointObject clearMetadata()
SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SingleAxisHingeJointObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.SingleAxisHingeJointObject - 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 getMinAngle()
getMinAngle in interface SingleAxisHingeJointpublic SingleAxisHingeJointObject setMinAngle(float newValue)
setMinAngle in interface SingleAxisHingeJointnewValue - is new value for the minAngle field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setMinAngle(SFFloatObject newValue)
setMinAngle(float).newValue - is new value for the minAngle field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getStopBounce()
getStopBounce in interface SingleAxisHingeJointpublic SingleAxisHingeJointObject setStopBounce(float newValue)
setStopBounce in interface SingleAxisHingeJointnewValue - is new value for the stopBounce field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setStopBounce(SFFloatObject newValue)
setStopBounce(float).newValue - is new value for the stopBounce field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getStopErrorCorrection()
getStopErrorCorrection in interface SingleAxisHingeJointpublic SingleAxisHingeJointObject setStopErrorCorrection(float newValue)
setStopErrorCorrection in interface SingleAxisHingeJointnewValue - is new value for the stopErrorCorrection field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setStopErrorCorrection(SFFloatObject newValue)
setStopErrorCorrection(float).newValue - is new value for the stopErrorCorrection field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final SingleAxisHingeJointObject setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface SingleAxisHingeJointsetDEF in interface X3DRigidJointNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final SingleAxisHingeJointObject 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 SingleAxisHingeJointsetUSE in interface X3DRigidJointNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final SingleAxisHingeJointObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface SingleAxisHingeJointsetCssClass in interface X3DRigidJointNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.SingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.SingleAxisHingeJointObject - 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 SingleAxisHingeJointObject setUSE(SingleAxisHingeJointObject 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 definedSingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SingleAxisHingeJointObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueSingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SingleAxisHingeJointObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsSingleAxisHingeJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SingleAxisHingeJointObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addSingleAxisHingeJointObject - 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.