Wavelet and Image class library  1.3.2
VideoReader.hh
Go to the documentation of this file.
00001 /*
00002  * class VideoReader
00003  *
00004  * $Date$
00005  * $Revision$
00006  *
00007  */
00008 
00009 #ifndef VIDEO_READER_HH__
00010 #define VIDEO_READER_HH__
00011 
00012 #include "WImage/VideoFile.hh"
00013 #include <fstream>
00014 
00023 /*abstract*/
00024 class 
00025 VideoReader: public VideoFile
00026 {
00027 public:
00028   
00039   VideoReader (char const *name, VideoArray < coeff > *arrays[], 
00040                int channels, int from, int to) 
00041     : VideoFile (name, arrays, channels, to - from) {m_to = to; m_from = from;}
00042 
00044   virtual ~VideoReader (void) {}
00045 
00053   virtual void read (void);
00054 
00055 protected:
00061   virtual int readfmt (void) = 0;
00062 
00064   int m_to;
00066   int m_from;
00067   
00068 }; /* class VideoReader */
00069 
00072 #endif /* VIDEO_READER_HH__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines