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