Class BallJoint

All Implemented Interfaces:
X3DNode, BallJoint, X3DRigidJointNode

public class BallJoint extends X3DConcreteNode implements BallJoint
BallJoint represents an unconstrained joint between two bodies that pivot about a common anchor point.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. BallJoint node tooltip: (X3D version 3.2 or later) [X3DRigidJointNode] BallJoint represents an unconstrained joint between two bodies that pivot about a common anchor point. Contains two RigidBody nodes (containerField values body1, body2).
  • Hint: RigidBodyPhysics component, level 2.

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
  • Field Details

    • FORCEOUTPUT_ALL

      public static final String FORCEOUTPUT_ALL
      Tooltip: all forceOutput fields computed. MFString field named forceOutput with X3DUOM simpleType forceOutputValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "ALL" (Java syntax) or '"ALL"' (XML syntax).
      See Also:
    • FORCEOUTPUT_NONE

      public static final String FORCEOUTPUT_NONE
      Tooltip: no forceOutput fields computed. MFString field named forceOutput with X3DUOM simpleType forceOutputValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "NONE" (Java syntax) or '"NONE"' (XML syntax).
      See Also:
    • NAME

      public static final String NAME
      String constant NAME provides name of this element: BallJoint.
      See Also:
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the BallJoint element: RigidBodyPhysics
      See Also:
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D RigidBodyPhysics component level for this element: 2
      See Also:
    • ANCHORPOINT_DEFAULT_VALUE

      public static final float[] ANCHORPOINT_DEFAULT_VALUE
      SFVec3f field named anchorPoint has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
    • BODY1_DEFAULT_VALUE

      public static final RigidBody BODY1_DEFAULT_VALUE
      SFNode field named body1 has default value null (Java syntax) or NULL (XML syntax).
    • BODY2_DEFAULT_VALUE

      public static final RigidBody BODY2_DEFAULT_VALUE
      SFNode field named body2 has default value null (Java syntax) or NULL (XML syntax).
    • FORCEOUTPUT_DEFAULT_VALUE

      public static final ArrayList<String> FORCEOUTPUT_DEFAULT_VALUE
      MFString field named forceOutput has default quoted value new String[] {"NONE"} (Java syntax) or quoted value "NONE" (XML syntax).
    • IS_DEFAULT_VALUE

      public static final IS IS_DEFAULT_VALUE
      SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • containerField_DEFAULT_VALUE

      public static final String containerField_DEFAULT_VALUE
      containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, this default value is provided for informational purposes only.
      containerField_DEFAULT_VALUE = "joints";
      containerField_ALLOWED_VALUES = {"joints" }; type xs:NMTOKEN
      See Also:
    • fromField_ANCHORPOINT

      public static final String fromField_ANCHORPOINT
      fromField ROUTE name for SFVec3f field named anchorPoint.
      See Also:
    • toField_ANCHORPOINT

      public static final String toField_ANCHORPOINT
      toField ROUTE name for SFVec3f field named anchorPoint.
      See Also:
    • fromField_BODY1

      public static final String fromField_BODY1
      fromField ROUTE name for SFNode field named body1.
      See Also:
    • toField_BODY1

      public static final String toField_BODY1
      toField ROUTE name for SFNode field named body1.
      See Also:
    • fromField_BODY1ANCHORPOINT

      public static final String fromField_BODY1ANCHORPOINT
      fromField ROUTE name for SFVec3f field named body1AnchorPoint.
      See Also:
    • fromField_BODY2

      public static final String fromField_BODY2
      fromField ROUTE name for SFNode field named body2.
      See Also:
    • toField_BODY2

      public static final String toField_BODY2
      toField ROUTE name for SFNode field named body2.
      See Also:
    • fromField_BODY2ANCHORPOINT

      public static final String fromField_BODY2ANCHORPOINT
      fromField ROUTE name for SFVec3f field named body2AnchorPoint.
      See Also:
    • fromField_FORCEOUTPUT

      public static final String fromField_FORCEOUTPUT
      fromField ROUTE name for MFString field named forceOutput.
      See Also:
    • toField_FORCEOUTPUT

      public static final String toField_FORCEOUTPUT
      toField ROUTE name for MFString field named forceOutput.
      See Also:
    • fromField_IS

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
    • fromField_METADATA

      public static final String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
    • toField_METADATA

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
  • Constructor Details

    • BallJoint

      public BallJoint()
      Constructor for BallJoint to initialize member variables with default values.
    • BallJoint

      public BallJoint(String DEFlabel)
      Utility constructor that assigns DEF label after initializing member variables with default values.
      Parameters:
      DEFlabel - unique DEF name for this X3D node
  • Method Details