H3D::SimpleMovieTexture Class Reference
[H3D specific Node classes.]

SimpleMovieTexture is a node for showing movies as textures with a simpler interface than the movie texture node. More...

#include <SimpleMovieTexture.h>

Inheritance diagram for H3D::SimpleMovieTexture:

Inheritance graph
List of all members.

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< SFBoolplay
 If a true event is received by the "play" field the movie will start playing, if it paused or stopped.
auto_ptr< SFBoolstop
 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< SFBoolpause
 If a true event is received by the "pause" field the movie will be paused.
auto_ptr< SFTimeduration
 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< SFFloatrate
 The rate field determines the rate at which the movie should be played.
auto_ptr< SFBoolplayAudio
 The playAudio field determines whether audio should be played or not if the movie contains an audio stream.
auto_ptr< SFBoolloop
 The loop field determines or not the movie should start over from the beginning when the end has been reached.
auto_ptr< SFInt32videoWidth
 The videoWidth contains the width in pixels of the currently loaded video clip.
auto_ptr< SFInt32videoHeight
 The videoWidth contains the width in pixels of the currently loaded video clip.
auto_ptr< DecoderManagerdecoderManager
 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...

Detailed Description

SimpleMovieTexture is a node for showing movies as textures with a simpler interface than the movie texture node.


Member Data Documentation

auto_ptr< SFTime > H3D::SimpleMovieTexture::duration
 

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

SimpleMovieTexture_duration.dot

auto_ptr< SFBool > H3D::SimpleMovieTexture::loop
 

The loop field determines or not the movie should start over from the beginning when the end has been reached.

Access type: inputOutput
Default value: false

SimpleMovieTexture_loop.dot

auto_ptr< SFBool > H3D::SimpleMovieTexture::pause
 

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

SimpleMovieTexture_pause.dot

auto_ptr< SFBool > H3D::SimpleMovieTexture::play
 

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

SimpleMovieTexture_play.dot

auto_ptr< SFBool > H3D::SimpleMovieTexture::playAudio
 

The playAudio field determines whether audio should be played or not if the movie contains an audio stream.

Access type: inputOutput
Default value: true

SimpleMovieTexture_playAudio.dot

auto_ptr< SFFloat > H3D::SimpleMovieTexture::rate
 

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
Default value: 1.0

SimpleMovieTexture_rate.dot

auto_ptr< SFBool > H3D::SimpleMovieTexture::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.

Access type: inputOnly

SimpleMovieTexture_stop.dot

auto_ptr< SFInt32 > H3D::SimpleMovieTexture::videoHeight
 

The videoWidth contains the width in pixels of the currently loaded video clip.

Access type: outputOnly

SimpleMovieTexture_videoHeight.dot

auto_ptr< SFInt32 > H3D::SimpleMovieTexture::videoWidth
 

The videoWidth contains the width in pixels of the currently loaded video clip.

Access type: outputOnly

SimpleMovieTexture_videoWidth.dot


Generated on Thu Aug 24 12:39:59 2006 for H3D API by  doxygen 1.4.5