NodeHumanoid Class Reference

#include <NodeHumanoid.h>

Inheritance diagram for NodeHumanoid:

Node List of all members.

Public Member Functions

 NodeHumanoid (Scene *scene, Proto *proto)
virtual int getType () const
virtual Nodecopy () const
virtual void setField (int index, FieldValue *value)

Protected Member Functions

virtual ~NodeHumanoid ()

Detailed Description

According to the Humanoid H-Anim Proto of the H-Anim1.1 Specification.

  PROTO Humanoid [
	exposedField    SFString   name                ""
	exposedField    MFString   info                []
	exposedField    SFString   version             "1.1"
	exposedField    MFNode     joints              []
	exposedField    MFNode     segments            []
	exposedField    MFNode     sites                 [ ]
	exposedField    MFNode     viewpoints            [ ]
	exposedField    MFNode     humanoidBody          [ ]
	exposedField    SFVec3f    center                0 0 0
	exposedField    SFRotation rotation              0 0 1 0
	exposedField    SFVec3f    scale                 1 1 1
	exposedField    SFRotation scaleOrientation      0 0 1 0
	exposedField    SFVec3f    transalation          0 0 0
	exposedField    SFVec3f    translation           0 0 0
	field           SFVec3f    bboxCenter            0 0 0
	field           SFVec3f    bboxSize              -1 -1 -1
    ]

 


Constructor & Destructor Documentation

NodeHumanoid::NodeHumanoid ( Scene scene,
Proto proto 
)

NodeHumanoid::~NodeHumanoid (  )  [protected, virtual]


Member Function Documentation

virtual int NodeHumanoid::getType (  )  const [inline, virtual]

Returns the Type of a Node in the Node subclasses(here pure virtual). E.g. for the NodeGroup it returns NODE_GROUP

Implements Node.

virtual Node* NodeHumanoid::copy (  )  const [inline, virtual]

Creates a new instance of that Node in the Node subclasses(here pure virtual).

Implements Node.

void NodeHumanoid::setField ( int  index,
FieldValue value 
) [virtual]

Sets the Field at that index with the specified FieldValue value. Special care is taken if the field is SF-MFNode.

Reimplemented from Node.


Generated on Thu Jan 18 10:06:19 2007 for vhdPLUS by  doxygen 1.5.1-p1