OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
SensorParams.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 SensorParams_h
13 #define SensorParams_h
14 
16 
17 class ossimKeywordlist;
18 
19 namespace ossimplugins
20 {
21 
22 
23 
30 {
31 public:
32 
34  {
35  Left = 0,
36  Right = 1
37  };
38 
42  SensorParams();
46  virtual ~SensorParams();
47 
51  SensorParams(const SensorParams& rhs);
52 
56  SensorParams& operator=(const SensorParams& rhs);
57 
58  double get_prf() const
59  {
60  return _prf;
61  }
62 
63  double get_sf() const
64  {
65  return _sf;
66  }
67 
68  double get_rwl() const
69  {
70  return _rwl;
71  }
72 
73  void set_prf(double prf)
74  {
75  _prf = prf;
76  }
77 
78  void set_sf(double sf)
79  {
80  _sf = sf;
81  }
82 
83  void set_rwl(double rwl)
84  {
85  _rwl = rwl;
86  }
87 
89  {
90  return _sightDirection;
91  }
92 
94  {
95  _sightDirection = sight;
96  }
97 
98  virtual SensorParams* Clone()
99  {
100  return new SensorParams(*this);
101  }
102 
103  int get_col_direction() const
104  {
105  return _col_direction;
106  }
107 
108  int get_lin_direction() const
109  {
110  return _lin_direction;
111  }
112 
113  double get_nAzimuthLook() const
114  {
115  return _nAzimuthLook ;
116  }
117 
118  double get_nRangeLook() const
119  {
120  return _nRangeLook ;
121  }
122 
123  void set_col_direction(int dir)
124  {
125  _col_direction = dir;
126  }
127 
128  void set_lin_direction(int dir)
129  {
130  _lin_direction = dir;
131  }
132 
133  void set_nAzimuthLook(double look)
134  {
135  _nAzimuthLook = look;
136  }
137 
138  void set_nRangeLook(double look)
139  {
140  _nRangeLook = look;
141  }
142 
143  double get_semiMajorAxis() const
144  {
145  return _semiMajorAxis ;
146  }
147 
148  double get_semiMinorAxis() const
149  {
150  return _semiMinorAxis ;
151  }
152 
153  void set_semiMajorAxis(double value)
154  {
155  _semiMajorAxis = value;
156  }
157 
158  void set_semiMinorAxis(double value)
159  {
160  _semiMinorAxis = value;
161  }
162 
163  double get_dopcen() const
164  {
165  return _dopcen;
166  }
167 
168  double get_dopcenLinear() const
169  {
170  return _dopcenLinear;
171  }
172 
173  void set_dopcen(double value)
174  {
175  _dopcen = value;
176  }
177 
178  void set_dopcenLinear(double value)
179  {
180  _dopcenLinear = value;
181  }
182 
183 
190  bool saveState(ossimKeywordlist& kwl, const char* prefix=0) const;
191 
197  bool loadState (const ossimKeywordlist &kwl, const char *prefix=0);
198 
199 protected:
203  double _prf;
204 
208  double _sf;
209 
213  double _rwl;
214 
219 
224 
229 
235 
241 
245  double _nAzimuthLook ;
246 
250  double _nRangeLook ;
251 
255  double _dopcen;
256 
261 
262 
263 private:
264 };
265 }
266 #endif
void set_sightDirection(SightDirection sight)
Definition: SensorParams.h:93
double _prf
Nominal PRF, Hz.
Definition: SensorParams.h:203
void set_rwl(double rwl)
Definition: SensorParams.h:83
void set_dopcen(double value)
Definition: SensorParams.h:173
Represents serializable keyword/value map.
SightDirection _sightDirection
Antenna pointing direction.
Definition: SensorParams.h:228
void set_dopcenLinear(double value)
Definition: SensorParams.h:178
void set_lin_direction(int dir)
Definition: SensorParams.h:128
double _dopcen
Doppler centroid (at range 0)
Definition: SensorParams.h:255
double get_nRangeLook() const
Definition: SensorParams.h:118
This class handles the sensor parameters.
Definition: SensorParams.h:29
int _col_direction
Columns direction (1=increasing, -1=decreasing)
Definition: SensorParams.h:218
void set_semiMinorAxis(double value)
Definition: SensorParams.h:158
double _nAzimuthLook
Number of azimuth looks.
Definition: SensorParams.h:245
SightDirection get_sightDirection() const
Definition: SensorParams.h:88
int _lin_direction
Lines direction (1=increasing, -1=decreasing)
Definition: SensorParams.h:223
double get_nAzimuthLook() const
Definition: SensorParams.h:113
double get_semiMajorAxis() const
Definition: SensorParams.h:143
void set_semiMajorAxis(double value)
Definition: SensorParams.h:153
#define OSSIM_PLUGINS_DLL
virtual SensorParams * Clone()
Definition: SensorParams.h:98
void set_nRangeLook(double look)
Definition: SensorParams.h:138
double _nRangeLook
Number of range looks.
Definition: SensorParams.h:250
double _sf
Sampling frequency.
Definition: SensorParams.h:208
double get_dopcenLinear() const
Definition: SensorParams.h:168
double get_semiMinorAxis() const
Definition: SensorParams.h:148
double _semiMinorAxis
Ellipsoid semi_minor axis, m Default : WGS84.
Definition: SensorParams.h:240
void set_nAzimuthLook(double look)
Definition: SensorParams.h:133
void set_prf(double prf)
Definition: SensorParams.h:73
double _semiMajorAxis
Ellipsoid semi_major axis, m Default : WGS84.
Definition: SensorParams.h:234
void set_col_direction(int dir)
Definition: SensorParams.h:123
double _dopcenLinear
Doppler centroid linear term (wrt range in km)
Definition: SensorParams.h:260
void set_sf(double sf)
Definition: SensorParams.h:78
double _rwl
Radar wave length.
Definition: SensorParams.h:213