OTB  6.7.0
Orfeo Toolbox
otbLeafParameters.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2019 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 otbLeafParameters_h
22 #define otbLeafParameters_h
23 
24 
25 #include "itkDataObject.h"
26 #include "itkMacro.h"
27 #include "itkObjectFactory.h"
28 #include "OTBSimulationExport.h"
29 
30 namespace otb
31 {
40 class OTBSimulation_EXPORT LeafParameters : public itk::DataObject
41 {
42  public:
48 
50  itkTypeMacro(LeafParameters, DataObject);
51  itkNewMacro(Self);
53 
55  itkSetMacro(Cab, double);
56  itkGetMacro(Cab, double);
58 
60  itkSetMacro(Car, double);
61  itkGetMacro(Car, double);
63 
65  itkSetMacro(CBrown, double);
66  itkGetMacro(CBrown, double);
68 
70  itkSetMacro(Cw, double);
71  itkGetMacro(Cw, double);
73 
75  itkSetMacro(Cm, double);
76  itkGetMacro(Cm, double);
78 
80  itkSetMacro(N, double);
81  itkGetMacro(N, double);
83 
84  protected:
87 
89  ~LeafParameters() override;
90 
92  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
93 
94  private:
95  LeafParameters(const Self&) = delete;
96  void operator=(const Self&) = delete;
97 
98  double m_Cab; //Chlorophyll content
99  double m_Car; //Carotenoid content
100  double m_CBrown; //Brown pigment content
101  double m_Cw; //EWT
102  double m_Cm; //LMA
103  double m_N; //structure coef
104 
105 };
106 }// end namespace otb
107 
108 #endif
itk::SmartPointer< Self > Pointer
Data class containing Leaf Parameters.
itk::SmartPointer< const Self > ConstPointer
itk::DataObject Superclass