Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::vrml97_node::movie_texture_node:
Public Member Functions | |
movie_texture_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
virtual | ~movie_texture_node () throw () |
Destroy. | |
virtual movie_texture_node * | to_movie_texture () const |
Cast to a movie_texture_node. | |
void | update (double time) |
Update the node for the current timestamp. | |
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 width in pixels. | |
virtual size_t | height () const throw () |
The height in pixels. | |
virtual size_t | frames () const throw () |
The number of frames. | |
virtual const unsigned char * | pixels () const throw () |
Pixel data for the current frame. | |
Private Member Functions | |
virtual void | do_initialize (double timestamp) throw (std::bad_alloc) |
Initialize. | |
virtual void | do_shutdown (double timestamp) throw () |
Shut down. | |
void | process_set_loop (const field_value &value, double timestamp) throw (std::bad_cast) |
set_loop eventIn handler. | |
void | process_set_speed (const field_value &value, double timestamp) throw (std::bad_cast) |
set_speed eventIn handler. | |
void | process_set_startTime (const field_value &value, double timestamp) throw (std::bad_cast) |
set_startTime eventIn handler. | |
void | process_set_stopTime (const field_value &value, double timestamp) throw (std::bad_cast) |
set_stopTime eventIn handler. | |
void | process_set_url (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
set_url eventIn handler. | |
Private Attributes | |
sfbool | loop |
loop exposedField. | |
sffloat | speed |
speed exposedField. | |
sftime | startTime |
startTime exposedField. | |
sftime | stopTime |
stopTime exposedField. | |
mfstring | url |
url exposedField. | |
sftime | duration |
duration_changed eventOut. | |
sfbool | active |
isActive eventOut. | |
img * | image |
Image data. | |
int | frame |
Index of the currently shown frame. | |
int | lastFrame |
Index of the previously shown frame. | |
double | lastFrameTime |
Timestamp corresponding to the showing of the previous frame. | |
viewer::texture_object_t | texObject |
Handle for the renderer. | |
Friends | |
class | movie_texture_class |
Class object for MovieTexture nodes. |
|
Construct.
|
|
Destroy.
|
|
The number of components.
Implements openvrml::texture_node. |
|
Initialize.
Reimplemented from openvrml::node. |
|
Shut down.
Reimplemented from openvrml::node. |
|
The number of frames.
Implements openvrml::texture_node. |
|
The height in pixels.
Implements openvrml::texture_node. |
|
Pixel data for the current frame.
Implements openvrml::texture_node. |
|
set_loop eventIn handler.
|
|
set_speed eventIn handler.
|
|
set_startTime eventIn handler.
|
|
set_stopTime eventIn handler.
|
|
set_url eventIn handler.
|
|
Render the node. Render a frame if there is one available.
Reimplemented from openvrml::node. |
|
Cast to a movie_texture_node.
Reimplemented from openvrml::node. |
|
Update the node for the current timestamp.
|
|
The width in pixels.
Implements openvrml::texture_node. |
|
Class object for MovieTexture nodes.
|
|
isActive eventOut.
|
|
duration_changed eventOut.
|
|
Index of the currently shown frame.
|
|
Image data.
|
|
Index of the previously shown frame.
|
|
Timestamp corresponding to the showing of the previous frame.
|
|
loop exposedField.
|
|
speed exposedField.
|
|
startTime exposedField.
|
|
stopTime exposedField.
|
|
Handle for the renderer.
|
|
url exposedField.
|