OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimGeoidImage.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: MIT
4 //
5 // See LICENSE.txt file in the top level directory for more details.
6 //
7 // Author: David Burken
8 //
9 // Description:
10 //
11 // Generic geoid source which uses an image handler for reading the grid.
12 //
13 //----------------------------------------------------------------------------
14 #ifndef ossimGeoidImage_HEADER
15 #define ossimGeoidImage_HEADER 1
16 
17 #include <ossim/base/ossimGeoid.h>
18 #include <ossim/base/ossimString.h>
22 
23 class ossimFilename;
24 
36 {
37 
38 public:
39 
42 
44  virtual ~ossimGeoidImage();
45 
53  virtual bool open( const ossimFilename& file,
55 
60  virtual ossimString getShortName() const;
61 
63  void setShortName( const std::string& geoidTypeName );
64 
69  bool getMemoryMapFlag() const;
70 
74  void setMemoryMapFlag( bool flag );
75 
80  virtual bool saveState(ossimKeywordlist& kwl,
81  const char* prefix=0) const;
82 
87  virtual bool loadState(const ossimKeywordlist& kwl,
88  const char* prefix=0);
89 
94  virtual double offsetFromEllipsoid(const ossimGpt& gpt);
95 
96  bool getEnableFlag() const;
97 
98  void setEnableFlag(bool flag);
99 
100 protected:
101 
102  template <class T>
103  double offsetFromEllipsoidTemplate(T dummy, const ossimGpt& gpt);
104 
108  std::string m_connectionString;
114 };
115 
116 #endif /* #define ossimGeoidImage_HEADER 1 */
ossimString m_geoidTypeName
ossimScalarType m_scalarType
ossimRefPtr< ossimImageData > m_cacheTile
Represents serializable keyword/value map.
std::string m_connectionString
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Definition: ossimObject.cpp:95
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
virtual bool open(const ossimFilename &dir, ossimByteOrder byteOrder=OSSIM_BIG_ENDIAN)=0
OSSIM_DLL ossimByteOrder byteOrder()
Definition: ossimCommon.cpp:54
ossimRefPtr< ossimImageGeometry > m_geom
virtual ossimString getShortName() const
Definition: ossimObject.cpp:48
Generic geoid source which uses a image handler for reading the grid.
virtual double offsetFromEllipsoid(const ossimGpt &gpt)=0
ossimIrect m_imageRect
ossimRefPtr< ossimImageHandler > m_handler
ossimByteOrder
ossimScalarType
#define OSSIM_DLL