OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
RadarSat2NoiseLevel.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 RadarSat2NoiseLevel_h
13 #define RadarSat2NoiseLevel_h
14 
17 #include <otb/JSDDateTime.h>
18 #include <otb/ImageNoise.h>
19 
20 class ossimKeywordlist;
21 
22 namespace ossimplugins
23 {
24 
30 {
31 public:
36 
40  virtual ~RadarSat2NoiseLevel();
41 
46 
50  RadarSat2NoiseLevel& operator=(const RadarSat2NoiseLevel& rhs);
51 
58  bool saveState(ossimKeywordlist& kwl, const char* prefix=0) const;
59 
65  bool loadState (const ossimKeywordlist &kwl, const char *prefix=0);
70  virtual std::ostream& print(std::ostream& out) const;
71 
72 
74  {
75  _incidenceAngleCorrectionName = value;
76  }
78  {
79  _pixelFirstNoiseValue = value;
80  }
81  void set_stepSize(const ossim_uint32& value)
82  {
83  _stepSize = value;
84  }
86  {
87  _numberOfNoiseLevelValues = value;
88  }
89  void set_noiseLevelValues(const std::vector<ossim_float64>& value)
90  {
91  _noiseLevelValues = value;
92  }
93  void set_units(const ossimString& value)
94  {
95  _units = value;
96  }
97  void set_offset(const ossim_float64& value)
98  {
99  _offset = value;
100  }
101  void set_gain(const ossimString& value)
102  {
103  _gain = value;
104  }
105 
107  {
108  return _incidenceAngleCorrectionName;
109  }
110  const ossimString & get_gain() const
111  {
112  return _gain;
113  }
114 
115 protected:
116 
121 
130 
135 
139  std::vector<ossim_float64> _noiseLevelValues;
140 
145 
150 
155 
156 private:
157 };
158 }
159 
160 #endif
Represents serializable keyword/value map.
const ossimString & get_incidenceAngleCorrectionName() const
void set_incidenceAngleCorrectionName(const ossimString &value)
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
Definition: ossimH5Util.cpp:41
ossimString _incidenceAngleCorrectionName
Incidence Angle correction Name.
void set_offset(const ossim_float64 &value)
std::vector< ossim_float64 > _noiseLevelValues
noise Level Values
double ossim_float64
void set_pixelFirstNoiseValue(const ossim_uint32 &value)
unsigned int ossim_uint32
ossim_uint32 _pixelFirstNoiseValue
pixel First Noise Value
void set_gain(const ossimString &value)
void set_numberOfNoiseLevelValues(const ossim_uint32 &value)
#define OSSIM_PLUGINS_DLL
This class represents an Noise.
ossim_uint32 _numberOfNoiseLevelValues
number Of Noise Level Values
void set_noiseLevelValues(const std::vector< ossim_float64 > &value)
const ossimString & get_gain() const
void set_units(const ossimString &value)
ossim_float64 _offset
offset value
ossimString _units
noise Level units
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
void set_stepSize(const ossim_uint32 &value)