Class BaseHAnimSegment

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

public abstract class BaseHAnimSegment extends BaseGroupingNode implements VRMLHAnimNodeType
Common base implementation for the field handling of a HAnimSegment node.

The node is defined as follows:

  HAnimSegment : X3DGroupingNode {
    MFNode   [in]     addChildren                          [X3DChildNode]
    MFNode   [in]     removeChildren                       [X3DChildNode]
    SFVec3f  [in,out] centerOfMass     0 0 0               (-inf,inf)
    MFNode   [in,out] children         []                  [X3DChildNode]
    SFNode   [in,out] coord            NULL                [X3DCoordinateNode]
    MFNode   [in,out] displacers       []                  [HAnimDisplacer]
    SFFloat  [in,out] mass             0                   (0,inf)
    SFNode   [in,out] metadata         NULL                [X3DMetadataObject]
    MFFloat  [in,out] momentsOfInertia [0 0 0 0 0 0 0 0 0] [0,inf)
    SFString [in,out] name             ""
    SFVec3f  []       bboxCenter       0 0 0               (-inf,inf)
    SFVec3f  []       bboxSize         -1 -1 -1            [0,inf) or -1 -1 -1
    SFBool            bboxDisplay      FALSE
  }
 
This class does not pass the children field values along to the render implementation node because that needs to be a renderer-specific object. Derived classes need to handle this in the setHAnimFactory() call and any time the children are set.
Version:
$Revision: 2.4 $
Author:
Justin Couch