Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

ColorNode Class Reference

Abstract base class for color nodes. More...

Inheritance diagram for ColorNode:

Node Color List of all members.

Public Methods

virtual ~ColorNode ()=0 throw ()
 Destructor.

virtual const ColorNode * toColor () const throw ()
 Cast to a ColorNode.

virtual ColorNode * toColor () throw ()
 Cast to a ColorNode.

virtual const MFColorgetColor () const=0 throw ()
 Get the color array encapsulated by this node.


Protected Methods

 ColorNode (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.


Detailed Description

Abstract base class for color nodes.


Constructor & Destructor Documentation

~ColorNode   throw () [pure virtual]
 

Destructor.

ColorNode const NodeType   nodeType,
const ScopePtr   scope
[protected]
 

Constructor.

Parameters:
nodeType the NodeType associated with the node.
scope the Scope the node belongs to.

Member Function Documentation

const MFColor & getColor   const throw () [pure virtual]
 

Get the color array encapsulated by this node.

Returns:
the MFColor for this node.

Implemented in Color.

ColorNode * toColor   throw () [virtual]
 

Cast to a ColorNode.

Returns:
a pointer to this ColorNode.

Reimplemented from Node.

const ColorNode * toColor   const throw () [virtual]
 

Cast to a ColorNode.

Returns:
a pointer to this ColorNode.

Reimplemented from Node.