#include <SimpleMovieTexture.h>
Inheritance diagram for H3D::SimpleMovieTexture:

Public Member Functions | |
| SimpleMovieTexture (Inst< DisplayList > _displayList=0, Inst< SFNode > _metadata=0, Inst< SFBool > _repeatS=0, Inst< SFBool > _repeatT=0, Inst< SFBool > _scaleToP2=0, Inst< SFImage > _image=0, Inst< SFTextureProperties > _textureProperties=0, Inst< SFBool > _play=0, Inst< SFBool > _stop=0, Inst< SFBool > _pause=0, Inst< SFTime > _duration=0, Inst< SFFloat > _rate=0, Inst< SFBool > _playAudio=0, Inst< SFBool > _loop=0, Inst< SFInt32 > _width=0, Inst< SFInt32 > _height=0, Inst< MFString > _url=0) | |
| Constructor. | |
Public Attributes | |
| auto_ptr< SFBool > | play |
| If a true event is received by the "play" field the movie will start playing, if it paused or stopped. | |
| auto_ptr< SFBool > | stop |
| If a true event is received by the "stop" field the movie will stop playing, and the playback position will be reset to the beginning, so that a later "play" event will start playing from the start. | |
| auto_ptr< SFBool > | pause |
| If a true event is received by the "pause" field the movie will be paused. | |
| auto_ptr< SFTime > | duration |
| The duration field is an output only field for the duration of the currently loaded video clip played at normal rate in seconds. | |
| auto_ptr< SFFloat > | rate |
| The rate field determines the rate at which the movie should be played. | |
| auto_ptr< SFBool > | playAudio |
| The playAudio field determines whether audio should be played or not if the movie contains an audio stream. | |
| auto_ptr< SFBool > | loop |
| The loop field determines or not the movie should start over from the beginning when the end has been reached. | |
| auto_ptr< SFInt32 > | videoWidth |
| The videoWidth contains the width in pixels of the currently loaded video clip. | |
| auto_ptr< SFInt32 > | videoHeight |
| The videoWidth contains the width in pixels of the currently loaded video clip. | |
| auto_ptr< DecoderManager > | decoderManager |
| The DecoderManager class manages all state changes in the decoder depending on the values of the fields in SimpleMovieTexture. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
Classes | |
| class | DecoderManager |
| The DecoderManager class manages all state changes in the decoder depending on the values of the fields in SimpleMovieTexture. More... | |
|
|
The duration field is an output only field for the duration of the currently loaded video clip played at normal rate in seconds.
Access type: outputOnly
|
|
|
The loop field determines or not the movie should start over from the beginning when the end has been reached.
Access type: inputOutput
|
|
|
If a true event is received by the "pause" field the movie will be paused. It can be resumed again by sending a false event to the "pause" field or a start event to the "play" field.
Access type: inputOnly
|
|
|
If a true event is received by the "play" field the movie will start playing, if it paused or stopped. If it is currently running nothing will happen.
Access type: inputOnly
|
|
|
The playAudio field determines whether audio should be played or not if the movie contains an audio stream.
Access type: inputOutput
|
|
|
The rate field determines the rate at which the movie should be played. A value of 1 specifies normal playback rate, and a value of e.g. 2 doubles the playback rate. A negative value means that the movie should be played backwards. All video decoders does not support all rates (especially not negative).
Access type: inputOutput
|
|
|
If a true event is received by the "stop" field the movie will stop playing, and the playback position will be reset to the beginning, so that a later "play" event will start playing from the start.
Access type: inputOnly
|
|
|
The videoWidth contains the width in pixels of the currently loaded video clip.
Access type: outputOnly
|
|
|
The videoWidth contains the width in pixels of the currently loaded video clip.
Access type: outputOnly
|
1.4.5