OTB  9.0.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< WavelengthType, double >
 
using SoilDataVector = std::vector< SoilData >
 
using WavelengthType = unsigned int
 

Public Member Functions

const SoilDataVectorGetDB () const
 
double GetReflectance (vcl_size_t SoilIndex, WavelengthType 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< WavelengthTypem_Wavelengths
 
double m_WlFactor
 

Detailed Description

Definition at line 34 of file otbSoilDataBase.h.

Member Typedef Documentation

◆ SoilData

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

Definition at line 39 of file otbSoilDataBase.h.

◆ SoilDataVector

Definition at line 40 of file otbSoilDataBase.h.

◆ WavelengthType

using otb::SoilDataBase::WavelengthType = unsigned int

Definition at line 38 of file otbSoilDataBase.h.

Constructor & Destructor Documentation

◆ SoilDataBase()

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

Member Function Documentation

◆ CountColumns()

vcl_size_t otb::SoilDataBase::CountColumns ( std::string  fileName) const
protected

◆ GetDB()

const SoilDataVector& otb::SoilDataBase::GetDB ( ) const

◆ GetReflectance()

double otb::SoilDataBase::GetReflectance ( vcl_size_t  SoilIndex,
WavelengthType  wl 
) const

◆ ParseSoilFile()

void otb::SoilDataBase::ParseSoilFile ( )
protected

Member Data Documentation

◆ m_SoilDataVector

SoilDataVector otb::SoilDataBase::m_SoilDataVector
protected

Definition at line 52 of file otbSoilDataBase.h.

◆ m_SoilFileName

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

Definition at line 50 of file otbSoilDataBase.h.

◆ m_Wavelengths

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

Definition at line 53 of file otbSoilDataBase.h.

◆ m_WlFactor

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: