OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Noise.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 Noise_h
13 #define Noise_h
14 
16 #include <otb/JSDDateTime.h>
17 #include <otb/ImageNoise.h>
18 
19 class ossimKeywordlist;
20 
21 namespace ossimplugins
22 {
23 
29 {
30 public:
34  Noise();
35 
39  virtual ~Noise();
40 
44  Noise(const Noise& rhs);
45 
49  Noise& operator=(const Noise& rhs);
50 
57  bool saveState(ossimKeywordlist& kwl, const char* prefix=0) const;
58 
64  bool loadState (const ossimKeywordlist &kwl, const char *prefix=0);
69  virtual std::ostream& print(std::ostream& out) const;
70 
71  void set_numberOfNoiseRecords(const ossim_int32& numberOfNoiseRecords)
72  {
73  _numberOfNoiseRecords = numberOfNoiseRecords;
74  }
75  void set_imageNoise(const std::vector<ImageNoise>& image_noise)
76  {
77  _tabImageNoise = image_noise;
78  }
79 
80  const std::vector<ImageNoise> & get_imageNoise() const
81  {
82  return _tabImageNoise;
83  }
84  void set_imagePolarisation(const ossimString& polarisation)
85  {
86  _polarisation = polarisation;
87  }
88 
90  {
91  return _polarisation;
92  }
93 
94 
95 
96 
97 protected:
98 
106  std::vector<ImageNoise> _tabImageNoise;
107 
112 
113 
114 private:
115 };
116 }
117 
118 #endif
void set_imagePolarisation(const ossimString &polarisation)
Definition: Noise.h:84
Represents serializable keyword/value map.
void set_imageNoise(const std::vector< ImageNoise > &image_noise)
Definition: Noise.h:75
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
Definition: ossimH5Util.cpp:41
std::vector< ImageNoise > _tabImageNoise
Image Noise.
Definition: Noise.h:106
unsigned int ossim_uint32
#define OSSIM_PLUGINS_DLL
This class represents an Noise.
Definition: Noise.h:28
ossimString _polarisation
Noise Polarisation Layer.
Definition: Noise.h:111
ossim_uint32 _numberOfNoiseRecords
Image Noise.
Definition: Noise.h:102
const std::vector< ImageNoise > & get_imageNoise() const
Definition: Noise.h:80
void set_numberOfNoiseRecords(const ossim_int32 &numberOfNoiseRecords)
Definition: Noise.h:71
const ossimString & get_imagePolarisation() const
Definition: Noise.h:89
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
int ossim_int32