Image Stream class.
More...
List of all members.
Public Types |
| enum | StreamStatus { INVALID,
PLAYING,
PAUSED,
REWINDING
} |
| enum | LoopingMode { NO_LOOPING,
LOOPING
} |
typedef std::vector
< osg::ref_ptr
< osg::AudioStream > > | AudioStreams |
Public Member Functions |
| | ImageStream () |
| | ImageStream (const ImageStream &image, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
| | Copy constructor using CopyOp to manage deep vs shallow copy.
|
| virtual Object * | cloneType () const |
| | Clone the type of an object, with Object* return type.
|
| virtual Object * | clone (const CopyOp ©op) const |
| | Clone an object, with Object* return type.
|
| virtual bool | isSameKindAs (const Object *obj) const |
| virtual const char * | libraryName () const |
| | return the name of the object's library.
|
| virtual const char * | className () const |
| | return the name of the object's class type.
|
| virtual int | compare (const Image &rhs) const |
| | Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
|
| virtual void | seek (double) |
| virtual void | play () |
| virtual void | pause () |
| virtual void | rewind () |
| virtual void | quit (bool=true) |
| StreamStatus | getStatus () const |
| void | setLoopingMode (LoopingMode mode) |
| LoopingMode | getLoopingMode () const |
| virtual double | getCreationTime () const |
| virtual double | getLength () const |
| virtual double | getFrameRate () const |
| virtual double | getCurrentTime () const |
| virtual void | setReferenceTime (double) |
| virtual double | getReferenceTime () const |
| virtual void | setTimeMultiplier (double) |
| virtual double | getTimeMultiplier () const |
| virtual void | setVolume (float) |
| virtual float | getVolume () const |
| virtual float | getAudioBalance () |
| | set the balance of the audio: -1 = left, 0 = center, 1 = right
|
| virtual void | setAudioBalance (float) |
| void | setAudioStreams (const AudioStreams &asl) |
| AudioStreams & | getAudioStreams () |
| const AudioStreams & | getAudioStreams () const |
| virtual osg::Texture * | createSuitableTexture () |
| | create a suitable texture for this imagestream, return NULL, if not supported implement this method in subclasses to use special technologies like CoreVideo or similar.
|
Protected Member Functions |
| virtual void | applyLoopingMode () |
| virtual | ~ImageStream () |
Protected Attributes |
| StreamStatus | _status |
| LoopingMode | _loopingMode |
| AudioStreams | _audioStreams |
Detailed Description
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
| INVALID |
|
| PLAYING |
|
| PAUSED |
|
| REWINDING |
|
Constructor & Destructor Documentation
Copy constructor using CopyOp to manage deep vs shallow copy.
Member Function Documentation
return the name of the object's class type.
Must be defined by derived classes.
Reimplemented from osg::Image.
Reimplemented in osg::ImageSequence.
Clone an object, with Object* return type.
Must be defined by derived classes.
Reimplemented from osg::Image.
Reimplemented in osg::ImageSequence.
Clone the type of an object, with Object* return type.
Must be defined by derived classes.
Reimplemented from osg::Image.
Reimplemented in osg::ImageSequence.
create a suitable texture for this imagestream, return NULL, if not supported implement this method in subclasses to use special technologies like CoreVideo or similar.
References NULL.
set the balance of the audio: -1 = left, 0 = center, 1 = right
return the name of the object's library.
Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.
Reimplemented from osg::Image.
Reimplemented in osg::ImageSequence.
Member Data Documentation
The documentation for this class was generated from the following file: