Class BaseHAnimHumanoid

java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.hanim.BaseHAnimHumanoid
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLBoundedNodeType, VRMLChildNodeType, VRMLHAnimHumanoidNodeType, VRMLHAnimNodeType, VRMLNodeType, VRMLWorldRootChildNodeType
Direct Known Subclasses:
NRHAnimHumanoid, OGLHAnimHumanoid

public abstract class BaseHAnimHumanoid extends AbstractNode implements VRMLChildNodeType, VRMLBoundedNodeType, VRMLHAnimHumanoidNodeType
Common implementation for the field handling of a HAnimHumanoid node.

The node is defined as follows:

  HAnimHumanoid : X3DChildNode, X3DBoundedObject {
    SFVec3f    [in,out] center           0 0 0    (-inf,inf)
    MFString   [in,out] info             []
    MFNode     [in,out] joints           []       [HAnimJoint]
    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]
    MFNode     [in,out] segments         []       [HAnimSegment]
    MFNode     [in,out] sites            []       [HAnimSite]
    MFNode     [in,out] skeleton         []       [HAnimJoint]
    MFNode     [in,out] skin             []       [X3DChildNode]
    SFNode     [in,out] skinCoord        NULL     [X3DCoordinateNode]
    SFNode     [in,out] skinNormal       NULL     [X3DNormalNode]
    SFVec3f    [in,out] translation      0 0 0    (-inf,inf)
    SFString   [in,out] version          ""
    MFNode     [in,out] viewpoints       []       [Viewpoint]
    SFVec3f    []       bboxCenter       0 0 0    (-inf,inf)
    SFVec3f    []       bboxSize         -1 -1 -1 [0,inf) or -1 -1 -1
    SFBool     [in,out] bboxDisplay      FALSE
    SFBool     [in,out] visible      TRUE
  }
 
This class does not pass the viewpoint 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 viewpoints are set.
Version:
$Revision: 2.7 $
Author:
Justin Couch