OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNitfRpcModel.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // FILE: ossimNitfRpcModel.h
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // AUTHOR: Oscar Kramer
9 //
10 // DESCRIPTION: Contains declaration of class ossimNitfRpcModel. This
11 // derived class implements the capability of reading Nitf RPC support
12 // data.
13 //
14 // LIMITATIONS: None.
15 //
16 //*****************************************************************************
17 // $Id: ossimNitfRpcModel.h 15766 2009-10-20 12:37:09Z gpotts $
18 
19 #ifndef ossimNitfRpcModel_HEADER
20 #define ossimNitfRpcModel_HEADER
21 
24 
25 class ossimFilename;
27 
28 /*!****************************************************************************
29  *
30  * CLASS: ossimNitfRpcModel
31  *
32  *****************************************************************************/
34 {
35 public:
38  ossimNitfRpcModel(const ossimFilename& nitfFile);
39  virtual ossimObject* dup() const;
40 
47  virtual void worldToLineSample(const ossimGpt& world_point,
48  ossimDpt& image_point) const;
49 
56  virtual void lineSampleHeightToWorld(const ossimDpt& image_point,
57  const double& heightEllipsoid,
58  ossimGpt& worldPoint) const;
59 
63  virtual bool saveState(ossimKeywordlist& kwl,
64  const char* prefix=0) const;
65 
69  virtual bool loadState(const ossimKeywordlist& kwl,
70  const char* prefix=0);
71 
78  virtual bool parseFile(const ossimFilename& nitfFile,
79  ossim_uint32 entryIndex=0);
80 
81  virtual bool parseImageHeader(const ossimNitfImageHeader* ih);
82 private:
83 
90  void getGsd(const ossimNitfImageHeader* ih);
91 
98  void getSensorID(const ossimNitfImageHeader* ih);
99 
104  bool getRpcData(const ossimNitfImageHeader* ih);
105 
111 
112  TYPE_DATA
113 };
114 
115 #endif
virtual void worldToLineSample(const ossimGpt &world_point, ossimDpt &image_point) const
worldToLineSample() Overrides base class implementation.
virtual ossimObject * dup() const
dup() Returns pointer to a new instance, copy of this.
Represents serializable keyword/value map.
double ossim_float64
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
saveState Fulfills ossimObject base-class pure virtuals.
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
virtual void lineSampleHeightToWorld(const ossimDpt &image_point, const double &heightEllipsoid, ossimGpt &worldPoint) const
#define OSSIM_DLL
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
loadState Fulfills ossimObject base-class pure virtuals.
ossim_float64 theDecimation
Stored from header field "IMAG".