OTB  9.0.0
Orfeo Toolbox
otbWavelengthSpectralBands.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 otbWavelengthSpectralBands_h
22 #define otbWavelengthSpectralBands_h
23 
24 #include "otbObjectList.h"
26 #include "OTBOpticalCalibrationExport.h"
27 
28 namespace otb
29 {
37 class OTBOpticalCalibration_EXPORT WavelengthSpectralBands : public itk::DataObject
38 {
39 public:
42  typedef itk::DataObject Superclass;
43  typedef itk::SmartPointer<Self> Pointer;
44  typedef itk::SmartPointer<const Self> ConstPointer;
45 
47  itkTypeMacro(WavelengthSpectralBands, DataObject);
48 
50  itkNewMacro(Self);
51 
55  // typedef std::map <FilterFunctionValuesType> FilterFunctionValuesMapType;
56 
58  itkSetMacro(NbBands, unsigned int);
59 
61  itkGetMacro(NbBands, unsigned int);
62 
63 protected:
66 
69  {
70  }
71 
73  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
74 
75 private:
76  WavelengthSpectralBands(const Self&) = delete;
77  void operator=(const Self&) = delete;
78 
81  unsigned int m_NbBands;
82 };
83 
84 } // end namespace
85 
86 #endif
otb::WavelengthSpectralBands::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbWavelengthSpectralBands.h:43
otb::WavelengthSpectralBands::m_WavelengthSpectralBandsList
WavelengthSpectralBandListType m_WavelengthSpectralBandsList
Definition: otbWavelengthSpectralBands.h:80
otb::WavelengthSpectralBands::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbWavelengthSpectralBands.h:44
otb::WavelengthSpectralBands::Self
WavelengthSpectralBands Self
Definition: otbWavelengthSpectralBands.h:41
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::ObjectList::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbObjectList.h:46
otb::FilterFunctionValues
This class contains the values of the filter function for the processed spectral band.
Definition: otbFilterFunctionValues.h:44
otb::WavelengthSpectralBands::FilterFunctionValuesType
FilterFunctionValues FilterFunctionValuesType
Definition: otbWavelengthSpectralBands.h:50
otb::WavelengthSpectralBands::m_NbBands
unsigned int m_NbBands
Definition: otbWavelengthSpectralBands.h:81
otb::WavelengthSpectralBands::Superclass
itk::DataObject Superclass
Definition: otbWavelengthSpectralBands.h:42
otbObjectList.h
otb::WavelengthSpectralBands::InternalWavelengthSpectralBandListType
ObjectList< FilterFunctionValuesType > InternalWavelengthSpectralBandListType
Definition: otbWavelengthSpectralBands.h:53
otb::WavelengthSpectralBands
This class contains the values of the filter functions.
Definition: otbWavelengthSpectralBands.h:37
otb::WavelengthSpectralBands::WavelengthSpectralBandListType
InternalWavelengthSpectralBandListType::Pointer WavelengthSpectralBandListType
Definition: otbWavelengthSpectralBands.h:54
otb::WavelengthSpectralBands::~WavelengthSpectralBands
~WavelengthSpectralBands() override
Definition: otbWavelengthSpectralBands.h:68
otb::ObjectList
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >.
Definition: otbObjectList.h:40
otbFilterFunctionValues.h