Class SingleAxisHingeJoint

java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteNode
org.web3d.x3d.jsail.RigidBodyPhysics.SingleAxisHingeJoint
All Implemented Interfaces:
X3DNode, SingleAxisHingeJoint, X3DRigidJointNode

public class SingleAxisHingeJoint extends X3DConcreteNode implements SingleAxisHingeJoint
SingleAxisHingeJoint has single axis about which to rotate, similar to a traditional door hinge. Contains two RigidBody nodes (containerField values body1, body2).

X3D node tooltip: (X3D version 3.2 or later) [X3DRigidJointNode] SingleAxisHingeJoint has single axis about which to rotate, similar to a traditional door hinge. 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:
X3D Abstract Specification: SingleAxisHingeJoint, X3D Tooltips: SingleAxisHingeJoint, X3D Scene Authoring Hints
  • 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:
      XML Schema: forceOutputValues, Constant Field Values
    • 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:
      XML Schema: forceOutputValues, Constant Field Values
    • NAME

      public static final String NAME
      String constant NAME provides name of this element: SingleAxisHingeJoint.
      See Also:
      Constant Field Values
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the SingleAxisHingeJoint element: RigidBodyPhysics
      See Also:
      Constant Field Values
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D RigidBodyPhysics component level for this element: 2
      See Also:
      Constant Field Values
    • 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).
    • AXIS_DEFAULT_VALUE

      public static final float[] AXIS_DEFAULT_VALUE
      SFVec3f field named axis 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).
    • MAXANGLE_DEFAULT_VALUE

      public static final float MAXANGLE_DEFAULT_VALUE
      SFFloat field named maxAngle has default value 3.141592653f (Java syntax) or 3.141592653 (XML syntax).
      See Also:
      Constant Field Values
    • METADATA_DEFAULT_VALUE

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

      public static final float MINANGLE_DEFAULT_VALUE
      SFFloat field named minAngle has default value -3.141592653f (Java syntax) or -3.141592653 (XML syntax).
      See Also:
      Constant Field Values
    • STOPBOUNCE_DEFAULT_VALUE

      public static final float STOPBOUNCE_DEFAULT_VALUE
      SFFloat field named stopBounce has default value 0f (Java syntax) or 0 (XML syntax).
      See Also:
      Constant Field Values
    • STOPERRORCORRECTION_DEFAULT_VALUE

      public static final float STOPERRORCORRECTION_DEFAULT_VALUE
      SFFloat field named stopErrorCorrection has default value 0.8f (Java syntax) or 0.8 (XML syntax).
      See Also:
      Constant Field Values
    • 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, default value is provided for informational purposes.
      See Also:
      X3D Scene Authoring Hints: containerField, X3D Unified Object Model (X3DUOM), Constant Field Values
    • fromField_ANCHORPOINT

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

      public static final String toField_ANCHORPOINT
      toField ROUTE name for SFVec3f field named anchorPoint.
      See Also:
      Constant Field Values
    • fromField_ANGLE

      public static final String fromField_ANGLE
      fromField ROUTE name for SFFloat field named angle.
      See Also:
      Constant Field Values
    • fromField_ANGLERATE

      public static final String fromField_ANGLERATE
      fromField ROUTE name for SFFloat field named angleRate.
      See Also:
      Constant Field Values
    • fromField_AXIS

      public static final String fromField_AXIS
      fromField ROUTE name for SFVec3f field named axis.
      See Also:
      Constant Field Values
    • toField_AXIS

      public static final String toField_AXIS
      toField ROUTE name for SFVec3f field named axis.
      See Also:
      Constant Field Values
    • fromField_BODY1

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

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

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

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

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

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

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

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

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
      Constant Field Values
    • fromField_MAXANGLE

      public static final String fromField_MAXANGLE
      fromField ROUTE name for SFFloat field named maxAngle.
      See Also:
      Constant Field Values
    • toField_MAXANGLE

      public static final String toField_MAXANGLE
      toField ROUTE name for SFFloat field named maxAngle.
      See Also:
      Constant Field Values
    • fromField_METADATA

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

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
      Constant Field Values
    • fromField_MINANGLE

      public static final String fromField_MINANGLE
      fromField ROUTE name for SFFloat field named minAngle.
      See Also:
      Constant Field Values
    • toField_MINANGLE

      public static final String toField_MINANGLE
      toField ROUTE name for SFFloat field named minAngle.
      See Also:
      Constant Field Values
    • fromField_STOPBOUNCE

      public static final String fromField_STOPBOUNCE
      fromField ROUTE name for SFFloat field named stopBounce.
      See Also:
      Constant Field Values
    • toField_STOPBOUNCE

      public static final String toField_STOPBOUNCE
      toField ROUTE name for SFFloat field named stopBounce.
      See Also:
      Constant Field Values
    • fromField_STOPERRORCORRECTION

      public static final String fromField_STOPERRORCORRECTION
      fromField ROUTE name for SFFloat field named stopErrorCorrection.
      See Also:
      Constant Field Values
    • toField_STOPERRORCORRECTION

      public static final String toField_STOPERRORCORRECTION
      toField ROUTE name for SFFloat field named stopErrorCorrection.
      See Also:
      Constant Field Values
  • Constructor Details

    • SingleAxisHingeJoint

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

      public SingleAxisHingeJoint(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