OTB  10.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)
 
void ParseSpot5Model (const MetadataSupplierInterface &mds, Spot5Param &spot5Param, const std::string &prefix="Dimap_Document.")
 

Private Member Functions

template<class T >
GetSingleValueFromList (const MetadataSupplierInterface &mds, const std::string &prefix, const std::string &name)
 
double GetTime (const std::string &timeStr)
 
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 90 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 96 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 220 of file otbDimapMetadataHelper.h.

◆ GetTime()

double otb::DimapMetadataHelper::GetTime ( const std::string &  timeStr)
inlineprivate

Definition at line 230 of file otbDimapMetadataHelper.h.

References otb::MetaData::ReadFormattedDate().

◆ 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

◆ ParseSpot5Model()

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

◆ 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 244 of file otbDimapMetadataHelper.h.


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