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

AppearanceNode Class Reference

Abstract base class for appearance nodes. More...

Inheritance diagram for AppearanceNode:

Node Appearance List of all members.

Public Methods

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

virtual const AppearanceNode * toAppearance () const throw ()
 Cast to an AppearanceNode.

virtual AppearanceNode * toAppearance () throw ()
 Cast to an AppearanceNode.

virtual const SFNodegetMaterial () const=0 throw ()
 Get the material node associated with this appearance node.

virtual const SFNodegetTexture () const=0 throw ()
 Get the texture node associated with this appearance node.

virtual const SFNodegetTextureTransform () const=0 throw ()
 Get the texture transform node associated with this appearance node.


Protected Methods

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


Detailed Description

Abstract base class for appearance nodes.


Constructor & Destructor Documentation

~AppearanceNode   throw () [pure virtual]
 

Destructor.

AppearanceNode 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 SFNode & getMaterial   const throw () [pure virtual]
 

Get the material node associated with this appearance node.

Returns:
the MaterialNode associated with this AppearanceNode.

Implemented in Appearance.

const SFNode & getTexture   const throw () [pure virtual]
 

Get the texture node associated with this appearance node.

Returns:
the TextureNode associated with this AppearanceNode.

Implemented in Appearance.

const SFNode & getTextureTransform   const throw () [pure virtual]
 

Get the texture transform node associated with this appearance node.

Returns:
the TextureTransformNode associated with this AppearanceNode.

Implemented in Appearance.

AppearanceNode * toAppearance   throw () [virtual]
 

Cast to an AppearanceNode.

Returns:
a pointer to this AppearanceNode.

Reimplemented from Node.

const AppearanceNode * toAppearance   const throw () [virtual]
 

Cast to an AppearanceNode.

Returns:
a pointer to this AppearanceNode.

Reimplemented from Node.