00001 00024 #ifndef INC_MIE_SETTINGSTIFF_H 00025 #define INC_MIE_SETTINGSTIFF_H 00026 00027 #ifndef INC_MIE_SETTINGS_H 00028 #include <mie/settings.h> 00029 #endif 00030 00031 #ifndef INC_MI32_TIFFEXT_H 00032 #include <mi32/tiffext.h> 00033 #endif 00034 00035 00036 namespace MIE { 00037 00039 class SETTINGS_TIFF : public SETTINGS { 00040 public: 00041 00042 SETTINGS_TIFF ( 00043 const FORMAT& format, 00044 MODE mode, 00045 OBJTYPEFLAG ObjType = OBJTYPEFLAG_ALL 00046 ); 00047 00048 virtual ~SETTINGS_TIFF ( 00049 ); 00050 00051 TIFFEXT::COMPRESSION GetCompression ( 00052 ) const { 00053 return m_Compression; 00054 } 00055 00056 TIFFEXT::PLANARCONFIG GetPlanarConfig ( 00057 ) const { 00058 return m_PlanarConfig; 00059 } 00060 00061 bool GetTiled ( 00062 ) const { 00063 return m_Tiled; 00064 } 00065 00066 bool GetUpLeftCoordsOnly ( 00067 ) const { 00068 return m_UpLeftCoordsOnly; 00069 } 00070 00071 bool GetWriteBigTiff ( 00072 ) const { 00073 return m_WriteBigTiff; 00074 } 00075 00076 bool GetWriteGeoTags ( 00077 ) const { 00078 return m_WriteGeoTags; 00079 } 00080 00081 bool GetWriteGeoUserDefinedCRS ( 00082 ) const { 00083 return m_WriteGeoUserDefinedCRS; 00084 } 00085 00086 double GetResolution ( 00087 ) const { 00088 return m_Resolution; 00089 } 00090 00091 TIFFEXT::RESOLUTIONUNIT GetResolutionUnit ( 00092 ) const { 00093 return m_ResolutionUnit; 00094 } 00095 00096 void SetCompression ( 00097 TIFFEXT::COMPRESSION Compression 00098 ) { 00099 m_Compression = Compression; 00100 } 00101 00102 void SetPlanarConfig ( 00103 TIFFEXT::PLANARCONFIG PlanarConfig 00104 ) { 00105 m_PlanarConfig = PlanarConfig; 00106 } 00107 00108 void SetTiled ( 00109 bool Tiled 00110 ) { 00111 m_Tiled = Tiled; 00112 } 00113 00114 void SetUpLeftCoordsOnly ( 00115 bool UpLeftCoordsOnly 00116 ) { 00117 m_UpLeftCoordsOnly = UpLeftCoordsOnly; 00118 } 00119 00120 void SetWriteBigTiff ( 00121 bool WriteBigTiff 00122 ) { 00123 m_WriteBigTiff = WriteBigTiff; 00124 } 00125 00126 void SetWriteGeoTags ( 00127 bool WriteGeoTags 00128 ) { 00129 m_WriteGeoTags = WriteGeoTags; 00130 } 00131 00132 void SetWriteGeoUserDefinedCRS ( 00133 bool WriteGeoUserDefinedCRS 00134 ) { 00135 m_WriteGeoUserDefinedCRS = WriteGeoUserDefinedCRS; 00136 } 00137 00138 void SetResolution ( 00139 double Resolution 00140 ) { 00141 m_Resolution = Resolution; 00142 } 00143 00144 void SetResolutionUnit ( 00145 TIFFEXT::RESOLUTIONUNIT ResolutionUnit 00146 ) { 00147 m_ResolutionUnit = ResolutionUnit; 00148 } 00149 00150 static SMLCLASSMEMBER* GetSMLClassMembers (); 00151 00152 private: 00153 #ifndef GENERATING_DOXYGEN_OUTPUT 00154 00155 TIFFEXT::COMPRESSION m_Compression; // Type of compression 00156 TIFFEXT::PLANARCONFIG m_PlanarConfig; 00157 bool m_Tiled; 00158 bool m_UpLeftCoordsOnly; // Export only coordinates of upleft point and x,y scales 00159 bool m_WriteBigTiff; 00160 bool m_WriteGeoTags; 00161 bool m_WriteGeoUserDefinedCRS; 00162 double m_Resolution; // Resolution in pixels per resolution unit 00163 TIFFEXT::RESOLUTIONUNIT m_ResolutionUnit; 00164 00165 virtual ERRVALUE v_GetValues (XMLNODE* ParentNode) const; 00166 virtual ERRVALUE v_SetValues (const XMLNODE* ParentNode); 00167 00168 #endif // GENERATING_DOXYGEN_OUTPUT 00169 }; 00170 00171 } // End namespace MIE 00172 00173 00174 #endif // INC_MIE_SETTINGSTIFF_H
1.6.1