OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
otb::SoilDataBase Class Reference

#include <otbSoilDataBase.h>

+ Collaboration diagram for otb::SoilDataBase:

Public Types

using SoilData = std::unordered_map< WavelenghtType, double >
 
using SoilDataVector = std::vector< SoilData >
 
using WavelenghtType = unsigned int
 

Public Member Functions

const SoilDataVectorGetDB () const
 
double GetReflectance (vcl_size_t SoilIndex, WavelenghtType wl) const
 
 SoilDataBase (const std::string &SoilFileName, double wlfactor)
 

Protected Member Functions

vcl_size_t CountColumns (std::string fileName) const
 
void ParseSoilFile ()
 

Protected Attributes

SoilDataVector m_SoilDataVector
 
std::string m_SoilFileName
 
std::vector< WavelenghtTypem_Wavelengths
 
double m_WlFactor
 

Detailed Description

Definition at line 34 of file otbSoilDataBase.h.

Member Typedef Documentation

using otb::SoilDataBase::SoilData = std::unordered_map<WavelenghtType, double>

Definition at line 39 of file otbSoilDataBase.h.

Definition at line 40 of file otbSoilDataBase.h.

using otb::SoilDataBase::WavelenghtType = unsigned int

Definition at line 38 of file otbSoilDataBase.h.

Constructor & Destructor Documentation

otb::SoilDataBase::SoilDataBase ( const std::string &  SoilFileName,
double  wlfactor 
)

Member Function Documentation

vcl_size_t otb::SoilDataBase::CountColumns ( std::string  fileName) const
protected
const SoilDataVector& otb::SoilDataBase::GetDB ( ) const
double otb::SoilDataBase::GetReflectance ( vcl_size_t  SoilIndex,
WavelenghtType  wl 
) const
void otb::SoilDataBase::ParseSoilFile ( )
protected

Member Data Documentation

SoilDataVector otb::SoilDataBase::m_SoilDataVector
protected

Definition at line 52 of file otbSoilDataBase.h.

std::string otb::SoilDataBase::m_SoilFileName
protected

Definition at line 50 of file otbSoilDataBase.h.

std::vector<WavelenghtType> otb::SoilDataBase::m_Wavelengths
protected

Definition at line 53 of file otbSoilDataBase.h.

double otb::SoilDataBase::m_WlFactor
protected

Definition at line 51 of file otbSoilDataBase.h.


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