OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
otb::GDALImageMetadataInterface Class Reference

#include <otbGDALImageMetadataInterface.h>

+ Inheritance diagram for otb::GDALImageMetadataInterface:
+ Collaboration diagram for otb::GDALImageMetadataInterface:

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
typedef Superclass::ImageType ImageType
 
typedef Superclass::MetaDataDictionaryType MetaDataDictionaryType
 
using Pointer = itk::SmartPointer< Self >
 
using Self = GDALImageMetadataInterface
 
using Superclass = ImageMetadataInterfaceBase
 
typedef Superclass::VariableLengthVectorType VariableLengthVectorType
 
typedef Superclass::VectorType VectorType
 
- Public Types inherited from otb::ImageMetadataInterfaceBase
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::ImageBase< 2 > ImageType
 
typedef itk::MetaDataDictionary MetaDataDictionaryType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ImageMetadataInterfaceBase Self
 
typedef std::vector< std::string > StringVectorType
 
typedef itk::Object Superclass
 
typedef std::vector< unsigned int > UIntVectorType
 
typedef unsigned int UnsignedIntType
 
typedef MetaDataKey::VariableLengthVectorType VariableLengthVectorType
 
typedef MetaDataKey::VectorType VectorType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void Parse (ImageMetadata &) override
 
- Public Member Functions inherited from otb::ImageMetadataInterfaceBase
const MetaDataDictionaryTypeGetMetaDataDictionary () const
 
std::string GetProjectionRef () const
 
void SetImage (ImageType *image)
 
void SetMetaDataDictionary (const MetaDataDictionaryType &dict)
 
void SetMetadataSupplierInterface (const MetadataSupplierInterface &)
 
std::string GetGCPProjection () const
 
UnsignedIntType GetGCPCount () const
 
GCPGetGCPs (unsigned int GCPnum)
 
std::string GetGCPId (unsigned int GCPnum) const
 
std::string GetGCPInfo (unsigned int GCPnum) const
 
double GetGCPRow (unsigned int GCPnum) const
 
double GetGCPCol (unsigned int GCPnum) const
 
double GetGCPX (unsigned int GCPnum) const
 
double GetGCPY (unsigned int GCPnum) const
 
double GetGCPZ (unsigned int GCPnum) const
 
VectorType GetGeoTransform () const
 
VectorType GetUpperLeftCorner () const
 
VectorType GetUpperRightCorner () const
 
VectorType GetLowerLeftCorner () const
 
VectorType GetLowerRightCorner () const
 
const std::string & Fetch (MDStr key, ImageMetadata &imd, const char *path, int band=-1)
 
bool CheckFetch (MDStr key, ImageMetadata &imd, const char *path, int band=-1)
 
const double & Fetch (MDNum key, ImageMetadata &imd, const char *path, int band=-1)
 
bool CheckFetch (MDNum key, ImageMetadata &imd, const char *path, int band=-1)
 
const MetaData::TimePointFetch (MDTime key, ImageMetadata &imd, const char *path, int band=-1)
 
bool CheckFetch (MDTime key, ImageMetadata &imd, const char *path, int band=-1)
 
const std::string & Fetch (std::string key, ImageMetadata &imd, const char *path, int band=-1)
 
bool CheckFetch (std::string key, ImageMetadata &imd, const char *path, int band=-1)
 
const boost::any & FetchRPC (ImageMetadata &imd, const double lineOffset=0.0, const double sampleOffset=0.0)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 GDALImageMetadataInterface ()
 
 ~GDALImageMetadataInterface () override=default
 
- Protected Member Functions inherited from otb::ImageMetadataInterfaceBase
 ImageMetadataInterfaceBase ()=default
 
 ~ImageMetadataInterfaceBase () override=default
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 

Private Member Functions

 GDALImageMetadataInterface (const Self &)=delete
 
void operator= (const Self &)=delete
 

Additional Inherited Members

- Protected Attributes inherited from otb::ImageMetadataInterfaceBase
MetaDataDictionaryType m_MetaDataDictionary
 
const MetadataSupplierInterfacem_MetadataSupplierInterface = nullptr
 

Detailed Description

Definition at line 31 of file otbGDALImageMetadataInterface.h.

Member Typedef Documentation

◆ ConstPointer

using otb::GDALImageMetadataInterface::ConstPointer = itk::SmartPointer<const Self>

Definition at line 37 of file otbGDALImageMetadataInterface.h.

◆ ImageType

typedef Superclass::ImageType otb::GDALImageMetadataInterface::ImageType

Definition at line 43 of file otbGDALImageMetadataInterface.h.

◆ MetaDataDictionaryType

typedef Superclass::MetaDataDictionaryType otb::GDALImageMetadataInterface::MetaDataDictionaryType

Definition at line 46 of file otbGDALImageMetadataInterface.h.

◆ Pointer

using otb::GDALImageMetadataInterface::Pointer = itk::SmartPointer<Self>

Definition at line 36 of file otbGDALImageMetadataInterface.h.

◆ Self

Definition at line 34 of file otbGDALImageMetadataInterface.h.

◆ Superclass

Definition at line 35 of file otbGDALImageMetadataInterface.h.

◆ VariableLengthVectorType

typedef Superclass::VariableLengthVectorType otb::GDALImageMetadataInterface::VariableLengthVectorType

Definition at line 48 of file otbGDALImageMetadataInterface.h.

◆ VectorType

typedef Superclass::VectorType otb::GDALImageMetadataInterface::VectorType

Definition at line 47 of file otbGDALImageMetadataInterface.h.

Constructor & Destructor Documentation

◆ GDALImageMetadataInterface() [1/2]

otb::GDALImageMetadataInterface::GDALImageMetadataInterface ( )
protected

◆ ~GDALImageMetadataInterface()

otb::GDALImageMetadataInterface::~GDALImageMetadataInterface ( )
overrideprotecteddefault

◆ GDALImageMetadataInterface() [2/2]

otb::GDALImageMetadataInterface::GDALImageMetadataInterface ( const Self )
privatedelete

Member Function Documentation

◆ CreateAnother()

virtual::itk::LightObject::Pointer otb::GDALImageMetadataInterface::CreateAnother ( void  ) const

◆ GetNameOfClass()

virtual const char* otb::GDALImageMetadataInterface::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::ImageMetadataInterfaceBase.

◆ New()

static Pointer otb::GDALImageMetadataInterface::New ( )
static

Method for creation through the object factory.

◆ operator=()

void otb::GDALImageMetadataInterface::operator= ( const Self )
privatedelete

◆ Parse()

void otb::GDALImageMetadataInterface::Parse ( ImageMetadata )
overridevirtual

Parses the metadata using the MetadataSupplierInterface and fill the ImageMetadata object Raises "MissingMetadataException" if parsing fails.

Reimplemented from otb::ImageMetadataInterfaceBase.


The documentation for this class was generated from the following file: