USGS

Isis 3.0 Developer's Reference (API)

Home

TiffExporter.h

Go to the documentation of this file.
00001 #ifndef TiffExporter_h
00002 #define TiffExporter_h
00003 
00027 #include "StreamExporter.h"
00028 #include "tiffio.h"
00029 
00030 namespace Isis {
00051   class TiffExporter : public StreamExporter {
00052     public:
00053       TiffExporter();
00054       virtual ~TiffExporter();
00055 
00056       virtual void write(FileName outputName, int quality=100);
00057 
00058       static bool canWriteFormat(QString format);
00059 
00060     protected:
00061       virtual void createBuffer();
00062 
00063       virtual void setBuffer(int s, int b, int dn) const;
00064       virtual void writeLine(int l) const;
00065 
00066     private:
00068       TIFF *m_image;
00069 
00071       unsigned char *m_raster;
00072   };
00073 };
00074 
00075 
00076 #endif