| Home | Download | Screen shots | Discussion | Documentation |
|---|
Public Member Functions | |
| movie_texture_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &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 const openvrml::image & | image () const throw () |
| The image. | |
| virtual size_t | frames () const throw () |
| The number of frames. | |
Private Member Functions | |
| virtual void | do_initialize (double timestamp) throw (std::bad_alloc) |
| Initialize. | |
| virtual void | do_shutdown (double timestamp) throw () |
| Shut down. | |
| virtual viewer::texture_object_t | do_render_texture (viewer &v) |
| render_texture implementation. | |
Private Attributes | |
| exposedfield< sfbool > | loop_ |
| loop exposedField. | |
| set_speed_listener | set_speed_ |
| set_speed event handler for the speed exposedField. | |
| sffloat | speed_ |
| Value for speed exposedField. | |
| sffloat_emitter | speed_changed_ |
| speed_changed event emitter for the speed exposedField. | |
| exposedfield< sftime > | start_time_ |
| startTime exposedField. | |
| exposedfield< sftime > | stop_time_ |
| stopTime exposedField. | |
| exposedfield< mfstring > | url_ |
| url exposedField. | |
| sftime | duration_ |
| duration value. | |
| sftime_emitter | duration_changed_ |
| duration_changed eventOut | |
| sfbool | active_ |
| active state. | |
| sfbool_emitter | is_active_ |
| isActive eventOut. | |
| img * | img_ |
| Movie data. | |
| openvrml::image | image_ |
| Frame 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. | |
Friends | |
| class | movie_texture_class |
| Class object for MovieTexture nodes. | |
Classes | |
| class | set_speed_listener |
| set_speed eventIn handler. More... | |
| openvrml::vrml97_node::movie_texture_node::movie_texture_node | ( | const node_type & | type, | |
| const boost::shared_ptr< openvrml::scope > & | scope | |||
| ) |
| openvrml::vrml97_node::movie_texture_node::~movie_texture_node | ( | ) | throw () [virtual] |
Destroy.
| movie_texture_node * openvrml::vrml97_node::movie_texture_node::to_movie_texture | ( | ) | const [virtual] |
Cast to a movie_texture_node.
Reimplemented from openvrml::node.
| void openvrml::vrml97_node::movie_texture_node::update | ( | double | time | ) |
| const image & openvrml::vrml97_node::movie_texture_node::image | ( | ) | const throw () [virtual] |
| size_t openvrml::vrml97_node::movie_texture_node::frames | ( | ) | const throw () [virtual] |
| void openvrml::vrml97_node::movie_texture_node::do_initialize | ( | double | timestamp | ) | throw (std::bad_alloc) [private, virtual] |
Initialize.
| timestamp | the current time. |
| std::bad_alloc | if memory allocation fails. |
Reimplemented from openvrml::node.
| void openvrml::vrml97_node::movie_texture_node::do_shutdown | ( | double | timestamp | ) | throw () [private, virtual] |
| viewer::texture_object_t openvrml::vrml97_node::movie_texture_node::do_render_texture | ( | viewer & | v | ) | [private, virtual] |
render_texture implementation.
| v | viewer. |
Reimplemented from openvrml::texture_node.
class openvrml::vrml97_node::movie_texture_node::movie_texture_class [friend] |
Class object for MovieTexture nodes.
loop exposedField.
movie_texture_node::set_speed_listener openvrml::vrml97_node::movie_texture_node::set_speed_ [private] |
set_speed event handler for the speed exposedField.
Value for speed exposedField.
speed_changed event emitter for the speed exposedField.
startTime exposedField.
stopTime exposedField.
url exposedField.
duration value.
duration_changed eventOut
active state.
isActive eventOut.
img * openvrml::vrml97_node::movie_texture_node::img_ [private] |
Movie data.
Frame data.
int openvrml::vrml97_node::movie_texture_node::frame [private] |
Index of the currently shown frame.
int openvrml::vrml97_node::movie_texture_node::lastFrame [private] |
Index of the previously shown frame.
double openvrml::vrml97_node::movie_texture_node::lastFrameTime [private] |
Timestamp corresponding to the showing of the previous frame.