Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FrameGrabber.h

Go to the documentation of this file.
00001 
00042 #ifndef _AMIRE_COMMON_FRAME_GRABBER_H
00043 #define _AMIRE_COMMON_FRAME_GRABBER_H
00044 
00045 #include <amire/common/Defines.h>
00046 #include <amire/common/BitmapFormat.h>
00047 
00048 namespace amire {
00049   namespace common {
00053     class AMIRE_EXPORT_API FrameGrabber : public virtual osg::Referenced {
00054     public:
00055       virtual ~FrameGrabber();
00056 
00060       virtual void grabFrame() = 0;
00061 
00065       virtual unsigned char *getFrame() const = 0;
00066 
00070       virtual long getFrameBufferLength() const = 0;
00071 
00075       virtual BitmapFormat getFormat() const= 0;
00076 
00080       virtual int getWidth() const = 0;
00081 
00085       virtual int getHeight() const = 0;
00086 
00090       virtual bool isHorizontalFlipped() const = 0;
00091 
00095       virtual bool isVerticalFlipped() const = 0;
00096     };
00097   }
00098 }
00099 
00100 #endif

Generated on Tue May 20 17:23:52 2003 for AMIRE-Framework by doxygen1.3