OTB  10.0.0
Orfeo Toolbox
otbOpticalImageMetadataInterface.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 #ifndef otbOpticalImageMetadataInterface_h
22 #define otbOpticalImageMetadataInterface_h
23 
24 #include <string>
25 
28 #include "otbObjectList.h"
29 
30 namespace otb
31 {
40 {
41 public:
44  typedef itk::SmartPointer<Self> Pointer;
45  typedef itk::SmartPointer<const Self> ConstPointer;
46 
49 
50  typedef Superclass::ImageType ImageType;
51  typedef Superclass::MetaDataDictionaryType MetaDataDictionaryType;
54 
58 
63  virtual unsigned int BandIndexToWavelengthPosition(unsigned int i) const;
64 
65 protected:
67  ~OpticalImageMetadataInterface() override = default;
68 
69  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
70 
71 
72 private:
74  void operator=(const Self&) = delete;
75 };
76 
77 } // end namespace otb
78 
79 #endif
This class contains the values of the filter function for the processed spectral band.
Base class for captor metadata reading.
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >.
Definition: otbObjectList.h:41
itk::SmartPointer< Self > Pointer
Definition: otbObjectList.h:46
Class for Optical captor metadata reading.
void operator=(const Self &)=delete
Superclass::VariableLengthVectorType VariableLengthVectorType
otb::ObjectList< FilterFunctionValuesType > InternalWavelengthSpectralBandVectorType
~OpticalImageMetadataInterface() override=default
virtual unsigned int BandIndexToWavelengthPosition(unsigned int i) const
Superclass::MetaDataDictionaryType MetaDataDictionaryType
OpticalImageMetadataInterface(const Self &)=delete
InternalWavelengthSpectralBandVectorType::Pointer WavelengthSpectralBandVectorType
void PrintSelf(std::ostream &os, itk::Indent indent) const override
std::vector< double > VectorType
itk::VariableLengthVector< double > VariableLengthVectorType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.