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