OTB  10.0.0
Orfeo Toolbox
otbIkonosImageMetadataInterface.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 otbIkonosImageMetadataInterface_h
22 #define otbIkonosImageMetadataInterface_h
23 
25 
26 namespace otb
27 {
36 {
37 public:
40  typedef itk::SmartPointer<Self> Pointer;
41  typedef itk::SmartPointer<const Self> ConstPointer;
42 
44  itkNewMacro(Self);
45 
48 
53 
54  void Parse(ImageMetadata &) override;
55 
56 protected:
58  ~IkonosImageMetadataInterface() override = default;
59 
60 private:
62  void operator=(const Self&) = delete;
63 
64 
65  void FetchProductionDate(const std::string & productionDate, ImageMetadata &imd);
66 
67  void FetchAcquisitionDate(const std::string & acquisitionDate,
68  const std::string & acquisitionTime,
69  ImageMetadata &imd);
70 
73  void FetchSpectralSensitivity(const std::string & bandName, ImageMetadata &imd);
74 
75 };
76 
77 } // end namespace otb
78 
79 #endif
Creation of an "otb" IkonosImageMetadataInterface that gets metadata.
itk::SmartPointer< const Self > ConstPointer
Superclass::VariableLengthVectorType VariableLengthVectorType
void FetchProductionDate(const std::string &productionDate, ImageMetadata &imd)
IkonosImageMetadataInterface(const Self &)=delete
void Parse(ImageMetadata &) override
void FetchSpectralSensitivity(const std::string &bandName, ImageMetadata &imd)
Superclass::MetaDataDictionaryType MetaDataDictionaryType
void operator=(const Self &)=delete
~IkonosImageMetadataInterface() override=default
void FetchAcquisitionDate(const std::string &acquisitionDate, const std::string &acquisitionTime, ImageMetadata &imd)
Base class for captor metadata reading.
MetaDataKey::VariableLengthVectorType VariableLengthVectorType
Generic class containing image metadata used in OTB.
Class for Optical captor metadata reading.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.