Wavelet and Image class library  1.3.2
RawWriter.hh
Go to the documentation of this file.
00001 /*
00002  * class RawWriter
00003  *
00004  * $Date$
00005  * $Revision$
00006  *
00007  */
00008 
00009 #ifndef RAW_WRITER_HH__
00010 #define RAW_WRITER_HH__
00011 
00012 #include "WImage/GreymapWriter.hh"
00013 
00022 class 
00023 RawWriter: public GreymapWriter
00024 {
00025 public:
00026   
00035   RawWriter (char const *name, ImageArray<coeff> &data, int offs = 0)
00036     : GreymapWriter (name, data) { header (offs); }
00037 
00039   virtual ~RawWriter (void) {}
00040 
00044   inline void header (int offs) { m_offset = offs; }
00045 
00046 private:
00049   int m_offset;
00050 protected: 
00055   virtual int writefmt (void);
00056   
00057 }; /* class RawWriter */
00058 
00061 #endif /* RAW_WRITER_HH__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines