Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
image_texture_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
virtual | ~image_texture_node () throw () |
Destroy. | |
virtual const openvrml::image & | image () const throw () |
The image. | |
virtual size_t | frames () const throw () |
The number of frames. | |
Private Member Functions | |
virtual viewer::texture_object_t | do_render_texture (viewer &v) |
render_texture implementation. | |
void | update_texture () |
Called to lazily update texture data. | |
Private Attributes | |
url_exposedfield | url_ |
url exposedField. | |
openvrml::image | image_ |
Image data. | |
bool | texture_needs_update |
Flag to indicate that image_texture_node::update_texture should be called. | |
Friends | |
class | image_texture_class |
Class object for ImageTexture nodes. | |
Classes | |
class | url_exposedfield |
url exposedField. More... |
openvrml::vrml97_node::image_texture_node::image_texture_node | ( | const node_type & | type, | |
const boost::shared_ptr< openvrml::scope > & | scope | |||
) |
openvrml::vrml97_node::image_texture_node::~image_texture_node | ( | ) | throw () [virtual] |
Destroy.
const image & openvrml::vrml97_node::image_texture_node::image | ( | ) | const throw () [virtual] |
size_t openvrml::vrml97_node::image_texture_node::frames | ( | ) | const throw () [virtual] |
viewer::texture_object_t openvrml::vrml97_node::image_texture_node::do_render_texture | ( | viewer & | v | ) | [private, virtual] |
render_texture implementation.
v | viewer. |
Reimplemented from openvrml::texture_node.
void openvrml::vrml97_node::image_texture_node::update_texture | ( | ) | [private] |
Called to lazily update texture data.
class openvrml::vrml97_node::image_texture_node::image_texture_class [friend] |
Class object for ImageTexture nodes.
url exposedField.
Image data.
Flag to indicate that image_texture_node::update_texture should be called.