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

NormalNode Class Reference

Abstract base class for normal nodes. More...

Inheritance diagram for NormalNode:

Node Normal List of all members.

Public Methods

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

virtual const NormalNode * toNormal () const throw ()
 Cast to a NormalNode.

virtual NormalNode * toNormal () throw ()
 Cast to a NormalNode.

virtual const MFVec3fgetVector () const=0 throw ()
 Get the array of normal vectors.


Protected Methods

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


Detailed Description

Abstract base class for normal nodes.


Constructor & Destructor Documentation

~NormalNode   throw () [pure virtual]
 

Destructor.

NormalNode 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 MFVec3f & getVector   const throw () [pure virtual]
 

Get the array of normal vectors.

Returns:
the array of normal vectors.

Implemented in Normal.

NormalNode * toNormal   throw () [virtual]
 

Cast to a NormalNode.

Returns:
a pointer to this NormalNode.

Reimplemented from Node.

const NormalNode * toNormal   const throw () [virtual]
 

Cast to a NormalNode.

Returns:
a pointer to this NormalNode.

Reimplemented from Node.