OTB  10.0.0
Orfeo Toolbox
otbAeronetData.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2024 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef otbAeronetData_h
22 #define otbAeronetData_h
23 
24 #include "itkDataObject.h"
25 #include "itkObjectFactory.h"
26 #include "itkMacro.h"
27 #include "OTBOpticalCalibrationExport.h"
28 #include <string>
29 
30 namespace otb
31 {
41 class OTBOpticalCalibration_EXPORT AeronetData : public itk::DataObject
42 {
43 public:
44 
46  typedef AeronetData Self;
47  typedef itk::DataObject Superclass;
48  typedef itk::SmartPointer<Self> Pointer;
49  typedef itk::SmartPointer<const Self> ConstPointer;
50 
52  itkNewMacro(Self);
53 
55  itkTypeMacro(AeronetData, itk::DataObject);
56 
58  itkSetMacro(SolarZenithAngle, double);
59  itkGetMacro(SolarZenithAngle, double);
60 
62  itkSetMacro(AngstromCoefficient, double);
63  itkGetMacro(AngstromCoefficient, double);
64 
66  itkSetMacro(Water, double);
67  itkGetMacro(Water, double);
68 
70  itkSetMacro(AerosolOpticalThickness, double);
71  itkGetMacro(AerosolOpticalThickness, double);
72 
74  itkSetMacro(StdDev, double);
75  itkGetMacro(StdDev, double);
77 
79  itkSetMacro(CloudEstimation, bool);
80  itkGetMacro(CloudEstimation, bool);
82 
84  itkSetMacro(DataDate, std::string);
85  itkGetMacro(DataDate, std::string);
87 
89  itkSetMacro(NumberOfDateUsed, unsigned int);
90  itkGetMacro(NumberOfDateUsed, unsigned int);
91 
93  itkSetMacro(EpsilonDate, double);
94  itkGetMacro(EpsilonDate, double);
96 
97 protected:
100 
102  ~AeronetData() override
103  {
104  }
105 
107  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
108 
109 private:
112 
114  double m_Water;
115 
118 
121 
124 
126  double m_StdDev;
127 
129  std::string m_DataDate;
130 
133 
135  unsigned int m_NumberOfDateUsed;
136 };
137 
138 } // end namespace otb
139 
140 #endif
This class is a data structure designed to store Aeronet data extracted from a aeronet file.
~AeronetData() override
itk::DataObject Superclass
AeronetData Self
double m_AerosolOpticalThickness
std::string m_DataDate
void PrintSelf(std::ostream &os, itk::Indent indent) const override
double m_AngstromCoefficient
unsigned int m_NumberOfDateUsed
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.