OTB  9.0.0
Orfeo Toolbox
otbSpotImageMetadataInterface.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 otbSpotImageMetadataInterface_h
22 #define otbSpotImageMetadataInterface_h
23 
25 #include <string>
26 
27 namespace otb
28 {
37 {
38 public:
41  typedef itk::SmartPointer<Self> Pointer;
42  typedef itk::SmartPointer<const Self> ConstPointer;
43 
45  itkNewMacro(Self);
46 
49 
50  typedef Superclass::ImageType ImageType;
51  typedef Superclass::MetaDataDictionaryType MetaDataDictionaryType;
54 
59  unsigned int BandIndexToWavelengthPosition(unsigned int i) const override;
60 
61  void Parse(ImageMetadata &) override;
62 
63 protected:
64  SpotImageMetadataInterface() = default;
65  ~SpotImageMetadataInterface() override = default;
66 
67 private:
68  SpotImageMetadataInterface(const Self&) = delete;
69  void operator=(const Self&) = delete;
70 
73  void FetchSpectralSensitivity(ImageMetadata &);
74 };
76 
77 } // end namespace otb
78 
79 #endif
otb::SpotImageMetadataInterface::MetaDataDictionaryType
Superclass::MetaDataDictionaryType MetaDataDictionaryType
Definition: otbSpotImageMetadataInterface.h:51
otb::OpticalImageMetadataInterface
Class for Optical captor metadata reading.
Definition: otbOpticalImageMetadataInterface.h:39
otb::SpotImageMetadataInterface::ImageType
Superclass::ImageType ImageType
Definition: otbSpotImageMetadataInterface.h:48
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::SpotImageMetadataInterface::Superclass
OpticalImageMetadataInterface Superclass
Definition: otbSpotImageMetadataInterface.h:40
otb::MetaDataKey::VectorType
std::vector< double > VectorType
Definition: otbMetaDataKey.h:119
otb::MetaDataKey::VariableLengthVectorType
itk::VariableLengthVector< double > VariableLengthVectorType
Definition: otbMetaDataKey.h:121
otb::SpotImageMetadataInterface::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbSpotImageMetadataInterface.h:42
otbOpticalImageMetadataInterface.h
otb::SpotImageMetadataInterface::VectorType
Superclass::VectorType VectorType
Definition: otbSpotImageMetadataInterface.h:52
otb::SpotImageMetadataInterface::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbSpotImageMetadataInterface.h:41
otb::ImageMetadataInterfaceBase
Base class for captor metadata reading.
Definition: otbImageMetadataInterfaceBase.h:44
otb::ImageMetadata
Generic class containing image metadata used in OTB.
Definition: otbImageMetadata.h:270
otb::SpotImageMetadataInterface::Self
SpotImageMetadataInterface Self
Definition: otbSpotImageMetadataInterface.h:39
otb::SpotImageMetadataInterface
Creation of an "otb" SpotImageMetadataInterface that gets metadata.
Definition: otbSpotImageMetadataInterface.h:36
otb::SpotImageMetadataInterface::VariableLengthVectorType
Superclass::VariableLengthVectorType VariableLengthVectorType
Definition: otbSpotImageMetadataInterface.h:53