NodeColor Class Reference

#include <NodeColor.h>

Inheritance diagram for NodeColor:

Node List of all members.

Public Member Functions

 NodeColor (Scene *scene, Proto *proto)
virtual ~NodeColor ()
virtual int getType () const
virtual Nodecopy () const
virtual int getNodeClass () const

Detailed Description

According to the Color Node of VRML97 specification.

  Color { 
  exposedField MFColor color  []         # [0,1]
}


Constructor & Destructor Documentation

NodeColor::NodeColor ( Scene scene,
Proto proto 
)

virtual NodeColor::~NodeColor (  )  [inline, virtual]


Member Function Documentation

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

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

Implements Node.

virtual int NodeColor::getNodeClass (  )  const [inline, virtual]

Returns a NODE_CHILD as a node class (used to validate the scene)

Reimplemented from Node.


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