OTB  6.7.0
Orfeo Toolbox
otbQuickBirdImageMetadataInterface.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2019 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 otbQuickBirdImageMetadataInterface_h
22 #define otbQuickBirdImageMetadataInterface_h
23 
25 
26 namespace otb
27 {
36 {
37 public:
38 
43 
45  itkNewMacro(Self);
46 
49 
50  typedef Superclass::ImageType ImageType;
51  typedef Superclass::MetaDataDictionaryType MetaDataDictionaryType;
54  typedef Superclass::ImageKeywordlistType ImageKeywordlistType;
55 
57  VariableLengthVectorType GetPhysicalBias() const override;
58 
60  VariableLengthVectorType GetPhysicalGain() const override;
61 
63  VariableLengthVectorType GetSolarIrradiance() const override;
64 
66  int GetDay() const override;
67 
69  int GetMonth() const override;
70 
72  int GetYear() const override;
73 
75  int GetHour() const override;
76 
78  int GetMinute() const override;
79 
81  int GetProductionDay() const override;
82 
84  int GetProductionMonth() const override;
85 
87  int GetProductionYear() const override;
88 
90  double GetSatElevation() const override;
91 
93  double GetSatAzimuth() const override;
94 
96  VariableLengthVectorType GetFirstWavelengths() const override;
97 
99  VariableLengthVectorType GetLastWavelengths() const override;
100 
102  std::vector<std::string> GetEnhancedBandNames() const override;
103 
104  bool CanRead() const override;
105 
108  std::vector<unsigned int> GetDefaultDisplay() const override;
109 
112  WavelengthSpectralBandVectorType GetSpectralSensitivity() const override;
113 protected:
117 
118 private:
119 
120  QuickBirdImageMetadataInterface(const Self &) = delete;
121  void operator =(const Self&) = delete;
122 
123 };
124 
125 } // end namespace otb
126 
127 #endif
Base class for captor metadata reading.
Creation of an "otb" QuickBirdImageMetadataInterface that gets metadata.
std::vector< double > VectorType
itk::VariableLengthVector< double > VariableLengthVectorType
Superclass::ImageKeywordlistType ImageKeywordlistType
Class for Optical captor metadata reading.
Superclass::MetaDataDictionaryType MetaDataDictionaryType
Superclass::VariableLengthVectorType VariableLengthVectorType