Public Types | |
enum | StreamStatus { INVALID, PLAYING, PAUSED, REWINDING } |
enum | LoopingMode { NO_LOOPING, LOOPING } |
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 | play () |
virtual void | pause () |
virtual void | rewind () |
virtual void | quit (bool=true) |
StreamStatus | getStatus () |
void | setLoopingMode (LoopingMode mode) |
LoopingMode | getLoopingMode () const |
virtual double | getLength () 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 void | update () |
Protected Member Functions | |
virtual void | applyLoopingMode () |
virtual | ~ImageStream () |
Protected Attributes | |
StreamStatus | _status |
LoopingMode | _loopingMode |
osg::ImageStream::ImageStream | ( | ) |
osg::ImageStream::ImageStream | ( | const ImageStream & | image, | |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
) |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::ImageStream::~ImageStream | ( | ) | [inline, protected, virtual] |
virtual Object* osg::ImageStream::cloneType | ( | ) | const [inline, virtual] |
Clone the type of an object, with Object* return type.
Must be defined by derived classes.
Reimplemented from osg::Image.
Clone an object, with Object* return type.
Must be defined by derived classes.
Reimplemented from osg::Image.
virtual bool osg::ImageStream::isSameKindAs | ( | const Object * | obj | ) | const [inline, virtual] |
Reimplemented from osg::Image.
virtual const char* osg::ImageStream::libraryName | ( | ) | const [inline, virtual] |
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.
virtual const char* osg::ImageStream::className | ( | ) | const [inline, virtual] |
return the name of the object's class type.
Must be defined by derived classes.
Reimplemented from osg::Image.
virtual int osg::ImageStream::compare | ( | const Image & | rhs | ) | const [virtual] |
virtual void osg::ImageStream::play | ( | ) | [inline, virtual] |
virtual void osg::ImageStream::pause | ( | ) | [inline, virtual] |
virtual void osg::ImageStream::rewind | ( | ) | [inline, virtual] |
virtual void osg::ImageStream::quit | ( | bool | = true |
) | [inline, virtual] |
StreamStatus osg::ImageStream::getStatus | ( | ) | [inline] |
void osg::ImageStream::setLoopingMode | ( | LoopingMode | mode | ) | [inline] |
LoopingMode osg::ImageStream::getLoopingMode | ( | ) | const [inline] |
virtual double osg::ImageStream::getLength | ( | ) | const [inline, virtual] |
virtual void osg::ImageStream::setReferenceTime | ( | double | ) | [inline, virtual] |
virtual double osg::ImageStream::getReferenceTime | ( | ) | const [inline, virtual] |
virtual void osg::ImageStream::setTimeMultiplier | ( | double | ) | [inline, virtual] |
virtual double osg::ImageStream::getTimeMultiplier | ( | ) | const [inline, virtual] |
virtual void osg::ImageStream::setVolume | ( | float | ) | [inline, virtual] |
virtual float osg::ImageStream::getVolume | ( | ) | const [inline, virtual] |
virtual void osg::ImageStream::update | ( | ) | [inline, virtual] |
virtual void osg::ImageStream::applyLoopingMode | ( | ) | [inline, protected, virtual] |
StreamStatus osg::ImageStream::_status [protected] |
LoopingMode osg::ImageStream::_loopingMode [protected] |