Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::vrml97_node::image_texture_node:
Public Member Functions | |
image_texture_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
virtual | ~image_texture_node () throw () |
Destroy. | |
virtual void | render (openvrml::viewer &viewer, rendering_context context) |
Render the node. | |
virtual size_t | components () const throw () |
The number of components. | |
virtual size_t | width () const throw () |
The image width in pixels. | |
virtual size_t | height () const throw () |
The image height in pixels. | |
virtual size_t | frames () const throw () |
The number of frames. | |
virtual const unsigned char * | pixels () const throw () |
The image pixel data. | |
Private Member Functions | |
void | process_set_url (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_url eventIn handler. | |
Private Attributes | |
mfstring | url |
url exposedField. | |
img * | image |
Image data. | |
viewer::texture_object_t | texObject |
Handler for the renderer. | |
Friends | |
class | image_texture_class |
Class object for ImageTexture nodes. |
|
Construct.
|
|
The number of components.
Implements openvrml::texture_node. |
|
The number of frames.
Implements openvrml::texture_node. |
|
The image height in pixels.
Implements openvrml::texture_node. |
|
The image pixel data.
Implements openvrml::texture_node. |
|
set_url eventIn handler.
|
|
Render the node.
Reimplemented from openvrml::node. |
|
The image width in pixels.
Implements openvrml::texture_node. |