OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimElevRemapper.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: RP
6 //
7 // Description:
8 //
9 //
10 //*******************************************************************
11 // $Id$
12 #ifndef ossimElevRemapper_HEADER
13 #define ossimElevRemapper_HEADER
15 
17 {
18 public:
19  static const char REMAP_MODE_KW[];
20 
22  {
23  ReplacementType_ELLIPSOID = 0,
24  ReplacementType_GEOID = 1
25  };
26 
28  virtual void initialize();
29  virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& tile_rect,
30  ossim_uint32 resLevel=0);
31 
32 protected:
33  virtual ~ossimElevRemapper();
34  template <class T> void elevRemap(T dummy,
35  ossimImageData* inpuTile,
36  ossim_uint32 resLevel);
37 
39  bool saveState(ossimKeywordlist& kwl, const char* prefix)const;
40  bool loadState(const ossimKeywordlist& kwl, const char* prefix);
42 
43 TYPE_DATA
44 };
45 #endif
Represents serializable keyword/value map.
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
ReplacementType m_replacementType
ossimRefPtr< ossimImageGeometry > m_imageGeometry
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
#define OSSIM_DLL
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)