openvrml::texture_node Class Reference
Abstract base class for texture nodes.
More...
#include <openvrml/node.h>
List of all members.
Detailed Description
Abstract base class for texture nodes.
Constructor & Destructor Documentation
openvrml::texture_node::~texture_node |
( |
|
) |
throw () [pure virtual] |
openvrml::texture_node::texture_node |
( |
const node_type & |
type, |
|
|
const boost::shared_ptr< openvrml::scope > & |
scope | |
|
) |
| | throw () [protected] |
Member Function Documentation
void openvrml::texture_node::render_texture |
( |
viewer & |
v |
) |
|
Insert a texture into a viewer.
- Parameters:
-
bool openvrml::texture_node::repeat_s |
( |
|
) |
const throw () |
Get the flag indicating whether the texture should repeat in the S direction.
This function delegates to do_repeat_s
.
- Returns:
true
if the image should repeat in the S direction, false
otherwise.
bool openvrml::texture_node::repeat_t |
( |
|
) |
const throw () |
Get the flag indicating whether the texture should repeat in the T direction.
This function delegates to do_repeat_t
.
- Returns:
true
if the image should repeat in the T direction, false
otherwise.
void openvrml::texture_node::do_render_texture |
( |
viewer & |
v |
) |
[private, virtual] |
const openvrml::image & openvrml::texture_node::do_image |
( |
|
) |
const throw () [private, pure virtual] |
bool openvrml::texture_node::do_repeat_s |
( |
|
) |
const throw () [private, pure virtual] |
Get the flag indicating whether the texture should repeat in the S direction.
- Returns:
true
if the image should repeat in the S direction, false
otherwise.
bool openvrml::texture_node::do_repeat_t |
( |
|
) |
const throw () [private, pure virtual] |
Get the flag indicating whether the texture should repeat in the T direction.
- Returns:
true
if the image should repeat in the T direction, false
otherwise.