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

AbstractTexture Class Reference

Abstract base class for VRML97 texture nodes. More...

Inheritance diagram for AbstractTexture:

AbstractBase TextureNode Node Node ImageTexture MovieTexture PixelTexture List of all members.

Public Methods

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

virtual const SFBoolgetRepeatS () const throw ()
 Get the repeatS flag.

virtual const SFBoolgetRepeatT () const throw ()
 Get the repeatT flag.


Protected Methods

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


Protected Attributes

SFBool repeatS
SFBool repeatT

Detailed Description

Abstract base class for VRML97 texture nodes.


Constructor & Destructor Documentation

~AbstractTexture   throw () [pure virtual]
 

Destructor.

AbstractTexture const NodeType   nodeType,
const ScopePtr   scope
[protected]
 

Constructor.

Parameters:
nodeType the NodeType for the node instance.
scope the Scope to which the node belongs.

Member Function Documentation

const SFBool & getRepeatS   const throw () [virtual]
 

Get the repeatS flag.

Returns:
TRUE if the texture should repeat in the S direction, FALSE otherwise.

Implements TextureNode.

const SFBool & getRepeatT   const throw () [virtual]
 

Get the repeatT flag.

Returns:
TRUE if the texture should repeat in the T direction, FALSE otherwise.

Implements TextureNode.