OTB  9.0.0
Orfeo Toolbox
otbLabelToProSailParameters.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 
22 #ifndef otbLabelToProSailParameters_h
23 #define otbLabelToProSailParameters_h
24 
26 
27 namespace otb
28 {
29 
67 
68 template <class TLabel>
70 {
71 public:
75  typedef itk::SmartPointer<Self> Pointer;
76  typedef itk::SmartPointer<const Self> ConstPointer;
77 
80  typedef typename Superclass::LabelType LabelType;
81 
84  itkNewMacro(Self);
86 
87  // virtual const ParametersType & GetStep1Parameters();
88  // virtual const ParametersType & GetStep2Parameters();
89 
90  void GenerateData() override;
91 
92 protected:
95  {
96  }
97 
98 
99 private:
100  LabelToProSailParameters(const Self&) = delete;
101  void operator=(const Self&) = delete;
102 };
103 
104 } // end namespace otb
105 
106 #ifndef OTB_MANUAL_INSTANTIATION
108 #endif
109 
110 #endif
otb::LabelToProSailParameters
Take a label corresponding to a spectrum type for vegetation and outputs the ProSail parameters neede...
Definition: otbLabelToProSailParameters.h:69
otb::LabelToProSailParameters::ParametersType
Superclass::ParametersType ParametersType
Definition: otbLabelToProSailParameters.h:79
otb::LabelToProSailParameters::Superclass
LabelToSimulationParametersBase< TLabel > Superclass
Definition: otbLabelToProSailParameters.h:74
otb::LabelToSimulationParametersBase::ParametersType
itk::Array< ParametersValueType > ParametersType
Definition: otbLabelToSimulationParametersBase.h:76
otb::LabelToProSailParameters::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbLabelToProSailParameters.h:76
otb::LabelToProSailParameters::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbLabelToProSailParameters.h:75
otb::LabelToProSailParameters::~LabelToProSailParameters
~LabelToProSailParameters() override
Definition: otbLabelToProSailParameters.h:94
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::LabelToProSailParameters::Self
LabelToProSailParameters Self
Definition: otbLabelToProSailParameters.h:73
otbLabelToProSailParameters.hxx
otb::LabelToProSailParameters::LabelType
Superclass::LabelType LabelType
Definition: otbLabelToProSailParameters.h:80
otbLabelToSimulationParametersBase.h
otb::LabelToSimulationParametersBase::LabelType
TLabel LabelType
Definition: otbLabelToSimulationParametersBase.h:74
otb::LabelToSimulationParametersBase
Base class for all classes that take a label and outputs two set of parameters for two steps (step1,...
Definition: otbLabelToSimulationParametersBase.h:64