OTB  10.0.0
Orfeo Toolbox
otbSimulationStep1Base.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2024 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 
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
Base class for all method that simulate the Reflectance and Transmittance of an object....
itk::SmartPointer< Self > Pointer
virtual SpectralResponseType * GetReflectance()=0
itk::Array< ParametersValueType > ParametersType
otb::SpectralResponse< double, double > SpectralResponseType
itk::SmartPointer< const Self > ConstPointer
virtual SpectralResponseType * GetTransmittance()=0
void operator=(const Self &)=delete
SimulationStep1Base(const Self &)=delete
This class represents the spectral response of an object (or a satellite band).
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.