#ifndef _Video_h_ #define _Video_h_ #include "../Container/ExtendedImage.h" #include class Video { public: Video(); virtual ~Video(); unsigned long GetWidth(); unsigned long GetHeight(); void SetSize( unsigned long width, unsigned long height ); void SetResolution( double resX, double resY ); double GetResolutionX() { return m_resX; } double GetResolutionY() { return m_resY; } ExtendedImage* GetFrame( unsigned int i = 0 ); char* GetFrameBitmap( unsigned int i = 0 ); unsigned int GetFrameCount(); void AddFrame( unsigned char* data, bool isMonochrome ); void EraseFirstFrame(); bool IsNull(); void Clear(); private: unsigned long m_width; unsigned long m_height; double m_resX; double m_resY; std::vector< ExtendedImage* > m_frames; }; #endif