OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimErsSarModel.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #ifndef ossimErsSarModel_H
13 #define ossimErsSarModel_H 1
14 
15 #include <otb/JSDDateTime.h>
17 
19 #include <ossim/base/ossimIpt.h>
21 #include <ossim/base/ossimGpt.h>
22 #include <ossim/base/ossimDpt.h>
23 
24 #include <iostream>
25 
26 namespace ossimplugins
27 {
28 
29 class PlatformPosition;
30 class SensorParams;
31 class RefPoint;
32 class ErsSarLeader;
38 {
39 public:
44 
48  virtual ~ossimErsSarModel();
49 
54  virtual ossimString getClassName() const;
55 
59  virtual ossimObject* dup() const;
60 
65  virtual double getSlantRangeFromGeoreferenced(double col) const;
66 
72  bool open(const ossimFilename& file);
73 
80  virtual bool saveState(ossimKeywordlist& kwl,
81  const char* prefix = 0) const;
82 
88  virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix = 0);
89 
90 protected:
91  virtual bool InitPlatformPosition(const ossimKeywordlist &kwl, const char *prefix);
92  virtual bool InitSensorParams(const ossimKeywordlist &kwl, const char *prefix);
93  virtual bool InitRefPoint(const ossimKeywordlist &kwl, const char *prefix);
97  virtual bool InitSRGR(const ossimKeywordlist &kwl, const char *prefix);
98 
99 private:
107  double theSRGRCoeffset[1][3];
112 
117 
118 
119 
120  virtual bool isErsLeader(const ossimFilename& file) const;
121  virtual ossimFilename findErsLeader(const ossimFilename& file) const;
122 
123  TYPE_DATA
124 
125 };
126 
127 }
128 #endif
This class is able to read the Leader file of the ErsSar file structure.
Definition: ErsSarLeader.h:40
Represents serializable keyword/value map.
double thePixelSpacing
Pixel spacing.
ErsSarLeader * theErsSarleader
List of metadata contained in the Leader file.
This class allows for direct localisation and indirect localisation using the geometric model of SAR ...
This class is able to direct localisation and indirect localisation using the ErsSar sensor model...
#define TYPE_DATA
Definition: ossimRtti.h:339
int theNumberSRGR
Slant Range for each Ground Range (SRGR) number of coefficients sets.
#define OSSIM_PLUGINS_DLL
const char * getClassName(int idx)