NodeJoint Class Reference

#include <NodeJoint.h>

Inheritance diagram for NodeJoint:

Node List of all members.

Public Member Functions

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

Protected Member Functions

virtual ~NodeJoint ()

Detailed Description

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

  PROTO Joint [
	exposedField   SFString    name                ""
	exposedField   SFVec3f     translation         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     center              0 0 0
	exposedField   MFNode      children            []
	exposedField   MFFloat     ulimit              [ 0 0 0 ]
	exposedField   MFFloat     llimit              [ 0 0 0 ]
	exposedField   SFRotation  limitOrientation    0 0 1 0
	exposedField   MFFloat     stiffness           [1 1 1]
]


Constructor & Destructor Documentation

NodeJoint::NodeJoint ( Scene scene,
Proto proto 
)

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


Member Function Documentation

virtual int NodeJoint::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* NodeJoint::copy (  )  const [inline, virtual]

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

Implements Node.

void NodeJoint::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