OTB  9.0.0
Orfeo Toolbox
Public Member Functions | Private Member Functions | Private Attributes | List of all members
otb::DimapMetadataHelper Class Reference

#include <otbDimapMetadataHelper.h>

+ Collaboration diagram for otb::DimapMetadataHelper:

Public Member Functions

 DimapMetadataHelper ()=default
 
const DimapDataGetDimapData () const
 
void ParseDimapV1 (const MetadataSupplierInterface &mds, const std::string prefix)
 
void ParseDimapV2 (const MetadataSupplierInterface &mds, const std::string &prefix="Dimap_Document.")
 
void ParseGeom (const MetadataSupplierInterface &mds)
 

Private Member Functions

template<class T >
GetSingleValueFromList (const MetadataSupplierInterface &mds, const std::string &prefix, const std::string &name)
 
template<class T >
void ParseVector (const MetadataSupplierInterface &mds, const std::string &prefix, const std::string &name, std::vector< T > &dest)
 
template<class T >
void ParseVector (const MetadataSupplierInterface &mds, const std::string &prefix, const std::string &name, std::vector< T > &dest, std::vector< T > &defaultValue)
 

Private Attributes

DimapData m_Data
 

Detailed Description

Helper class to read dimap data from various sources (Dimap v1, dimap v2, Ossim geom file) and various sensors (PHR, SPOT, ...) and store them in a DimapData struct.

Definition at line 87 of file otbDimapMetadataHelper.h.

Constructor & Destructor Documentation

◆ DimapMetadataHelper()

otb::DimapMetadataHelper::DimapMetadataHelper ( )
default

Member Function Documentation

◆ GetDimapData()

const DimapData& otb::DimapMetadataHelper::GetDimapData ( ) const
inline

Definition at line 93 of file otbDimapMetadataHelper.h.

◆ GetSingleValueFromList()

template<class T >
T otb::DimapMetadataHelper::GetSingleValueFromList ( const MetadataSupplierInterface mds,
const std::string &  prefix,
const std::string &  name 
)
inlineprivate

Definition at line 215 of file otbDimapMetadataHelper.h.

◆ ParseDimapV1()

void otb::DimapMetadataHelper::ParseDimapV1 ( const MetadataSupplierInterface mds,
const std::string  prefix 
)

Parse Dimap data from a Dimap v1 product

◆ ParseDimapV2()

void otb::DimapMetadataHelper::ParseDimapV2 ( const MetadataSupplierInterface mds,
const std::string &  prefix = "Dimap_Document." 
)

Parse Dimap data from a Dimap v2 product

◆ ParseGeom()

void otb::DimapMetadataHelper::ParseGeom ( const MetadataSupplierInterface mds)

Parse Dimap data from an Ossim geom file. This method can be used to parse geom generated with OTB <= 7.0

◆ ParseVector() [1/2]

template<class T >
void otb::DimapMetadataHelper::ParseVector ( const MetadataSupplierInterface mds,
const std::string &  prefix,
const std::string &  name,
std::vector< T > &  dest 
)
inlineprivate

◆ ParseVector() [2/2]

template<class T >
void otb::DimapMetadataHelper::ParseVector ( const MetadataSupplierInterface mds,
const std::string &  prefix,
const std::string &  name,
std::vector< T > &  dest,
std::vector< T > &  defaultValue 
)
inlineprivate

Member Data Documentation

◆ m_Data

DimapData otb::DimapMetadataHelper::m_Data
private

Definition at line 225 of file otbDimapMetadataHelper.h.


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