OTB  9.0.0
Orfeo Toolbox
otbSimulationStep2Base.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 otbSimulationStep2Base_h
23 #define otbSimulationStep2Base_h
24 
25 #include "itkProcessObject.h"
26 #include "otbSpectralResponse.h"
27 
28 namespace otb
29 {
30 
42 class ITK_EXPORT SimulationStep2Base : public itk::ProcessObject
43 {
44 public:
47  typedef itk::ProcessObject Superclass;
48  typedef itk::SmartPointer<Self> Pointer;
49  typedef itk::SmartPointer<const Self> ConstPointer;
50 
53  typedef double ParametersValueType;
54  typedef itk::Array<ParametersValueType> ParametersType;
55 
57  itkTypeMacro(SimulationStep2Base, ProcessObject);
58  ;
59 
60  itkSetMacro(Parameters, ParametersType);
61  itkGetMacro(Parameters, ParametersType);
62  //;
63 
64  virtual void SetReflectance(const SpectralResponseType*) = 0;
65  virtual void SetTransmittance(const SpectralResponseType*) = 0;
66 
67 protected:
70  {
71  }
72 
73 private:
74  SimulationStep2Base(const Self&) = delete;
75  void operator=(const Self&) = delete;
76 
78 };
79 
80 } // end namespace otb
81 
82 #ifndef OTB_MANUAL_INSTANTIATION
83 #endif
84 
85 #endif
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::SimulationStep2Base::SpectralResponseType
SpectralResponse< double, double > SpectralResponseType
Definition: otbSimulationStep2Base.h:52
otb::SimulationStep2Base::Self
SimulationStep2Base Self
Definition: otbSimulationStep2Base.h:46
otb::SimulationStep2Base
Base class for all methods that generate spectrum of an object using its reflectance and transmittanc...
Definition: otbSimulationStep2Base.h:42
otb::SimulationStep2Base::m_Parameters
ParametersType m_Parameters
Definition: otbSimulationStep2Base.h:77
otb::SimulationStep2Base::~SimulationStep2Base
~SimulationStep2Base() override
Definition: otbSimulationStep2Base.h:69
otb::SimulationStep2Base::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbSimulationStep2Base.h:48
otb::SimulationStep2Base::ParametersValueType
double ParametersValueType
Definition: otbSimulationStep2Base.h:53
otbSpectralResponse.h
otb::SimulationStep2Base::SimulationStep2Base
SimulationStep2Base()
Definition: otbSimulationStep2Base.h:68
otb::SimulationStep2Base::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbSimulationStep2Base.h:49
otb::SimulationStep2Base::Superclass
itk::ProcessObject Superclass
Definition: otbSimulationStep2Base.h:47
otb::SpectralResponse
This class represents the spectral response of an object (or a satellite band).
Definition: otbSpectralResponse.h:55
otb::SimulationStep2Base::ParametersType
itk::Array< ParametersValueType > ParametersType
Definition: otbSimulationStep2Base.h:54