| Home | Download | Screen shots | Discussion | Documentation |
|---|
Inheritance diagram for openvrml::texture_node:


Public Member Functions | |
| virtual | ~texture_node ()=0 throw () |
| Destroy. | |
| virtual const texture_node * | to_texture () const throw () |
| Cast to a texture_node. | |
| virtual texture_node * | to_texture () throw () |
| Cast to a texture_node. | |
| virtual size_t | components () const=0 throw () |
| Get the number of components for the image. | |
| virtual size_t | width () const=0 throw () |
| Get width of the image in pixels. | |
| virtual size_t | height () const=0 throw () |
| Get height of the image in pixels. | |
| virtual size_t | frames () const=0 throw () |
| Get the number of frames for a time-dependent texture. | |
| virtual const unsigned char * | pixels () const=0 throw () |
| Get the pixels. | |
| virtual bool | repeat_s () const=0 throw () |
| Get the flag indicating whether the texture should repeat in the S direction. | |
| virtual bool | repeat_t () const=0 throw () |
| Get the flag indicating whether the texture should repeat in the T direction. | |
Protected Member Functions | |
| texture_node (const node_type &type, const scope_ptr &scope) throw () | |
| Construct. | |
|
||||||||||||
|
Construct.
|
|
|
Get the number of components for the image.
Implemented in openvrml::vrml97_node::image_texture_node, openvrml::vrml97_node::movie_texture_node, and openvrml::vrml97_node::pixel_texture_node. |
|
|
Get the number of frames for a time-dependent texture.
Implemented in openvrml::vrml97_node::image_texture_node, openvrml::vrml97_node::movie_texture_node, and openvrml::vrml97_node::pixel_texture_node. |
|
|
Get height of the image in pixels.
Implemented in openvrml::vrml97_node::image_texture_node, openvrml::vrml97_node::movie_texture_node, and openvrml::vrml97_node::pixel_texture_node. |
|
|
Get the pixels.
Implemented in openvrml::vrml97_node::image_texture_node, openvrml::vrml97_node::movie_texture_node, and openvrml::vrml97_node::pixel_texture_node. |
|
|
Get the flag indicating whether the texture should repeat in the S direction.
Implemented in openvrml::vrml97_node::abstract_texture_node. |
|
|
Get the flag indicating whether the texture should repeat in the T direction.
Implemented in openvrml::vrml97_node::abstract_texture_node. |
|
|
Cast to a texture_node.
Reimplemented from openvrml::node. |
|
|
Cast to a texture_node.
Reimplemented from openvrml::node. |
|
|
Get width of the image in pixels.
Implemented in openvrml::vrml97_node::image_texture_node, openvrml::vrml97_node::movie_texture_node, and openvrml::vrml97_node::pixel_texture_node. |