//******************************************************************* // Copyright (C) 2000 ImageLinks Inc. // // License: See top level LICENSE.txt file. // // Author: Garrett Potts // //******************************************************************* // $Id: ossimArcInfoGridWriter.h 16081 2009-12-10 20:56:36Z eshirschorn $ #ifndef ossimArcInfoGridWriter_HEADER #define ossimArcInfoGridWriter_HEADER #include #include //******************************************************************* // CLASS: ossimArdcInfoGridWriterFactory //******************************************************************* class OSSIM_DLL ossimArcInfoGridWriter : public ossimImageFileWriter { public: ossimArcInfoGridWriter(); virtual ~ossimArcInfoGridWriter(); ossimArcInfoGridWriter(ossimImageSource *inputSource, const ossimFilename& filename); virtual bool isOpen()const; virtual bool open(); virtual void close(); /*! * saves the state of the object. */ virtual bool saveState(ossimKeywordlist& kwl, const char* prefix=0)const; /*! * Method to the load (recreate) the state of an object from a keyword * list. Return true if ok or false on error. */ virtual bool loadState(const ossimKeywordlist& kwl, const char* prefix=0); /** * Returns a 3-letter extension from the image type descriptor * (theOutputImageType) that can be used for image file extensions. * * @param imageType string representing image type. * * @return the 3-letter string extension. */ virtual ossimString getExtension() const; private: virtual bool writeFile(); virtual bool writeBinaryAigHeader(); virtual bool writeBinaryAigBounds(); virtual bool writeBinaryAigStats(); ossimIpt theOutputTileSize; TYPE_DATA }; #endif