Interface X3DRigidJointNode
- All Superinterfaces:
X3DNode
- All Known Subinterfaces:
BallJoint,DoubleAxisHingeJoint,MotorJoint,SingleAxisHingeJoint,SliderJoint,UniversalJoint
- All Known Implementing Classes:
BallJointObject,DoubleAxisHingeJointObject,MotorJointObject,SingleAxisHingeJointObject,SliderJointObject,UniversalJointObject
public interface X3DRigidJointNode extends X3DNode
The X3DRigidJointNode abstract node type is the base type for all joint types.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Method Summary
Modifier and Type Method Description RigidBodygetBody1()Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body1.RigidBodygetBody2()Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body2.java.lang.String[]getForceOutput()Provide array of String enumeration results (baseType forceOutputValues) ['"ALL"' | '"NONE"' | '"etc."'] from inputOutput MFString field named forceOutput.X3DMetadataObjectgetMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.X3DRigidJointNodesetBody1(RigidBody newValue)Accessor method to assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.X3DRigidJointNodesetBody2(RigidBody newValue)Accessor method to assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.X3DRigidJointNodesetForceOutput(java.lang.String[] newValue)Accessor method to assign String enumeration array (""ALL"" | ""NONE"") to inputOutput MFString field named forceOutput.X3DRigidJointNodesetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
-
Method Details
-
getBody1
RigidBody getBody1()Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body1.- Returns:
- value of body1 field
-
setBody1
Accessor method to assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.- Parameters:
newValue- is new value for the body1 field.- Returns:
X3DRigidJointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getBody2
RigidBody getBody2()Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body2.- Returns:
- value of body2 field
-
setBody2
Accessor method to assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.- Parameters:
newValue- is new value for the body2 field.- Returns:
X3DRigidJointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getForceOutput
java.lang.String[] getForceOutput()Provide array of String enumeration results (baseType forceOutputValues) ['"ALL"' | '"NONE"' | '"etc."'] from inputOutput MFString field named forceOutput.- Returns:
- value of forceOutput field
-
setForceOutput
Accessor method to assign String enumeration array (""ALL"" | ""NONE"") to inputOutput MFString field named forceOutput.- Parameters:
newValue- is new value for the forceOutput field.- Returns:
X3DRigidJointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
X3DMetadataObject getMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceX3DNode- Returns:
- value of metadata field
- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceX3DNode- Parameters:
newValue- is new value for the metadata field.- Returns:
X3DRigidJointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-