public class RigidBodyCollectionObject extends X3DConcreteNode implements RigidBodyCollection
| Modifier and Type | Field and Description |
|---|---|
static boolean |
AUTODISABLE_DEFAULT_VALUE
SFBool field named autoDisable has default value false (Java syntax) or false (XML syntax).
|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the RigidBodyCollection element: RigidBodyPhysics
|
static float |
CONSTANTFORCEMIX_DEFAULT_VALUE
SFFloat field named constantForceMix has default value 0.0001f (Java syntax) or 0.0001 (XML syntax).
|
static float |
CONTACTSURFACETHICKNESS_DEFAULT_VALUE
SFFloat field named contactSurfaceThickness has default value 0f (Java syntax) or 0 (XML syntax).
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
static float |
DISABLEANGULARSPEED_DEFAULT_VALUE
SFFloat field named disableAngularSpeed has default value 0f (Java syntax) or 0 (XML syntax).
|
static float |
DISABLELINEARSPEED_DEFAULT_VALUE
SFFloat field named disableLinearSpeed has default value 0f (Java syntax) or 0 (XML syntax).
|
static double |
DISABLETIME_DEFAULT_VALUE
SFTime field named disableTime has default value 0 (Java syntax) or 0 (XML syntax).
|
static boolean |
ENABLED_DEFAULT_VALUE
SFBool field named enabled has default value true (Java syntax) or true (XML syntax).
|
static float |
ERRORCORRECTION_DEFAULT_VALUE
SFFloat field named errorCorrection has default value 0.8f (Java syntax) or 0.8 (XML syntax).
|
static java.lang.String |
fromField_AUTODISABLE
fromField ROUTE name for SFBool field named autoDisable.
|
static java.lang.String |
fromField_BODIES
fromField ROUTE name for MFNode field named bodies.
|
static java.lang.String |
fromField_CONSTANTFORCEMIX
fromField ROUTE name for SFFloat field named constantForceMix.
|
static java.lang.String |
fromField_CONTACTSURFACETHICKNESS
fromField ROUTE name for SFFloat field named contactSurfaceThickness.
|
static java.lang.String |
fromField_DISABLEANGULARSPEED
fromField ROUTE name for SFFloat field named disableAngularSpeed.
|
static java.lang.String |
fromField_DISABLELINEARSPEED
fromField ROUTE name for SFFloat field named disableLinearSpeed.
|
static java.lang.String |
fromField_DISABLETIME
fromField ROUTE name for SFTime field named disableTime.
|
static java.lang.String |
fromField_ENABLED
fromField ROUTE name for SFBool field named enabled.
|
static java.lang.String |
fromField_ERRORCORRECTION
fromField ROUTE name for SFFloat field named errorCorrection.
|
static java.lang.String |
fromField_GRAVITY
fromField ROUTE name for SFVec3f field named gravity.
|
static java.lang.String |
fromField_ITERATIONS
fromField ROUTE name for SFInt32 field named iterations.
|
static java.lang.String |
fromField_JOINTS
fromField ROUTE name for MFNode field named joints.
|
static java.lang.String |
fromField_MAXCORRECTIONSPEED
fromField ROUTE name for SFFloat field named maxCorrectionSpeed.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_PREFERACCURACY
fromField ROUTE name for SFBool field named preferAccuracy.
|
static float[] |
GRAVITY_DEFAULT_VALUE
SFVec3f field named gravity has default value {0f,-9.8f,0f} (Java syntax) or 0 -9.8 0 (XML syntax).
|
static int |
ITERATIONS_DEFAULT_VALUE
SFInt32 field named iterations has default value 10 (Java syntax) or 10 (XML syntax).
|
static int |
LEVEL
Integer constant LEVEL provides default X3D RigidBodyPhysics component level for this element: 2
|
static float |
MAXCORRECTIONSPEED_DEFAULT_VALUE
SFFloat field named maxCorrectionSpeed has default value -1f (Java syntax) or -1 (XML syntax).
|
static java.lang.String |
NAME
String constant NAME provides name of this element: RigidBodyCollection.
|
static boolean |
PREFERACCURACY_DEFAULT_VALUE
SFBool field named preferAccuracy has default value false (Java syntax) or false (XML syntax).
|
static java.lang.String |
toField_AUTODISABLE
toField ROUTE name for SFBool field named autoDisable.
|
static java.lang.String |
toField_BODIES
toField ROUTE name for MFNode field named bodies.
|
static java.lang.String |
toField_CONSTANTFORCEMIX
toField ROUTE name for SFFloat field named constantForceMix.
|
static java.lang.String |
toField_CONTACTSURFACETHICKNESS
toField ROUTE name for SFFloat field named contactSurfaceThickness.
|
static java.lang.String |
toField_DISABLEANGULARSPEED
toField ROUTE name for SFFloat field named disableAngularSpeed.
|
static java.lang.String |
toField_DISABLELINEARSPEED
toField ROUTE name for SFFloat field named disableLinearSpeed.
|
static java.lang.String |
toField_DISABLETIME
toField ROUTE name for SFTime field named disableTime.
|
static java.lang.String |
toField_ENABLED
toField ROUTE name for SFBool field named enabled.
|
static java.lang.String |
toField_ERRORCORRECTION
toField ROUTE name for SFFloat field named errorCorrection.
|
static java.lang.String |
toField_GRAVITY
toField ROUTE name for SFVec3f field named gravity.
|
static java.lang.String |
toField_ITERATIONS
toField ROUTE name for SFInt32 field named iterations.
|
static java.lang.String |
toField_JOINTS
toField ROUTE name for MFNode field named joints.
|
static java.lang.String |
toField_MAXCORRECTIONSPEED
toField ROUTE name for SFFloat field named maxCorrectionSpeed.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_PREFERACCURACY
toField ROUTE name for SFBool field named preferAccuracy.
|
static java.lang.String |
toField_SET_CONTACTS
toField ROUTE name for MFNode field named set_contacts.
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
RigidBodyCollectionObject()
Constructor for RigidBodyCollectionObject to initialize member variables with default values.
|
RigidBodyCollectionObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
RigidBodyCollectionObject |
addBodies(RigidBodyObject newValue)
Add single child node to existing array of bodies nodes (if any).
|
void |
addBodies(X3DNode[] newValue)
Add array of child bodies nodes to array of existing nodes (if any).
|
RigidBodyCollectionObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
RigidBodyCollectionObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
RigidBodyCollectionObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
RigidBodyCollectionObject |
addJoints(X3DNode newValue)
Add single child node to existing array of joints nodes (if any).
|
void |
addJoints(X3DNode[] newValue)
Add array of child joints nodes to array of existing nodes (if any).
|
RigidBodyCollectionObject |
clearBodies()
Utility method to clear MFNode value of bodies field.
|
RigidBodyCollectionObject |
clearCollider()
Utility method to clear SFNode value of collider field.
|
RigidBodyCollectionObject |
clearJoints()
Utility method to clear MFNode value of joints field.
|
RigidBodyCollectionObject |
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 |
getAutoDisable()
Provide boolean value from inputOutput SFBool field named autoDisable.
|
X3DNode[] |
getBodies()
Provide array of RigidBody results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field bodies.
|
java.util.ArrayList<X3DNode> |
getBodiesList()
Utility method to get ArrayList value of MFNode bodies field, similar to
getBodies(). |
CollisionCollection |
getCollider()
Provide CollisionCollection instance (using a properly typed node) from initializeOnly SFNode field collider.
|
java.lang.String |
getComponent()
Defines X3D component for the RigidBodyCollection element: RigidBodyPhysics
|
int |
getComponentLevel()
Provides default X3D component level for this element: 2
|
float |
getConstantForceMix()
Provide float value from inputOutput SFFloat field named constantForceMix.
|
float |
getContactSurfaceThickness()
Provide float value from inputOutput SFFloat field named contactSurfaceThickness.
|
java.lang.String |
getContainerFieldDefault()
containerField describes typical field relationship of a node to its parent.
|
float |
getDisableAngularSpeed()
Provide float value from inputOutput SFFloat field named disableAngularSpeed.
|
float |
getDisableLinearSpeed()
Provide float value from inputOutput SFFloat field named disableLinearSpeed.
|
double |
getDisableTime()
Provide double value in seconds within allowed range of [0,infinity) from inputOutput SFTime field named disableTime.
|
java.lang.String |
getElementName()
Provides name of this element: RigidBodyCollection
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
float |
getErrorCorrection()
Provide float value from inputOutput SFFloat field named errorCorrection.
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
float[] |
getGravity()
Provide array of 3-tuple float results from inputOutput SFVec3f field named gravity.
|
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
int |
getIterations()
Provide int value from inputOutput SFInt32 field named iterations.
|
X3DNode[] |
getJoints()
Provide array of X3DRigidJointNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field joints.
|
java.util.ArrayList<X3DNode> |
getJointsList()
Utility method to get ArrayList value of MFNode joints field, similar to
getJoints(). |
float |
getMaxCorrectionSpeed()
Provide float value from inputOutput SFFloat field named maxCorrectionSpeed.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
boolean |
getPreferAccuracy()
Provide boolean value from inputOutput SFBool field named preferAccuracy.
|
boolean |
hasBodies()
Indicate whether an object is available for inputOutput MFNode field bodies.
|
boolean |
hasCollider()
Indicate whether an object is available for initializeOnly SFNode field collider.
|
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 |
hasJoints()
Indicate whether an object is available for inputOutput MFNode field joints.
|
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.
|
RigidBodyCollectionObject |
setAutoDisable(boolean newValue)
Assign boolean value to inputOutput SFBool field named autoDisable.
|
RigidBodyCollectionObject |
setAutoDisable(SFBoolObject newValue)
Assign typed object value to SFBool autoDisable field, similar to
setAutoDisable(boolean). |
RigidBodyCollectionObject |
setBodies(java.util.ArrayList<RigidBody> newValue)
Assign ArrayList value of MFNode bodies field, similar to
setBodies(X3DNode[]). |
RigidBodyCollectionObject |
setBodies(X3DConcreteNode newValue)
Utility method to set single SFNode as RigidBodyCollectionObject bodies.
|
void |
setBodies(X3DNode newValue)
Set single child bodies node, replacing prior array of existing nodes (if any).
|
RigidBodyCollectionObject |
setBodies(X3DNode[] newValue)
Assign RigidBody array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field bodies.
|
RigidBodyCollectionObject |
setCollider(CollisionCollection newValue)
Assign CollisionCollection instance (using a properly typed node) to initializeOnly SFNode field collider.
|
RigidBodyCollectionObject |
setCollider(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to initializeOnly SFNode field collider.
|
RigidBodyCollectionObject |
setConstantForceMix(float newValue)
Assign float value to inputOutput SFFloat field named constantForceMix.
|
RigidBodyCollectionObject |
setConstantForceMix(SFFloatObject newValue)
Assign typed object value to SFFloat constantForceMix field, similar to
setConstantForceMix(float). |
RigidBodyCollectionObject |
setContactSurfaceThickness(float newValue)
Assign float value to inputOutput SFFloat field named contactSurfaceThickness.
|
RigidBodyCollectionObject |
setContactSurfaceThickness(SFFloatObject newValue)
Assign typed object value to SFFloat contactSurfaceThickness field, similar to
setContactSurfaceThickness(float). |
RigidBodyCollectionObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
RigidBodyCollectionObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
RigidBodyCollectionObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
RigidBodyCollectionObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
RigidBodyCollectionObject |
setDisableAngularSpeed(float newValue)
Assign float value to inputOutput SFFloat field named disableAngularSpeed.
|
RigidBodyCollectionObject |
setDisableAngularSpeed(SFFloatObject newValue)
Assign typed object value to SFFloat disableAngularSpeed field, similar to
setDisableAngularSpeed(float). |
RigidBodyCollectionObject |
setDisableLinearSpeed(float newValue)
Assign float value to inputOutput SFFloat field named disableLinearSpeed.
|
RigidBodyCollectionObject |
setDisableLinearSpeed(SFFloatObject newValue)
Assign typed object value to SFFloat disableLinearSpeed field, similar to
setDisableLinearSpeed(float). |
RigidBodyCollectionObject |
setDisableTime(double newValue)
Assign double value in seconds within allowed range of [0,infinity) to inputOutput SFTime field named disableTime.
|
RigidBodyCollectionObject |
setDisableTime(SFTimeObject newValue)
Assign typed object value to SFTime disableTime field, similar to
setDisableTime(double). |
RigidBodyCollectionObject |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
RigidBodyCollectionObject |
setEnabled(SFBoolObject newValue)
Assign typed object value to SFBool enabled field, similar to
setEnabled(boolean). |
RigidBodyCollectionObject |
setErrorCorrection(float newValue)
Assign float value to inputOutput SFFloat field named errorCorrection.
|
RigidBodyCollectionObject |
setErrorCorrection(SFFloatObject newValue)
Assign typed object value to SFFloat errorCorrection field, similar to
setErrorCorrection(float). |
RigidBodyCollectionObject |
setGravity(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named gravity.
|
RigidBodyCollectionObject |
setGravity(float x,
float y,
float z)
Assign values to SFVec3f gravity field, similar to
setGravity(float[]). |
RigidBodyCollectionObject |
setGravity(SFVec3fObject newValue)
Assign typed object value to SFVec3f gravity field, similar to
setGravity(float[]). |
RigidBodyCollectionObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
RigidBodyCollectionObject |
setIterations(int newValue)
Assign int value to inputOutput SFInt32 field named iterations.
|
RigidBodyCollectionObject |
setIterations(SFInt32Object newValue)
Assign typed object value to SFInt32 iterations field, similar to
setIterations(int). |
RigidBodyCollectionObject |
setJoints(java.util.ArrayList<X3DRigidJointNode> newValue)
Assign ArrayList value of MFNode joints field, similar to
setJoints(X3DNode[]). |
RigidBodyCollectionObject |
setJoints(X3DConcreteNode newValue)
Utility method to set single SFNode as RigidBodyCollectionObject joints.
|
void |
setJoints(X3DNode newValue)
Set single child joints node, replacing prior array of existing nodes (if any).
|
RigidBodyCollectionObject |
setJoints(X3DNode[] newValue)
Assign X3DRigidJointNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field joints.
|
RigidBodyCollectionObject |
setMaxCorrectionSpeed(float newValue)
Assign float value to inputOutput SFFloat field named maxCorrectionSpeed.
|
RigidBodyCollectionObject |
setMaxCorrectionSpeed(SFFloatObject newValue)
Assign typed object value to SFFloat maxCorrectionSpeed field, similar to
setMaxCorrectionSpeed(float). |
RigidBodyCollectionObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
RigidBodyCollectionObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
RigidBodyCollectionObject |
setPreferAccuracy(boolean newValue)
Assign boolean value to inputOutput SFBool field named preferAccuracy.
|
RigidBodyCollectionObject |
setPreferAccuracy(SFBoolObject newValue)
Assign typed object value to SFBool preferAccuracy field, similar to
setPreferAccuracy(boolean). |
RigidBodyCollectionObject |
setUSE(RigidBodyCollectionObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
RigidBodyCollectionObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
RigidBodyCollectionObject |
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.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final boolean AUTODISABLE_DEFAULT_VALUE
public static final float CONSTANTFORCEMIX_DEFAULT_VALUE
public static final float CONTACTSURFACETHICKNESS_DEFAULT_VALUE
public static final float DISABLEANGULARSPEED_DEFAULT_VALUE
public static final float DISABLELINEARSPEED_DEFAULT_VALUE
public static final double DISABLETIME_DEFAULT_VALUE
public static final boolean ENABLED_DEFAULT_VALUE
public static final float ERRORCORRECTION_DEFAULT_VALUE
public static final float[] GRAVITY_DEFAULT_VALUE
public static final int ITERATIONS_DEFAULT_VALUE
public static final float MAXCORRECTIONSPEED_DEFAULT_VALUE
public static final boolean PREFERACCURACY_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_AUTODISABLE
public static final java.lang.String toField_AUTODISABLE
public static final java.lang.String fromField_BODIES
public static final java.lang.String toField_BODIES
public static final java.lang.String fromField_CONSTANTFORCEMIX
public static final java.lang.String toField_CONSTANTFORCEMIX
public static final java.lang.String fromField_CONTACTSURFACETHICKNESS
public static final java.lang.String toField_CONTACTSURFACETHICKNESS
public static final java.lang.String fromField_DISABLEANGULARSPEED
public static final java.lang.String toField_DISABLEANGULARSPEED
public static final java.lang.String fromField_DISABLELINEARSPEED
public static final java.lang.String toField_DISABLELINEARSPEED
public static final java.lang.String fromField_DISABLETIME
public static final java.lang.String toField_DISABLETIME
public static final java.lang.String fromField_ENABLED
public static final java.lang.String toField_ENABLED
public static final java.lang.String fromField_ERRORCORRECTION
public static final java.lang.String toField_ERRORCORRECTION
public static final java.lang.String fromField_GRAVITY
public static final java.lang.String toField_GRAVITY
public static final java.lang.String fromField_ITERATIONS
public static final java.lang.String toField_ITERATIONS
public static final java.lang.String fromField_JOINTS
public static final java.lang.String toField_JOINTS
public static final java.lang.String fromField_MAXCORRECTIONSPEED
public static final java.lang.String toField_MAXCORRECTIONSPEED
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_PREFERACCURACY
public static final java.lang.String toField_PREFERACCURACY
public static final java.lang.String toField_SET_CONTACTS
public RigidBodyCollectionObject()
public RigidBodyCollectionObject(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 getAutoDisable()
getAutoDisable in interface RigidBodyCollectionpublic RigidBodyCollectionObject setAutoDisable(boolean newValue)
setAutoDisable in interface RigidBodyCollectionnewValue - is new value for the autoDisable field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setAutoDisable(SFBoolObject newValue)
setAutoDisable(boolean).newValue - is new value for the autoDisable field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public X3DNode[] getBodies()
getBodies in interface RigidBodyCollectionRigidBodyObjectpublic java.util.ArrayList<X3DNode> getBodiesList()
getBodies().public RigidBodyCollectionObject setBodies(X3DNode[] newValue)
setBodies in interface RigidBodyCollectionnewValue - is new value for the bodies field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setBodies(java.util.ArrayList<RigidBody> newValue)
setBodies(X3DNode[]).newValue - is new value for the bodies field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject addBodies(RigidBodyObject newValue)
newValue - is new value to be appended the bodies field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public void addBodies(X3DNode[] newValue)
addBodies in interface RigidBodyCollectionnewValue - is new value array to be appended the bodies field.public void setBodies(X3DNode newValue)
setBodies in interface RigidBodyCollectionnewValue - is new node for the bodies field (restricted to RigidBody)public RigidBodyCollectionObject setBodies(X3DConcreteNode newValue)
newValue - RigidBodyCollectionObject node to setRigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public RigidBodyCollectionObject clearBodies()
RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public boolean hasBodies()
getBodies()public CollisionCollection getCollider()
getCollider in interface RigidBodyCollectiongetColliderProtoInstance()public RigidBodyCollectionObject setCollider(CollisionCollection newValue)
setCollider in interface RigidBodyCollectionnewValue - is new value for the collider field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setCollider(ProtoInstanceObject)public RigidBodyCollectionObject clearCollider()
RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public RigidBodyCollectionObject setCollider(ProtoInstanceObject newValue)
newValue - is new value for the collider field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setCollider(CollisionCollection)public boolean hasCollider()
getCollider(),
getColliderProtoInstance()public float getConstantForceMix()
getConstantForceMix in interface RigidBodyCollectionpublic RigidBodyCollectionObject setConstantForceMix(float newValue)
setConstantForceMix in interface RigidBodyCollectionnewValue - is new value for the constantForceMix field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setConstantForceMix(SFFloatObject newValue)
setConstantForceMix(float).newValue - is new value for the constantForceMix field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getContactSurfaceThickness()
getContactSurfaceThickness in interface RigidBodyCollectionpublic RigidBodyCollectionObject setContactSurfaceThickness(float newValue)
setContactSurfaceThickness in interface RigidBodyCollectionnewValue - is new value for the contactSurfaceThickness field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setContactSurfaceThickness(SFFloatObject newValue)
setContactSurfaceThickness(float).newValue - is new value for the contactSurfaceThickness field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getDisableAngularSpeed()
getDisableAngularSpeed in interface RigidBodyCollectionpublic RigidBodyCollectionObject setDisableAngularSpeed(float newValue)
setDisableAngularSpeed in interface RigidBodyCollectionnewValue - is new value for the disableAngularSpeed field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setDisableAngularSpeed(SFFloatObject newValue)
setDisableAngularSpeed(float).newValue - is new value for the disableAngularSpeed field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getDisableLinearSpeed()
getDisableLinearSpeed in interface RigidBodyCollectionpublic RigidBodyCollectionObject setDisableLinearSpeed(float newValue)
setDisableLinearSpeed in interface RigidBodyCollectionnewValue - is new value for the disableLinearSpeed field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setDisableLinearSpeed(SFFloatObject newValue)
setDisableLinearSpeed(float).newValue - is new value for the disableLinearSpeed field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public double getDisableTime()
getDisableTime in interface RigidBodyCollectionpublic RigidBodyCollectionObject setDisableTime(double newValue)
setDisableTime in interface RigidBodyCollectionnewValue - is new value for the disableTime field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setDisableTime(SFTimeObject newValue)
setDisableTime(double).newValue - is new value for the disableTime field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public boolean getEnabled()
getEnabled in interface RigidBodyCollectionpublic RigidBodyCollectionObject setEnabled(boolean newValue)
setEnabled in interface RigidBodyCollectionnewValue - is new value for the enabled field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setEnabled(SFBoolObject newValue)
setEnabled(boolean).newValue - is new value for the enabled field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getErrorCorrection()
getErrorCorrection in interface RigidBodyCollectionpublic RigidBodyCollectionObject setErrorCorrection(float newValue)
setErrorCorrection in interface RigidBodyCollectionnewValue - is new value for the errorCorrection field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setErrorCorrection(SFFloatObject newValue)
setErrorCorrection(float).newValue - is new value for the errorCorrection field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float[] getGravity()
getGravity in interface RigidBodyCollectionpublic RigidBodyCollectionObject setGravity(float[] newValue)
setGravity in interface RigidBodyCollectionnewValue - is new value for the gravity field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setGravity(SFVec3fObject newValue)
setGravity(float[]).newValue - is new value for the gravity field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setGravity(float x, float y, float z)
setGravity(float[]).x - first componenty - second componentz - third componentRigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public int getIterations()
getIterations in interface RigidBodyCollectionpublic RigidBodyCollectionObject setIterations(int newValue)
setIterations in interface RigidBodyCollectionnewValue - is new value for the iterations field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setIterations(SFInt32Object newValue)
setIterations(int).newValue - is new value for the iterations field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public X3DNode[] getJoints()
getJoints in interface RigidBodyCollectionX3DRigidJointNodepublic java.util.ArrayList<X3DNode> getJointsList()
getJoints().public RigidBodyCollectionObject setJoints(X3DNode[] newValue)
setJoints in interface RigidBodyCollectionnewValue - is new value for the joints field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setJoints(java.util.ArrayList<X3DRigidJointNode> newValue)
setJoints(X3DNode[]).newValue - is new value for the joints field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject addJoints(X3DNode newValue)
newValue - is new value to be appended the joints field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public void addJoints(X3DNode[] newValue)
addJoints in interface RigidBodyCollectionnewValue - is new value array to be appended the joints field.public void setJoints(X3DNode newValue)
setJoints in interface RigidBodyCollectionnewValue - is new node for the joints field (restricted to X3DRigidJointNode)public RigidBodyCollectionObject setJoints(X3DConcreteNode newValue)
newValue - RigidBodyCollectionObject node to setRigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public RigidBodyCollectionObject clearJoints()
RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public boolean hasJoints()
getJoints()public float getMaxCorrectionSpeed()
getMaxCorrectionSpeed in interface RigidBodyCollectionpublic RigidBodyCollectionObject setMaxCorrectionSpeed(float newValue)
setMaxCorrectionSpeed in interface RigidBodyCollectionnewValue - is new value for the maxCorrectionSpeed field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setMaxCorrectionSpeed(SFFloatObject newValue)
setMaxCorrectionSpeed(float).newValue - is new value for the maxCorrectionSpeed field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface RigidBodyCollectiongetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic RigidBodyCollectionObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface RigidBodyCollectionsetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.RigidBodyCollectionObject - 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 RigidBodyCollectionObject clearMetadata()
RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public RigidBodyCollectionObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.RigidBodyCollectionObject - 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 boolean getPreferAccuracy()
getPreferAccuracy in interface RigidBodyCollectionpublic RigidBodyCollectionObject setPreferAccuracy(boolean newValue)
setPreferAccuracy in interface RigidBodyCollectionnewValue - is new value for the preferAccuracy field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setPreferAccuracy(SFBoolObject newValue)
setPreferAccuracy(boolean).newValue - is new value for the preferAccuracy field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final RigidBodyCollectionObject setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface RigidBodyCollectionsetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final RigidBodyCollectionObject 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 X3DChildNodesetUSE in interface X3DNodesetUSE in interface RigidBodyCollectionsetUSE in class X3DConcreteNodenewValue - is new value for the USE field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final RigidBodyCollectionObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface RigidBodyCollectionsetCssClass in class X3DConcreteNodenewValue - is new value for the class field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.RigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.RigidBodyCollectionObject - 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 RigidBodyCollectionObject setUSE(RigidBodyCollectionObject 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 definedRigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public RigidBodyCollectionObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueRigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public RigidBodyCollectionObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsRigidBodyCollectionObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public RigidBodyCollectionObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addRigidBodyCollectionObject - 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.