version 3.3

VRS::Video Class Reference

Abstract base class for videos. More...

#include <vrs/image/video.h>

Inheritance diagram for VRS::Video:

VRS::Image VRS::SharedObj VRS::Visitable VRS::AVIVideo VRS::GIFVideo

List of all members.

Public Member Functions

virtual double frameRate () const =0
 Returns the frame rate of the video in frames per second.
virtual bool advanceFrame (int n=1, bool loop=true)=0
 Advances the frame counter by the given value.
virtual void reset ()=0
 Starts at the beginning again.
virtual void * pixelComponents (int x, int y, int component=0) const =0
 See Image.
 VRS_TYPEINFO (Video, Image)

Protected Member Functions

 Video (LayerSequence layerSequence=Image::RGB, int dataType=Image::U8)


Detailed Description

Abstract base class for videos.

Constructor & Destructor Documentation

VRS::Video::Video ( LayerSequence  layerSequence = Image::RGB,
int  dataType = Image::U8 
) [protected]


Member Function Documentation

virtual double VRS::Video::frameRate (  )  const [pure virtual]

Returns the frame rate of the video in frames per second.

Implemented in VRS::AVIVideo, and VRS::GIFVideo.

virtual bool VRS::Video::advanceFrame ( int  n = 1,
bool  loop = true 
) [pure virtual]

Advances the frame counter by the given value.

Implemented in VRS::AVIVideo, and VRS::GIFVideo.

virtual void VRS::Video::reset (  )  [pure virtual]

Starts at the beginning again.

Implemented in VRS::AVIVideo, and VRS::GIFVideo.

virtual void* VRS::Video::pixelComponents ( int  x,
int  y,
int  component = 0 
) const [pure virtual]

See Image.

Implements VRS::Image.

Implemented in VRS::AVIVideo, and VRS::GIFVideo.

VRS::Video::VRS_TYPEINFO ( Video  ,
Image   
)


The documentation for this class was generated from the following file:

Generated on Wed May 23 06:00:18 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact