OTB  9.0.0
Orfeo Toolbox
otbLeafParameters.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 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:
45  typedef itk::DataObject Superclass;
46  typedef itk::SmartPointer<Self> Pointer;
47  typedef itk::SmartPointer<const Self> ConstPointer;
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 } // end namespace otb
106 
107 #endif
otb::LeafParameters::m_CBrown
double m_CBrown
Definition: otbLeafParameters.h:100
otb::LeafParameters::Superclass
itk::DataObject Superclass
Definition: otbLeafParameters.h:45
otb::LeafParameters::m_Cm
double m_Cm
Definition: otbLeafParameters.h:102
otb::LeafParameters::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbLeafParameters.h:47
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::LeafParameters::m_N
double m_N
Definition: otbLeafParameters.h:103
otb::LeafParameters
Data class containing Leaf Parameters.
Definition: otbLeafParameters.h:40
otb::LeafParameters::m_Car
double m_Car
Definition: otbLeafParameters.h:99
otb::LeafParameters::m_Cw
double m_Cw
Definition: otbLeafParameters.h:101
otb::LeafParameters::Self
LeafParameters Self
Definition: otbLeafParameters.h:44
otb::LeafParameters::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbLeafParameters.h:46
otb::LeafParameters::m_Cab
double m_Cab
Definition: otbLeafParameters.h:98