diff --git a/Modules/Core/Metadata/include/otbDefaultImageMetadataInterface.h b/Modules/Core/Metadata/include/otbDefaultImageMetadataInterface.h index 0412cf70bc94877f0a36306e3046d34892dc03f7..f5eb2ddf65c2d87859834deeb7efa49845bdc852 100644 --- a/Modules/Core/Metadata/include/otbDefaultImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbDefaultImageMetadataInterface.h @@ -55,91 +55,121 @@ public: typedef Superclass::VariableLengthVectorType VariableLengthVectorType; typedef Superclass::ImageKeywordlistType ImageKeywordlistType; - /** Get the radiometric bias from the ossim metadata */ + /** Get the radiometric bias from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalBias() const { itkExceptionMacro("GetPhysicalBias not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the radiometric gain from the ossim metadata */ + /** Get the radiometric gain from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalGain() const { itkExceptionMacro("GetPhysicalGain not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the solar irradiance from the ossim metadata */ + /** Get the solar irradiance from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetSolarIrradiance() const { itkExceptionMacro("GetSolarIrradiance not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition day from the ossim metadata */ + /** Get the imaging acquisition day from the ossim metadata + * \deprecated + */ int GetDay() const override { itkExceptionMacro("GetDay not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition month from the ossim metadata */ + /** Get the imaging acquisition month from the ossim metadata + * \deprecated + */ int GetMonth() const override { itkExceptionMacro("GetMonth not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition year from the ossim metadata */ + /** Get the imaging acquisition year from the ossim metadata + * \deprecated + */ int GetYear() const override { itkExceptionMacro("GetYear not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition hour from the ossim metadata */ + /** Get the imaging acquisition hour from the ossim metadata + * \deprecated + */ int GetHour() const override { itkExceptionMacro("GetHour not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition minute from the ossim metadata */ + /** Get the imaging acquisition minute from the ossim metadata + * \deprecated + */ int GetMinute() const override { itkExceptionMacro("GetMinute not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging production day from the ossim metadata */ + /** Get the imaging production day from the ossim metadata + * \deprecated + */ int GetProductionDay() const override { itkExceptionMacro("GetProductionDay not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging production month from the ossim metadata */ + /** Get the imaging production month from the ossim metadata + * \deprecated + */ int GetProductionMonth() const override { itkExceptionMacro("GetProductionMonth not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging production year from the ossim metadata */ + /** Get the imaging production year from the ossim metadata + * \deprecated + */ int GetProductionYear() const override { itkExceptionMacro("GetProductionYear not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the sat elevation from the ossim metadata */ + /** Get the sat elevation from the ossim metadata + * \deprecated + */ double GetSatElevation() const { itkExceptionMacro("GetSatElevation not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the sat azimuth from the ossim metadata */ + /** Get the sat azimuth from the ossim metadata + * \deprecated + */ double GetSatAzimuth() const { itkExceptionMacro("GetSatElevation not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the first wavelength for the spectral band definition */ + /** Get the first wavelength for the spectral band definition + * \deprecated + */ VariableLengthVectorType GetFirstWavelengths() const { itkExceptionMacro("GetFirstWavelengths not implemented in DefaultImageMetadataInterface, no captor type found"); } - /** Get the last wavelength for the spectral band definition */ + /** Get the last wavelength for the spectral band definition + * \deprecated + */ VariableLengthVectorType GetLastWavelengths() const { itkExceptionMacro("GetLastWavelengths not implemented in DefaultImageMetadataInterface, no captor type found"); diff --git a/Modules/Core/Metadata/include/otbFormosatImageMetadataInterface.h b/Modules/Core/Metadata/include/otbFormosatImageMetadataInterface.h index 279daa346fb79ebe0164c3ec4b55f00dcef64f26..b0c99846fbe000907b95729d9bc2338d4384b9af 100644 --- a/Modules/Core/Metadata/include/otbFormosatImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbFormosatImageMetadataInterface.h @@ -53,43 +53,69 @@ public: typedef Superclass::VariableLengthVectorType VariableLengthVectorType; typedef Superclass::ImageKeywordlistType ImageKeywordlistType; - /** Get the radiometric bias from the ossim metadata */ + /** Get the radiometric bias from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalBias() const override; - /** Get the radiometric gain from the ossim metadata */ + /** Get the radiometric gain from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalGain() const override; - /** Get the solar irradiance from the ossim metadata */ + /** Get the solar irradiance from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetSolarIrradiance() const override; - /** Get the imaging acquisition day from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition day from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetDay() const override; - /** Get the imaging acquisition month from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition month from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetMonth() const override; - /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetYear() const override; - /** Get the imaging acquisition hour from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition hour from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetHour() const override; - /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetMinute() const override; - /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionDay() const override; - /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionMonth() const override; - /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionYear() const override; - /** Get the sat elevation from the ossim metadata */ + /** Get the sat elevation from the ossim metadata + * \deprecated + */ double GetSatElevation() const override; - /** Get the sat azimuth from the ossim metadata */ + /** Get the sat azimuth from the ossim metadata + * \deprecated + */ double GetSatAzimuth() const override; /** Get the first wavelength for the spectral band definition */ diff --git a/Modules/Core/Metadata/include/otbIkonosImageMetadataInterface.h b/Modules/Core/Metadata/include/otbIkonosImageMetadataInterface.h index fcef22d014d416b02d44c64a2bc780b6fa8c9ef3..10091e070c27af3b3a308fde53f5730e72fb48d5 100644 --- a/Modules/Core/Metadata/include/otbIkonosImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbIkonosImageMetadataInterface.h @@ -52,43 +52,69 @@ public: typedef Superclass::VariableLengthVectorType VariableLengthVectorType; typedef Superclass::ImageKeywordlistType ImageKeywordlistType; - /** Get the radiometric bias from the ossim metadata */ + /** Get the radiometric bias from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalBias() const override; - /** Get the radiometric gain from the ossim metadata */ + /** Get the radiometric gain from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalGain() const override; - /** Get the solar irradiance from the ossim metadata */ + /** Get the solar irradiance from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetSolarIrradiance() const override; - /** Get the imaging acquisition day from the ossim metadata : "Acquisition Date/Time" metadata variable */ + /** Get the imaging acquisition day from the ossim metadata : "Acquisition Date/Time" metadata variable + * \deprecated + */ int GetDay() const override; - /** Get the imaging acquisition month from the ossim metadata : "Acquisition Date/Time" metadata variable */ + /** Get the imaging acquisition month from the ossim metadata : "Acquisition Date/Time" metadata variable + * \deprecated + */ int GetMonth() const override; - /** Get the imaging acquisition year from the ossim metadata : "Acquisition Date/Time" metadata variable */ + /** Get the imaging acquisition year from the ossim metadata : "Acquisition Date/Time" metadata variable + * \deprecated + */ int GetYear() const override; - /** Get the imaging acquisition hour from the ossim metadata : "Acquisition Date/Time" metadata variable */ + /** Get the imaging acquisition hour from the ossim metadata : "Acquisition Date/Time" metadata variable + * \deprecated + */ int GetHour() const override; - /** Get the imaging acquisition year from the ossim metadata : "Acquisition Date/Time" metadata variable */ + /** Get the imaging acquisition year from the ossim metadata : "Acquisition Date/Time" metadata variable + * \deprecated + */ int GetMinute() const override; - /** Get the imaging production day from the ossim metadata : "Creation Date" metadata variable */ + /** Get the imaging production day from the ossim metadata : "Creation Date" metadata variable + * \deprecated + */ int GetProductionDay() const override; - /** Get the imaging production month from the ossim metadata : "Creation Date" metadata variable */ + /** Get the imaging production month from the ossim metadata : "Creation Date" metadata variable + * \deprecated + */ int GetProductionMonth() const override; - /** Get the imaging production year from the ossim metadata : "Creation Date" metadata variable */ + /** Get the imaging production year from the ossim metadata : "Creation Date" metadata variable + * \deprecated + */ int GetProductionYear() const override; - /** Get the sat elevation from the ossim metadata */ + /** Get the sat elevation from the ossim metadata + * \deprecated + */ double GetSatElevation() const override; - /** Get the sat azimuth from the ossim metadata */ + /** Get the sat azimuth from the ossim metadata + * \deprecated + */ double GetSatAzimuth() const override; /** Get the first wavelength for the spectral band definition */ diff --git a/Modules/Core/Metadata/include/otbImageMetadataInterfaceBase.h b/Modules/Core/Metadata/include/otbImageMetadataInterfaceBase.h index 7494b0e0ca30b022116451cbae7d1df7d6d6ae7f..e3461814545898a2a33c2469c63fbf341773dce4 100644 --- a/Modules/Core/Metadata/include/otbImageMetadataInterfaceBase.h +++ b/Modules/Core/Metadata/include/otbImageMetadataInterfaceBase.h @@ -147,16 +147,22 @@ public: Please use bool GetSensorID(std::string& ) **/ std::string const GetSensorID() const; - /** Get the sensor ID from the ossim metadata */ + /** Get the sensor ID from the ossim metadata + * \deprecated + */ bool GetSensorID(std::string& sensorId) const; // otbMetadataGetMacro(SensorID, std::string); - /** Get the number of bands from the ossim metadata */ + /** Get the number of bands from the ossim metadata + * \deprecated + */ UnsignedIntType GetNumberOfBands() const; // otbMetadataGetMacro(NumberOfBands, unsigned int); - /** Get the band name from the ossim metadata */ + /** Get the band name from the ossim metadata + * \deprecated + */ StringVectorType GetBandName() const; // otbMetadataGetMacro(BandName, std::vector<std::string>); @@ -168,39 +174,57 @@ public: double GetYPixelSpacing() const; // otbMetadataGetMacro(YPixelSpacing, double); - /** Get the imaging acquisition day from the ossim metadata */ + /** Get the imaging acquisition day from the ossim metadata + * \deprecated + */ virtual int GetDay() const = 0; // otbMetadataGetMacro(Day, int); - /** Get the imaging acquisition month from the ossim metadata */ + /** Get the imaging acquisition month from the ossim metadata + * \deprecated + */ virtual int GetMonth() const = 0; // otbMetadataGetMacro(Month, int); - /** Get the imaging acquisition year from the ossim metadata */ + /** Get the imaging acquisition year from the ossim metadata + * \deprecated + */ virtual int GetYear() const = 0; // otbMetadataGetMacro(Year, int); - /** Get the imaging acquisition hour from the ossim metadata */ + /** Get the imaging acquisition hour from the ossim metadata + * \deprecated + */ virtual int GetHour() const = 0; // otbMetadataGetMacro(Hour, int); - /** Get the imaging acquisition minute from the ossim metadata */ + /** Get the imaging acquisition minute from the ossim metadata + * \deprecated + */ virtual int GetMinute() const = 0; // otbMetadataGetMacro(Minute, int); - /** Get the imaging production day from the ossim metadata */ + /** Get the imaging production day from the ossim metadata + * \deprecated + */ virtual int GetProductionDay() const = 0; // otbMetadataGetMacro(ProductionDay, int); - /** Get the imaging production month from the ossim metadata */ + /** Get the imaging production month from the ossim metadata + * \deprecated + */ virtual int GetProductionMonth() const = 0; // otbMetadataGetMacro(ProductionMonth, int); - /** Get the imaging production year from the ossim metadata */ + /** Get the imaging production year from the ossim metadata + * \deprecated + */ virtual int GetProductionYear() const = 0; // otbMetadataGetMacro(ProductionYear, int); - /** Convert the band names provided by ossim to the official band names */ + /** Convert the band names provided by ossim to the official band names + * \deprecated + */ virtual StringVectorType GetEnhancedBandNames() const = 0; /** Get the 3 spectral band numbers corresponding to the default display for visualization, diff --git a/Modules/Core/Metadata/include/otbNoDataHelper.h b/Modules/Core/Metadata/include/otbNoDataHelper.h index c393976cc49e497d4a5bd49caa055991cd6a8851..8cfbc6748b65964692ef441166e90c44940e1113 100644 --- a/Modules/Core/Metadata/include/otbNoDataHelper.h +++ b/Modules/Core/Metadata/include/otbNoDataHelper.h @@ -37,12 +37,14 @@ namespace otb /** * Reads no data flag from the MetaDataDictionary dict to flags and values * vectors. Returns true upon success. + * \deprecated */ bool OTBMetadata_EXPORT ReadNoDataFlags(const itk::MetaDataDictionary& dict, std::vector<bool>& flags, std::vector<double>& values); /** * Write no data flags to the MetaDataDictionary dict from flags and values * vectors. Returns true upon success. + * \deprecated */ void OTBMetadata_EXPORT WriteNoDataFlags(const std::vector<bool>& flags, const std::vector<double>& values, itk::MetaDataDictionary& dict); diff --git a/Modules/Core/Metadata/include/otbOpticalDefaultImageMetadataInterface.h b/Modules/Core/Metadata/include/otbOpticalDefaultImageMetadataInterface.h index d86a3614b0f835e8cad8b4236feb1433614bd658..13feea529365ce9d4b024480217abceb0698fbc3 100644 --- a/Modules/Core/Metadata/include/otbOpticalDefaultImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbOpticalDefaultImageMetadataInterface.h @@ -55,79 +55,105 @@ public: typedef Superclass::VariableLengthVectorType VariableLengthVectorType; typedef Superclass::ImageKeywordlistType ImageKeywordlistType; - /** Get the radiometric bias from the ossim metadata */ + /** Get the radiometric bias from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalBias() const override { itkExceptionMacro("GetPhysicalBias not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the radiometric gain from the ossim metadata */ + /** Get the radiometric gain from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalGain() const override { itkExceptionMacro("GetPhysicalGain not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the solar irradiance from the ossim metadata */ + /** Get the solar irradiance from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetSolarIrradiance() const override { itkExceptionMacro("GetSolarIrradiance not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition day from the ossim metadata */ + /** Get the imaging acquisition day from the ossim metadata + * \deprecated + */ int GetDay() const override { itkExceptionMacro("GetDay not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition month from the ossim metadata */ + /** Get the imaging acquisition month from the ossim metadata + * \deprecated + */ int GetMonth() const override { itkExceptionMacro("GetMonth not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition year from the ossim metadata */ + /** Get the imaging acquisition year from the ossim metadata + * \deprecated + */ int GetYear() const override { itkExceptionMacro("GetYear not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition hour from the ossim metadata */ + /** Get the imaging acquisition hour from the ossim metadata + * \deprecated + */ int GetHour() const override { itkExceptionMacro("GetHour not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition minute from the ossim metadata */ + /** Get the imaging acquisition minute from the ossim metadata + * \deprecated + */ int GetMinute() const override { itkExceptionMacro("GetMinute not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging production day from the ossim metadata */ + /** Get the imaging production day from the ossim metadata + * \deprecated + */ int GetProductionDay() const override { itkExceptionMacro("GetProductionDay not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging production month from the ossim metadata */ + /** Get the imaging production month from the ossim metadata + * \deprecated + */ int GetProductionMonth() const override { itkExceptionMacro("GetProductionMonth not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging production year from the ossim metadata */ + /** Get the imaging production year from the ossim metadata + * \deprecated + */ int GetProductionYear() const override { itkExceptionMacro("GetProductionYear not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the sat elevation from the ossim metadata */ + /** Get the sat elevation from the ossim metadata + * \deprecated + */ double GetSatElevation() const override { itkExceptionMacro("GetSatElevation not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); } - /** Get the sat azimuth from the ossim metadata */ + /** Get the sat azimuth from the ossim metadata + * \deprecated + */ double GetSatAzimuth() const override { itkExceptionMacro("GetSatElevation not implemented in OpticalDefaultImageMetadataInterface, no captor type found"); diff --git a/Modules/Core/Metadata/include/otbOpticalImageMetadataInterface.h b/Modules/Core/Metadata/include/otbOpticalImageMetadataInterface.h index 425608957ea9b3ec3425381fd008ab15fe662b60..545eaa668e695765025d4b38dd9ac24af0edf8f1 100644 --- a/Modules/Core/Metadata/include/otbOpticalImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbOpticalImageMetadataInterface.h @@ -57,25 +57,39 @@ public: typedef otb::ObjectList<FilterFunctionValuesType> InternalWavelengthSpectralBandVectorType; typedef InternalWavelengthSpectralBandVectorType::Pointer WavelengthSpectralBandVectorType; - /** Get the sun elevation from the ossim metadata */ + /** Get the sun elevation from the ossim metadata + * \deprecated + */ double GetSunElevation() const; - /** Get the sun azimuth from the ossim metadata */ + /** Get the sun azimuth from the ossim metadata + * \deprecated + */ double GetSunAzimuth() const; - /** Get the sat elevation from the ossim metadata */ + /** Get the sat elevation from the ossim metadata + * \deprecated + */ virtual double GetSatElevation() const = 0; - /** Get the sat azimuth from the ossim metadata */ + /** Get the sat azimuth from the ossim metadata + * \deprecated + */ virtual double GetSatAzimuth() const = 0; - /** Get the radiometric bias from the ossim metadata */ + /** Get the radiometric bias from the ossim metadata + * \deprecated + */ virtual VariableLengthVectorType GetPhysicalBias() const = 0; - /** Get the radiometric gain from the ossim metadata */ + /** Get the radiometric gain from the ossim metadata + * \deprecated + */ virtual VariableLengthVectorType GetPhysicalGain() const = 0; - /** Get the solar irradiance from the ossim metadata */ + /** Get the solar irradiance from the ossim metadata + * \deprecated + */ virtual VariableLengthVectorType GetSolarIrradiance() const = 0; /** Get the first wavelength for the spectral band definition */ diff --git a/Modules/Core/Metadata/include/otbPleiadesImageMetadataInterface.h b/Modules/Core/Metadata/include/otbPleiadesImageMetadataInterface.h index 5e8c227722af2d31828b3bc9aadca2b636e9b1c6..91e8fc7e708ffb49408b11521cb2388d2e9263de 100644 --- a/Modules/Core/Metadata/include/otbPleiadesImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbPleiadesImageMetadataInterface.h @@ -53,43 +53,69 @@ public: typedef Superclass::VariableLengthVectorType VariableLengthVectorType; typedef Superclass::ImageKeywordlistType ImageKeywordlistType; - /** Get the radiometric bias from the ossim metadata */ + /** Get the radiometric bias from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalBias() const override; - /** Get the radiometric gain from the ossim metadata */ + /** Get the radiometric gain from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalGain() const override; - /** Get the solar irradiance from the ossim metadata */ + /** Get the solar irradiance from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetSolarIrradiance() const override; - /** Get the imaging acquisition day from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition day from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetDay() const override; - /** Get the imaging acquisition month from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition month from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetMonth() const override; - /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetYear() const override; - /** Get the imaging acquisition hour from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition hour from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetHour() const override; - /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetMinute() const override; - /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionDay() const override; - /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionMonth() const override; - /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionYear() const override; - /** Get the sat elevation from the ossim metadata */ + /** Get the sat elevation from the ossim metadata + * \deprecated + */ double GetSatElevation() const override; - /** Get the sat azimuth from the ossim metadata */ + /** Get the sat azimuth from the ossim metadata + * \deprecated + */ double GetSatAzimuth() const override; /** Get the first wavelength for the spectral band definition */ diff --git a/Modules/Core/Metadata/include/otbQuickBirdImageMetadataInterface.h b/Modules/Core/Metadata/include/otbQuickBirdImageMetadataInterface.h index 82c7636ad0df7a4eda88bd20eee952c1a6447e6e..d4d0a353c0e30bbc2b3b807fc6a1627a4af7c59f 100644 --- a/Modules/Core/Metadata/include/otbQuickBirdImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbQuickBirdImageMetadataInterface.h @@ -52,43 +52,69 @@ public: typedef Superclass::VariableLengthVectorType VariableLengthVectorType; typedef Superclass::ImageKeywordlistType ImageKeywordlistType; - /** Get the radiometric bias from the ossim metadata */ + /** Get the radiometric bias from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalBias() const override; - /** Get the radiometric gain from the ossim metadata */ + /** Get the radiometric gain from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalGain() const override; - /** Get the solar irradiance from the ossim metadata */ + /** Get the solar irradiance from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetSolarIrradiance() const override; - /** Get the imaging acquisition day from the ossim metadata : TLCTime metadata value */ + /** Get the imaging acquisition day from the ossim metadata : TLCTime metadata value + * \deprecated + */ int GetDay() const override; - /** Get the imaging acquisition month from the ossim metadata : TLCTime metadata value */ + /** Get the imaging acquisition month from the ossim metadata : TLCTime metadata value + * \deprecated + */ int GetMonth() const override; - /** Get the imaging acquisition year from the ossim metadata : TLCTime metadata value */ + /** Get the imaging acquisition year from the ossim metadata : TLCTime metadata value + * \deprecated + */ int GetYear() const override; - /** Get the imaging acquisition hour from the ossim metadata : TLCTime metadata value */ + /** Get the imaging acquisition hour from the ossim metadata : TLCTime metadata value + * \deprecated + */ int GetHour() const override; - /** Get the imaging acquisition year from the ossim metadata : TLCTime metadata value */ + /** Get the imaging acquisition year from the ossim metadata : TLCTime metadata value + * \deprecated + */ int GetMinute() const override; - /** Get the imaging production day from the ossim metadata : generationTime metadata value */ + /** Get the imaging production day from the ossim metadata : generationTime metadata value + * \deprecated + */ int GetProductionDay() const override; - /** Get the imaging production month from the ossim metadata : generationTime metadata value */ + /** Get the imaging production month from the ossim metadata : generationTime metadata value + * \deprecated + */ int GetProductionMonth() const override; - /** Get the imaging production year from the ossim metadata : generationTime metadata value */ + /** Get the imaging production year from the ossim metadata : generationTime metadata value + * \deprecated + */ int GetProductionYear() const override; - /** Get the sat elevation from the ossim metadata */ + /** Get the sat elevation from the ossim metadata + * \deprecated + */ double GetSatElevation() const override; - /** Get the sat azimuth from the ossim metadata */ + /** Get the sat azimuth from the ossim metadata + * \deprecated + */ double GetSatAzimuth() const override; /** Get the first wavelength for the spectral band definition */ diff --git a/Modules/Core/Metadata/include/otbRadarsat2ImageMetadataInterface.h b/Modules/Core/Metadata/include/otbRadarsat2ImageMetadataInterface.h index a50708de5e8fbb37a75e0b2ac8e549acc3833f88..91fb7893b1622c0d27d6cc8ead2b0e0dec4e5643 100644 --- a/Modules/Core/Metadata/include/otbRadarsat2ImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbRadarsat2ImageMetadataInterface.h @@ -56,13 +56,19 @@ public: // typedef Radarsat2CalibrationLookupData::Pointer LookupDataPointerType; /*ImageMetadataInterfaceBase pure virtuals */ - /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionDay() const override; - /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionMonth() const override; - /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionYear() const override; /** check sensor ID */ diff --git a/Modules/Core/Metadata/include/otbSarDefaultImageMetadataInterface.h b/Modules/Core/Metadata/include/otbSarDefaultImageMetadataInterface.h index 6965e3f32ee2eba47a09d2ef3280234153465308..a8319bcd20674d1c9ef900672e4057a7e0302f09 100644 --- a/Modules/Core/Metadata/include/otbSarDefaultImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbSarDefaultImageMetadataInterface.h @@ -117,49 +117,65 @@ public: itkExceptionMacro("GetRadiometricCalibrationNoisePolynomialDegree() not implemented in SarDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition day from the ossim metadata */ + /** Get the imaging acquisition day from the ossim metadata + * \deprecated + */ int GetDay() const override { itkExceptionMacro("GetDay not implemented in SarDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition month from the ossim metadata */ + /** Get the imaging acquisition month from the ossim metadata + * \deprecated + */ int GetMonth() const override { itkExceptionMacro("GetMonth not implemented in SarDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition year from the ossim metadata */ + /** Get the imaging acquisition year from the ossim metadata + * \deprecated + */ int GetYear() const override { itkExceptionMacro("GetYear not implemented in SarDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition hour from the ossim metadata */ + /** Get the imaging acquisition hour from the ossim metadata + * \deprecated + */ int GetHour() const override { itkExceptionMacro("GetHour not implemented in SarDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging acquisition minute from the ossim metadata */ + /** Get the imaging acquisition minute from the ossim metadata + * \deprecated + */ int GetMinute() const override { itkExceptionMacro("GetMinute not implemented in SarDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging production day from the ossim metadata */ + /** Get the imaging production day from the ossim metadata + * \deprecated + */ int GetProductionDay() const override { itkExceptionMacro("GetProductionDay not implemented in SarDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging production month from the ossim metadata */ + /** Get the imaging production month from the ossim metadata + * \deprecated + */ int GetProductionMonth() const override { itkExceptionMacro("GetProductionMonth not implemented in SarDefaultImageMetadataInterface, no captor type found"); } - /** Get the imaging production year from the ossim metadata */ + /** Get the imaging production year from the ossim metadata + * \deprecated + */ int GetProductionYear() const override { itkExceptionMacro("GetProductionYear not implemented in SarDefaultImageMetadataInterface, no captor type found"); diff --git a/Modules/Core/Metadata/include/otbSentinel1ImageMetadataInterface.h b/Modules/Core/Metadata/include/otbSentinel1ImageMetadataInterface.h index f26e47c840284e5322c47941bf450dafd2de5b1b..bb27d191039d64494ba069e648188d52f82c251b 100644 --- a/Modules/Core/Metadata/include/otbSentinel1ImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbSentinel1ImageMetadataInterface.h @@ -57,13 +57,19 @@ public: typedef Superclass::RealType RealType; typedef Superclass::LookupDataPointerType LookupDataPointerType; - /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionDay() const override; - /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionMonth() const override; - /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionYear() const override; /** check sensor ID */ diff --git a/Modules/Core/Metadata/include/otbSpot6ImageMetadataInterface.h b/Modules/Core/Metadata/include/otbSpot6ImageMetadataInterface.h index 7df7fb193a70a4efc511139dc43177e516e34b6b..9fd5a17438d084721fc2bce27f4ad3196a626c2e 100644 --- a/Modules/Core/Metadata/include/otbSpot6ImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbSpot6ImageMetadataInterface.h @@ -53,43 +53,69 @@ public: typedef Superclass::VariableLengthVectorType VariableLengthVectorType; typedef Superclass::ImageKeywordlistType ImageKeywordlistType; - /** Get the radiometric bias from the ossim metadata */ + /** Get the radiometric bias from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalBias() const override; - /** Get the radiometric gain from the ossim metadata */ + /** Get the radiometric gain from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalGain() const override; - /** Get the solar irradiance from the ossim metadata */ + /** Get the solar irradiance from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetSolarIrradiance() const override; - /** Get the imaging acquisition day from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition day from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetDay() const override; - /** Get the imaging acquisition month from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition month from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetMonth() const override; - /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetYear() const override; - /** Get the imaging acquisition hour from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition hour from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetHour() const override; - /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetMinute() const override; - /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionDay() const override; - /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionMonth() const override; - /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionYear() const override; - /** Get the sat elevation from the ossim metadata */ + /** Get the sat elevation from the ossim metadata + * \deprecated + */ double GetSatElevation() const override; - /** Get the sat azimuth from the ossim metadata */ + /** Get the sat azimuth from the ossim metadata + * \deprecated + */ double GetSatAzimuth() const override; /** Get the first wavelength for the spectral band definition */ diff --git a/Modules/Core/Metadata/include/otbSpotImageMetadataInterface.h b/Modules/Core/Metadata/include/otbSpotImageMetadataInterface.h index 08148031b0b0b5172e56f801a06cc125f076943e..c0ad610f7ba9a341474a1f9af2c126fe7328c70e 100644 --- a/Modules/Core/Metadata/include/otbSpotImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbSpotImageMetadataInterface.h @@ -53,52 +53,84 @@ public: typedef Superclass::VariableLengthVectorType VariableLengthVectorType; typedef Superclass::ImageKeywordlistType ImageKeywordlistType; - /** Get the radiometric bias from the ossim metadata */ + /** Get the radiometric bias from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalBias() const override; - /** Get the radiometric gain from the ossim metadata */ + /** Get the radiometric gain from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalGain() const override; - /** Get the solar irradiance from the ossim metadata */ + /** Get the solar irradiance from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetSolarIrradiance() const override; - /** Get the imaging acquisition day from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition day from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetDay() const override; - /** Get the imaging acquisition month from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition month from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetMonth() const override; - /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetYear() const override; - /** Get the imaging acquisition hour from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition hour from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetHour() const override; - /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable */ + /** Get the imaging acquisition year from the ossim metadata : IMAGING_DATE metadata variable + * \deprecated + */ int GetMinute() const override; - /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production day from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionDay() const override; - /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production month from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionMonth() const override; - /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable */ + /** Get the imaging production year from the ossim metadata : DATASET_PRODUCTION_DATE metadata variable + * \deprecated + */ int GetProductionYear() const override; - /** Get the sat elevation from the ossim metadata */ + /** Get the sat elevation from the ossim metadata + * \deprecated + */ double GetSatElevation() const override; - /** Get the sat azimuth from the ossim metadata */ + /** Get the sat azimuth from the ossim metadata + * \deprecated + */ double GetSatAzimuth() const override; - /** Get the first wavelength for the spectral band definition */ + /** Get the first wavelength for the spectral band definition + * \deprecated + */ VariableLengthVectorType GetFirstWavelengths() const override; - /** Get the last wavelength for the spectral band definition */ + /** Get the last wavelength for the spectral band definition + * \deprecated + */ VariableLengthVectorType GetLastWavelengths() const override; - /** Get the enhanced band names (here nothing because the metadata did not provide band names) */ + /** Get the enhanced band names (here nothing because the metadata did not provide band names) + * \deprecated + */ std::vector<std::string> GetEnhancedBandNames() const override { return this->Superclass::GetBandName(); diff --git a/Modules/Core/Metadata/include/otbTerraSarImageMetadataInterface.h b/Modules/Core/Metadata/include/otbTerraSarImageMetadataInterface.h index dcaa62cee754014b79b04c2706d109eda6c4a1c5..032dd194adfc0a864f800cb84cb8760cda8b30c9 100644 --- a/Modules/Core/Metadata/include/otbTerraSarImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbTerraSarImageMetadataInterface.h @@ -65,31 +65,49 @@ public: typedef Superclass::PointSetPointer PointSetPointer; typedef double RealType; - /** Get the imaging start acquisition day from the ossim metadata */ + /** Get the imaging start acquisition day from the ossim metadata + * \deprecated + */ int GetDay() const override; - /** Get the imaging start acquisition month from the ossim metadata */ + /** Get the imaging start acquisition month from the ossim metadata + * \deprecated + */ int GetMonth() const override; - /** Get the imaging start acquisition year from the ossim metadata */ + /** Get the imaging start acquisition year from the ossim metadata + * \deprecated + */ int GetYear() const override; - /** Get the imaging start acquisition hour from the ossim metadata */ + /** Get the imaging start acquisition hour from the ossim metadata + * \deprecated + */ int GetHour() const override; - /** Get the imaging start acquisition minute from the ossim metadata */ + /** Get the imaging start acquisition minute from the ossim metadata + * \deprecated + */ int GetMinute() const override; - /** Get the imaging production day from the ossim metadata : generationTime variable */ + /** Get the imaging production day from the ossim metadata : generationTime variable + * \deprecated + */ int GetProductionDay() const override; - /** Get the imaging production month from the ossim metadata : generationTime variable */ + /** Get the imaging production month from the ossim metadata : generationTime variable + * \deprecated + */ int GetProductionMonth() const override; - /** Get the imaging production year from the ossim metadata : generationTime variable */ + /** Get the imaging production year from the ossim metadata : generationTime variable + * \deprecated + */ int GetProductionYear() const override; - /** Get the calibration.calFactor : generationTime variable */ + /** Get the calibration.calFactor : generationTime variable + * \deprecated + */ double GetCalibrationFactor() const; /** Get the number of noise records */ diff --git a/Modules/Core/Metadata/include/otbWorldView2ImageMetadataInterface.h b/Modules/Core/Metadata/include/otbWorldView2ImageMetadataInterface.h index 3505c60afaac4bef8fb8dffb97f35e634dc99aa3..4def8580c1b86ddee87eed610167b7879a923c58 100644 --- a/Modules/Core/Metadata/include/otbWorldView2ImageMetadataInterface.h +++ b/Modules/Core/Metadata/include/otbWorldView2ImageMetadataInterface.h @@ -52,43 +52,69 @@ public: typedef Superclass::VariableLengthVectorType VariableLengthVectorType; typedef Superclass::ImageKeywordlistType ImageKeywordlistType; - /** Get the radiometric bias from the ossim metadata */ + /** Get the radiometric bias from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalBias() const override; - /** Get the radiometric gain from the ossim metadata */ + /** Get the radiometric gain from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetPhysicalGain() const override; - /** Get the solar irradiance from the ossim metadata */ + /** Get the solar irradiance from the ossim metadata + * \deprecated + */ VariableLengthVectorType GetSolarIrradiance() const override; - /** Get the imaging acquisition day from the ossim metadata : TLCTime metadata value */ + /** Get the imaging acquisition day from the ossim metadata : TLCTime metadata value + * \deprecated + */ int GetDay() const override; - /** Get the imaging acquisition month from the ossim metadata : TLCTime metadata value */ + /** Get the imaging acquisition month from the ossim metadata : TLCTime metadata value + * \deprecated + */ int GetMonth() const override; - /** Get the imaging acquisition year from the ossim metadata : TLCTime metadata value */ + /** Get the imaging acquisition year from the ossim metadata : TLCTime metadata value + * \deprecated + */ int GetYear() const override; - /** Get the imaging acquisition hour from the ossim metadata : TLCTime metadata value */ + /** Get the imaging acquisition hour from the ossim metadata : TLCTime metadata value + * \deprecated + */ int GetHour() const override; - /** Get the imaging acquisition year from the ossim metadata : TLCTime metadata value */ + /** Get the imaging acquisition year from the ossim metadata : TLCTime metadata value + * \deprecated + */ int GetMinute() const override; - /** Get the imaging production day from the ossim metadata : generationTime metadata value */ + /** Get the imaging production day from the ossim metadata : generationTime metadata value + * \deprecated + */ int GetProductionDay() const override; - /** Get the imaging production month from the ossim metadata : generationTime metadata value */ + /** Get the imaging production month from the ossim metadata : generationTime metadata value + * \deprecated + */ int GetProductionMonth() const override; - /** Get the imaging production year from the ossim metadata : generationTime metadata value */ + /** Get the imaging production year from the ossim metadata : generationTime metadata value + * \deprecated + */ int GetProductionYear() const override; - /** Get the sat elevation from the ossim metadata */ + /** Get the sat elevation from the ossim metadata + * \deprecated + */ double GetSatElevation() const override; - /** Get the sat azimuth from the ossim metadata */ + /** Get the sat azimuth from the ossim metadata + * \deprecated + */ double GetSatAzimuth() const override; /** Get the first wavelength for the spectral band definition */ @@ -107,7 +133,9 @@ public: * There values a computed by 6S. */ WavelengthSpectralBandVectorType GetSpectralSensitivity() const override; - /** Get the enhanced band names from band names collected by ossim */ + /** Get the enhanced band names from band names collected by ossim + * \deprecated + */ std::vector<std::string> GetEnhancedBandNames() const override; protected: