Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

openvrml::vrml97_node::abstract_texture_node Class Reference

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

Inheritance diagram for openvrml::vrml97_node::abstract_texture_node:

Inheritance graph
[legend]
Collaboration diagram for openvrml::vrml97_node::abstract_texture_node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~abstract_texture_node ()=0 throw ()
 Destroy.

virtual bool repeat_s () const throw ()
 Get the repeatS flag.

virtual bool repeat_t () const throw ()
 Get the repeatT flag.


Protected Member Functions

 abstract_texture_node (const node_type &type, const scope_ptr &scope)
 Construct.


Protected Attributes

sfbool repeatS
 repeatS field.

sfbool repeatT
 repeatT field.


Detailed Description

Abstract base class for VRML97 texture nodes.


Constructor & Destructor Documentation

openvrml::vrml97_node::abstract_texture_node::abstract_texture_node const node_type type,
const scope_ptr scope
[protected]
 

Construct.

Parameters:
type the node_type for the node instance.
scope the scope to which the node belongs.

Member Function Documentation

bool openvrml::vrml97_node::abstract_texture_node::repeat_s  )  const throw () [virtual]
 

Get the repeatS flag.

Returns:
true if the texture should repeat in the S direction, false otherwise.

Implements openvrml::texture_node.

bool openvrml::vrml97_node::abstract_texture_node::repeat_t  )  const throw () [virtual]
 

Get the repeatT flag.

Returns:
true if the texture should repeat in the T direction, false otherwise.

Implements openvrml::texture_node.