NodeSite Class Reference

#include <NodeSite.h>

Inheritance diagram for NodeSite:

Node List of all members.

Public Member Functions

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

Protected Member Functions

virtual ~NodeSite ()

Detailed Description

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

  PROTO Site [
	eventIn         MFNode      addChildren
	eventIn         MFNode      removeChildren
	exposedField    MFNode      children       []
	exposedField    SFString    name           "" 
	exposedField    SFRotation  rotation       0 0 1 0
	exposedField    SFVec3f     translation    0 0 0
]


Constructor & Destructor Documentation

NodeSite::NodeSite ( Scene scene,
Proto proto 
)

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


Member Function Documentation

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

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

Implements Node.

void NodeSite::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:20 2007 for vhdPLUS by  doxygen 1.5.1-p1