![]() |
OTB
10.0.0
Orfeo Toolbox
|
#include <otbDimapMetadataHelper.h>
Collaboration diagram for otb::DimapMetadataHelper:Public Member Functions | |
| void | createDefaultLUTs () |
| DimapMetadataHelper ()=default | |
| const DimapData & | GetDimapData () const |
| void | ParseDimapV1 (const MetadataSupplierInterface &mds, const std::string prefix) |
| void | ParseDimapV2 (const MetadataSupplierInterface &mds, const std::string &prefix="Dimap_Document.") |
| void | ParseDimapV3 (const MetadataSupplierInterface &mds, const std::string &prefix="Dimap_Document.") |
| void | ParseGeom (const MetadataSupplierInterface &mds) |
| void | ParseLUT (const MetadataSupplierInterface &mds) |
| std::vector< double > | parseLUTStringToArrays (std::string const &s) |
| void | ParseSpot5Model (const MetadataSupplierInterface &mds, Spot5Param &spot5Param, const std::string &prefix="Dimap_Document.") |
Private Member Functions | |
| template<class T > | |
| 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 |
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 97 of file otbDimapMetadataHelper.h.
|
default |
| void otb::DimapMetadataHelper::createDefaultLUTs | ( | ) |
create default LUT data
|
inline |
Definition at line 103 of file otbDimapMetadataHelper.h.
|
inlineprivate |
Definition at line 238 of file otbDimapMetadataHelper.h.
|
inlineprivate |
Definition at line 248 of file otbDimapMetadataHelper.h.
References otb::MetaData::ReadFormattedDate().
| void otb::DimapMetadataHelper::ParseDimapV1 | ( | const MetadataSupplierInterface & | mds, |
| const std::string | prefix | ||
| ) |
Parse Dimap data from a Dimap v1 product
| void otb::DimapMetadataHelper::ParseDimapV2 | ( | const MetadataSupplierInterface & | mds, |
| const std::string & | prefix = "Dimap_Document." |
||
| ) |
Parse Dimap data from a Dimap v2 product
| void otb::DimapMetadataHelper::ParseDimapV3 | ( | const MetadataSupplierInterface & | mds, |
| const std::string & | prefix = "Dimap_Document." |
||
| ) |
Parse Dimap data from a Dimap v3 product
| 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
| void otb::DimapMetadataHelper::ParseLUT | ( | const MetadataSupplierInterface & | mds | ) |
Parse Dimap data from a LUT Dimap v1.1 product
| std::vector<double> otb::DimapMetadataHelper::parseLUTStringToArrays | ( | std::string const & | s | ) |
Parse string to array of double
| void otb::DimapMetadataHelper::ParseSpot5Model | ( | const MetadataSupplierInterface & | mds, |
| Spot5Param & | spot5Param, | ||
| const std::string & | prefix = "Dimap_Document." |
||
| ) |
|
inlineprivate |
Definition at line 136 of file otbDimapMetadataHelper.h.
References otb::MetadataSupplierInterface::GetMetadataValue(), and otbGenericExceptionMacro.
|
inlineprivate |
Definition at line 188 of file otbDimapMetadataHelper.h.
References otb::MetadataSupplierInterface::GetMetadataValue().
|
private |
Definition at line 262 of file otbDimapMetadataHelper.h.
1.9.1