public class SliderJointObject extends X3DConcreteNode implements SliderJoint
| Modifier and Type | Field and Description |
|---|---|
static float[] |
AXIS_DEFAULT_VALUE
SFVec3f field named axis has default value {0f,1f,0f} (Java syntax) or 0 1 0 (XML syntax).
|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the SliderJoint 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_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_BODY2
fromField ROUTE name for SFNode field named body2.
|
static java.lang.String |
fromField_FORCEOUTPUT
fromField ROUTE name for MFString field named forceOutput.
|
static java.lang.String |
fromField_MAXSEPARATION
fromField ROUTE name for SFFloat field named maxSeparation.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_MINSEPARATION
fromField ROUTE name for SFFloat field named minSeparation.
|
static java.lang.String |
fromField_SEPARATION
fromField ROUTE name for SFFloat field named separation.
|
static java.lang.String |
fromField_SEPARATIONRATE
fromField ROUTE name for SFFloat field named separationRate.
|
static java.lang.String |
fromField_SLIDERFORCE
fromField ROUTE name for SFFloat field named sliderForce.
|
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 |
MAXSEPARATION_DEFAULT_VALUE
SFFloat field named maxSeparation has default value 1f (Java syntax) or 1 (XML syntax).
|
static float |
MINSEPARATION_DEFAULT_VALUE
SFFloat field named minSeparation has default value 0f (Java syntax) or 0 (XML syntax).
|
static java.lang.String |
NAME
String constant NAME provides name of this element: SliderJoint.
|
static float |
SLIDERFORCE_DEFAULT_VALUE
SFFloat field named sliderForce has default value 0f (Java syntax) or 0 (XML syntax).
|
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 1f (Java syntax) or 1 (XML syntax).
|
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_MAXSEPARATION
toField ROUTE name for SFFloat field named maxSeparation.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_MINSEPARATION
toField ROUTE name for SFFloat field named minSeparation.
|
static java.lang.String |
toField_SLIDERFORCE
toField ROUTE name for SFFloat field named sliderForce.
|
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 |
|---|
SliderJointObject()
Constructor for SliderJointObject to initialize member variables with default values.
|
SliderJointObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
SliderJointObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
SliderJointObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
SliderJointObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
SliderJointObject |
addForceOutput(SFStringObject newValue)
Add singleton SFStringObject value to MFString forceOutput field.
|
SliderJointObject |
addForceOutput(java.lang.String newValue)
Add singleton String value to MFString forceOutput field.
|
SliderJointObject |
clearBody1()
Utility method to clear SFNode value of body1 field.
|
SliderJointObject |
clearBody2()
Utility method to clear SFNode value of body2 field.
|
SliderJointObject |
clearForceOutput()
Utility method to clear MFString value of forceOutput field.
|
SliderJointObject |
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[] |
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.
|
RigidBody |
getBody2()
Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body2.
|
java.lang.String |
getComponent()
Defines X3D component for the SliderJoint 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: SliderJoint
|
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 |
getMaxSeparation()
Provide float value from inputOutput SFFloat field named maxSeparation.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getMinSeparation()
Provide float value from inputOutput SFFloat field named minSeparation.
|
float |
getSeparation()
Provide float value from outputOnly SFFloat field named separation.
|
float |
getSeparationRate()
Provide float value from outputOnly SFFloat field named separationRate.
|
float |
getSliderForce()
Provide float value from inputOutput SFFloat field named sliderForce.
|
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.
|
SliderJointObject |
setAxis(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named axis.
|
SliderJointObject |
setAxis(float x,
float y,
float z)
Assign values to SFVec3f axis field, similar to
setAxis(float[]). |
SliderJointObject |
setAxis(SFVec3fObject newValue)
Assign typed object value to SFVec3f axis field, similar to
setAxis(float[]). |
SliderJointObject |
setBody1(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field body1.
|
SliderJointObject |
setBody1(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
|
SliderJointObject |
setBody2(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field body2.
|
SliderJointObject |
setBody2(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
|
SliderJointObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
SliderJointObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
SliderJointObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
SliderJointObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
SliderJointObject |
setForceOutput(java.util.ArrayList<java.lang.String> newValue)
Assign ArrayList value of MFString forceOutput field, similar to
setForceOutput(String[]). |
SliderJointObject |
setForceOutput(MFStringObject newValue)
Assign typed object value to MFString forceOutput field, similar to
setForceOutput(String[]). |
SliderJointObject |
setForceOutput(SFStringObject newValue)
Assign single SFString object value to MFString forceOutput field, similar to
setForceOutput(String[]). |
SliderJointObject |
setForceOutput(java.lang.String newValue)
Assign singleton String value to MFString forceOutput field, similar to
setForceOutput(String[]). |
SliderJointObject |
setForceOutput(java.lang.String[] newValue)
Assign String enumeration array (""ALL""|""NONE"") ['"ALL"'|'"NONE"'|'"etc."'] to inputOutput MFString field named forceOutput.
|
SliderJointObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
SliderJointObject |
setMaxSeparation(float newValue)
Assign float value to inputOutput SFFloat field named maxSeparation.
|
SliderJointObject |
setMaxSeparation(SFFloatObject newValue)
Assign typed object value to SFFloat maxSeparation field, similar to
setMaxSeparation(float). |
SliderJointObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
SliderJointObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
SliderJointObject |
setMinSeparation(float newValue)
Assign float value to inputOutput SFFloat field named minSeparation.
|
SliderJointObject |
setMinSeparation(SFFloatObject newValue)
Assign typed object value to SFFloat minSeparation field, similar to
setMinSeparation(float). |
SliderJointObject |
setSliderForce(float newValue)
Assign float value to inputOutput SFFloat field named sliderForce.
|
SliderJointObject |
setSliderForce(SFFloatObject newValue)
Assign typed object value to SFFloat sliderForce field, similar to
setSliderForce(float). |
SliderJointObject |
setStopBounce(float newValue)
Assign float value to inputOutput SFFloat field named stopBounce.
|
SliderJointObject |
setStopBounce(SFFloatObject newValue)
Assign typed object value to SFFloat stopBounce field, similar to
setStopBounce(float). |
SliderJointObject |
setStopErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named stopErrorCorrection.
|
SliderJointObject |
setStopErrorCorrection(SFFloatObject newValue)
Assign typed object value to SFFloat stopErrorCorrection field, similar to
setStopErrorCorrection(float). |
SliderJointObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
SliderJointObject |
setUSE(SliderJointObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
SliderJointObject |
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[] AXIS_DEFAULT_VALUE
public static final java.util.ArrayList<java.lang.String> FORCEOUTPUT_DEFAULT_VALUE
public static final float MAXSEPARATION_DEFAULT_VALUE
public static final float MINSEPARATION_DEFAULT_VALUE
public static final float SLIDERFORCE_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_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_BODY2
public static final java.lang.String toField_BODY2
public static final java.lang.String fromField_FORCEOUTPUT
public static final java.lang.String toField_FORCEOUTPUT
public static final java.lang.String fromField_MAXSEPARATION
public static final java.lang.String toField_MAXSEPARATION
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_MINSEPARATION
public static final java.lang.String toField_MINSEPARATION
public static final java.lang.String fromField_SEPARATION
public static final java.lang.String fromField_SEPARATIONRATE
public static final java.lang.String fromField_SLIDERFORCE
public static final java.lang.String toField_SLIDERFORCE
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 SliderJointObject()
public SliderJointObject(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[] getAxis()
getAxis in interface SliderJointpublic SliderJointObject setAxis(float[] newValue)
setAxis in interface SliderJointnewValue - is new value for the axis field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setAxis(SFVec3fObject newValue)
setAxis(float[]).newValue - is new value for the axis field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setAxis(float x, float y, float z)
setAxis(float[]).x - first componenty - second componentz - third componentSliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBody getBody1()
getBody1 in interface SliderJointgetBody1 in interface X3DRigidJointNodegetBody1ProtoInstance()public SliderJointObject setBody1(RigidBody newValue)
setBody1 in interface SliderJointsetBody1 in interface X3DRigidJointNodenewValue - is new value for the body1 field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setBody1(ProtoInstanceObject)public SliderJointObject clearBody1()
SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SliderJointObject setBody1(ProtoInstanceObject newValue)
newValue - is new value for the body1 field.SliderJointObject - 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 SliderJointgetBody2 in interface X3DRigidJointNodegetBody2ProtoInstance()public SliderJointObject setBody2(RigidBody newValue)
setBody2 in interface SliderJointsetBody2 in interface X3DRigidJointNodenewValue - is new value for the body2 field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setBody2(ProtoInstanceObject)public SliderJointObject clearBody2()
SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SliderJointObject setBody2(ProtoInstanceObject newValue)
newValue - is new value for the body2 field.SliderJointObject - 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 java.lang.String[] getForceOutput()
ALL, NONE.getForceOutput in interface SliderJointgetForceOutput in interface X3DRigidJointNodepublic java.util.ArrayList<java.lang.String> getForceOutputList()
getForceOutput().public SliderJointObject setForceOutput(java.lang.String[] newValue)
ALL, NONE).
setForceOutput in interface SliderJointsetForceOutput in interface X3DRigidJointNodenewValue - is new value for the forceOutput field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setForceOutput(MFStringObject newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setForceOutput(SFStringObject newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public SliderJointObject setForceOutput(java.lang.String newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public SliderJointObject setForceOutput(java.util.ArrayList<java.lang.String> newValue)
setForceOutput(String[]).newValue - is new value for the forceOutput field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject clearForceOutput()
SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SliderJointObject addForceOutput(java.lang.String newValue)
newValue - is new value to add to the forceOutput field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public SliderJointObject addForceOutput(SFStringObject newValue)
newValue - is new value to add to the forceOutput field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MFStringObject.cleanupEnumerationValues(String)public float getMaxSeparation()
getMaxSeparation in interface SliderJointpublic SliderJointObject setMaxSeparation(float newValue)
setMaxSeparation in interface SliderJointnewValue - is new value for the maxSeparation field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setMaxSeparation(SFFloatObject newValue)
setMaxSeparation(float).newValue - is new value for the maxSeparation field.SliderJointObject - 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 SliderJointgetMetadata in interface X3DRigidJointNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic SliderJointObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodesetMetadata in interface SliderJointsetMetadata in interface X3DRigidJointNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.SliderJointObject - 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 SliderJointObject clearMetadata()
SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SliderJointObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.SliderJointObject - 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 getMinSeparation()
getMinSeparation in interface SliderJointpublic SliderJointObject setMinSeparation(float newValue)
setMinSeparation in interface SliderJointnewValue - is new value for the minSeparation field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setMinSeparation(SFFloatObject newValue)
setMinSeparation(float).newValue - is new value for the minSeparation field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getSeparation()
getSeparation in interface SliderJointpublic float getSeparationRate()
getSeparationRate in interface SliderJointpublic float getSliderForce()
getSliderForce in interface SliderJointpublic SliderJointObject setSliderForce(float newValue)
setSliderForce in interface SliderJointnewValue - is new value for the sliderForce field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setSliderForce(SFFloatObject newValue)
setSliderForce(float).newValue - is new value for the sliderForce field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getStopBounce()
getStopBounce in interface SliderJointpublic SliderJointObject setStopBounce(float newValue)
setStopBounce in interface SliderJointnewValue - is new value for the stopBounce field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setStopBounce(SFFloatObject newValue)
setStopBounce(float).newValue - is new value for the stopBounce field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getStopErrorCorrection()
getStopErrorCorrection in interface SliderJointpublic SliderJointObject setStopErrorCorrection(float newValue)
setStopErrorCorrection in interface SliderJointnewValue - is new value for the stopErrorCorrection field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setStopErrorCorrection(SFFloatObject newValue)
setStopErrorCorrection(float).newValue - is new value for the stopErrorCorrection field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final SliderJointObject setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface SliderJointsetDEF in interface X3DRigidJointNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final SliderJointObject 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 SliderJointsetUSE in interface X3DRigidJointNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final SliderJointObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface SliderJointsetCssClass in interface X3DRigidJointNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.SliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.SliderJointObject - 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 SliderJointObject setUSE(SliderJointObject 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 definedSliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public SliderJointObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueSliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SliderJointObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsSliderJointObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public SliderJointObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addSliderJointObject - 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.