Class BaseHAnimJoint

java.lang.Object
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLBoundedNodeType, VRMLChildNodeType, VRMLGroupingNodeType, VRMLHAnimNodeType, VRMLNodeType, VRMLWorldRootChildNodeType
Direct Known Subclasses:
NRHAnimJoint, OGLHAnimJoint

public abstract class BaseHAnimJoint extends BaseGroupingNode implements VRMLHAnimNodeType
Common implementation for the field handling of the HAnimJoint node.

The node is defined as follows:

  HAnimJoint : X3DGroupingNode {
    MFNode     [in]     addChildren               [HAnimJoint,HAnimSegment,HAnimSite]
    MFNode     [in]     removeChildren            [HAnimJoint,HAnimSegment,HAnimSite]
    SFVec3f    [in,out] center           0 0 0    (-inf,inf)
    MFNode     [in,out] children         []       [HAnimJoint,HAnimSegment,HAnimSite]
    SFRotation [in,out] limitOrientation 0 0 1 0  (-inf,inf)|[-1,1]
    MFFloat    [in,out] llimit           []       (-inf,inf)
    SFNode     [in,out] metadata         NULL     [X3DMetadataObject]
    SFString   [in,out] name             ""
    SFRotation [in,out] rotation         0 0 1 0  (-inf,inf)|[-1,1]
    SFVec3f    [in,out] scale            1 1 1    (0,inf)
    SFRotation [in,out] scaleOrientation 0 0 1 0  (-inf,inf)|[-1,1]
    MFInt32    [in,out] skinCoordIndex   []
    MFFloat    [in,out] skinCoordWeight  []
    MFFloat    [in,out] stiffness        [0 0 0]  [0,1]
    SFVec3f    [in,out] translation      0 0 0    (-inf,inf)
    MFFloat    [in,out] ulimit           []       (-inf,inf)
    SFVec3f    []       bboxCenter       0 0 0    (-inf,inf)
    SFVec3f    []       bboxSize         -1 -1 -1 [0,inf) or -1 -1 -1
    SFBool              bboxDisplay      FALSE
  }
 
This base class does not automatically update the underlying transform with each set() call. These calls only update the local field values, but not the transform that would be used in the rendering code. To make sure this is updated, call the updateMatrix() method and then use the updated matrix in your rendering code.
Version:
$Revision: 2.3 $
Author:
Justin Couch