18 #ifndef __otbDefaultImageMetadataInterface_h
19 #define __otbDefaultImageMetadataInterface_h
57 itkExceptionMacro(
"GetPhysicalBias not implemented in DefaultImageMetadataInterface, no captor type found");
63 itkExceptionMacro(
"GetPhysicalGain not implemented in DefaultImageMetadataInterface, no captor type found");
69 itkExceptionMacro(
"GetSolarIrradiance not implemented in DefaultImageMetadataInterface, no captor type found");
75 itkExceptionMacro(
"GetDay not implemented in DefaultImageMetadataInterface, no captor type found");
81 itkExceptionMacro(
"GetMonth not implemented in DefaultImageMetadataInterface, no captor type found");
87 itkExceptionMacro(
"GetYear not implemented in DefaultImageMetadataInterface, no captor type found");
93 itkExceptionMacro(
"GetHour not implemented in DefaultImageMetadataInterface, no captor type found");
99 itkExceptionMacro(
"GetMinute not implemented in DefaultImageMetadataInterface, no captor type found");
103 int GetProductionDay()
const
105 itkExceptionMacro(
"GetProductionDay not implemented in DefaultImageMetadataInterface, no captor type found");
109 int GetProductionMonth()
const
111 itkExceptionMacro(
"GetProductionMonth not implemented in DefaultImageMetadataInterface, no captor type found");
115 int GetProductionYear()
const
117 itkExceptionMacro(
"GetProductionYear not implemented in DefaultImageMetadataInterface, no captor type found");
121 double GetSatElevation()
const
123 itkExceptionMacro(
"GetSatElevation not implemented in DefaultImageMetadataInterface, no captor type found");
127 double GetSatAzimuth()
const
129 itkExceptionMacro(
"GetSatElevation not implemented in DefaultImageMetadataInterface, no captor type found");
135 itkExceptionMacro(
"GetFirstWavelengths not implemented in DefaultImageMetadataInterface, no captor type found");
141 itkExceptionMacro(
"GetLastWavelengths not implemented in DefaultImageMetadataInterface, no captor type found");
145 std::vector<std::string> GetEnhancedBandNames()
const
147 itkExceptionMacro(
"GetEnhancedBandNames not implemented in DefaultImageMetadataInterface, no captor type found");
164 std::vector<unsigned int> GetDefaultDisplay()
const
167 std::vector<unsigned int> rgb(3);
169 if (this->GetNumberOfBands() == 0)
178 min = std::min(this->GetNumberOfBands(), static_cast<unsigned int> (3));
196 void operator =(
const Self&);