Wavelet and Image class library  1.3.2
GreymapReader.hh
Go to the documentation of this file.
00001 /*
00002  * class GreymapReader
00003  *
00004  * $Date$
00005  * $Revision$
00006  *
00007  */
00008 
00009 #ifndef GREYMAP_READER_HH__
00010 #define GREYMAP_READER_HH__
00011 
00012 #include "WImage/GreymapFile.hh"
00013 #include <fstream>
00014 
00024 /*abstract*/
00025 class 
00026 GreymapReader: public GreymapFile
00027 {
00028 public:
00029   
00036   GreymapReader (char const *name, ImageArray<coeff> &data) 
00037     : GreymapFile (name, data) {}
00038 
00040   virtual ~GreymapReader (void) {}
00041 
00049   virtual void read (void);
00050 
00051 private:
00055   void unpixel (void);
00056 protected:
00062   virtual int readfmt (void) = 0;
00063   
00064 }; /* class GreymapReader */
00065 
00068 #endif /* GREYMAP_READER_HH__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines