WSF
SOSM_ScalarTable2D Class Reference

#include <SOSM_ScalarTable2D.hpp>

Public Types

using TablePtr = std::shared_ptr<SOSM_ScalarTable2D>

Public Member Functions

 SOSM_ScalarTable2D (SOSM_Manager *aManagerPtr)
double GetModificationTime () const
 Return when the source file from which the object was recreated was last modified.
const std::vector< float > & DV () const
 Return the dependent variable (const form).
std::vector< float > & DV ()
 Return the dependent variable (non-const form).
const TblIndVarU< float > & IV1 () const
 Return the independent variable 1 values (const form).
TblIndVarU< float > & IV1 ()
 Return the independent variable 1 values (non-const form).
const TblIndVarU< float > & IV2 () const
 Return the independent variable 2 values (const form).
TblIndVarU< float > & IV2 ()
 Return the independent variable 2 values (non-const form).
void SetDV_Info (const SOSM_TableVar &aDV_Info)
 Set the name, limits and scale for the dependent variable.
void SetIV1_Info (const SOSM_TableVar &aIV1_Info)
 Set the name, limits and scale for independent variable 1.
void SetIV2_Info (const SOSM_TableVar &aIV2_Info)
 Set the name, limits and scale for independent variable 2.
float Interpolate (const TblLookupL< float > &aIV1_Lookup, const TblLookupL< float > &aIV2_Lookup) const
void PolarLookup (TblLookupLU< float > &aAzLookup, TblLookupLU< float > &aElLookup, float aAzimuth, float aElevation) const
void Load (const std::string &aFileName, const std::string &aCachePrefix)
void LoadTextFile (const std::string &aFileName)
void LoadBinaryFile (const std::string &aFileName)
void SaveBinaryFile (const std::string &aFileName)

Static Public Member Functions

static TablePtr LoadSharedPolarTable (SOSM_Manager *aManagerPtr, const std::string &aFileName, const std::string &aCachePrefix, const SOSM_TableVar &aDV_Info)

Member Typedef Documentation

◆ TablePtr

Constructor & Destructor Documentation

◆ SOSM_ScalarTable2D()

SOSM_ScalarTable2D::SOSM_ScalarTable2D ( SOSM_Manager * aManagerPtr)

Referenced by LoadSharedPolarTable().

Member Function Documentation

◆ DV() [1/2]

std::vector< float > & SOSM_ScalarTable2D::DV ( )
inline

Return the dependent variable (non-const form).

◆ DV() [2/2]

const std::vector< float > & SOSM_ScalarTable2D::DV ( ) const
inline

◆ GetModificationTime()

double SOSM_ScalarTable2D::GetModificationTime ( ) const
inline

Return when the source file from which the object was recreated was last modified.

◆ Interpolate()

float SOSM_ScalarTable2D::Interpolate ( const TblLookupL< float > & aIV1_Lookup,
const TblLookupL< float > & aIV2_Lookup ) const

◆ IV1() [1/2]

TblIndVarU< float > & SOSM_ScalarTable2D::IV1 ( )
inline

Return the independent variable 1 values (non-const form).

◆ IV1() [2/2]

const TblIndVarU< float > & SOSM_ScalarTable2D::IV1 ( ) const
inline

Return the independent variable 1 values (const form).

Referenced by SOSM_SensorTarget::CreateOrLoadSensorAtmosphereTables(), and SOSM_SensorTarget::CreateOrLoadSensorTargetTables().

◆ IV2() [1/2]

TblIndVarU< float > & SOSM_ScalarTable2D::IV2 ( )
inline

Return the independent variable 2 values (non-const form).

◆ IV2() [2/2]

const TblIndVarU< float > & SOSM_ScalarTable2D::IV2 ( ) const
inline

Return the independent variable 2 values (const form).

Referenced by SOSM_SensorTarget::CreateOrLoadSensorAtmosphereTables(), and SOSM_SensorTarget::CreateOrLoadSensorTargetTables().

◆ Load()

void SOSM_ScalarTable2D::Load ( const std::string & aFileName,
const std::string & aCachePrefix )

◆ LoadBinaryFile()

void SOSM_ScalarTable2D::LoadBinaryFile ( const std::string & aFileName)

◆ LoadSharedPolarTable()

SOSM_ScalarTable2D::TablePtr SOSM_ScalarTable2D::LoadSharedPolarTable ( SOSM_Manager * aManagerPtr,
const std::string & aFileName,
const std::string & aCachePrefix,
const SOSM_TableVar & aDV_Info )
static

◆ LoadTextFile()

void SOSM_ScalarTable2D::LoadTextFile ( const std::string & aFileName)

References SOSM_Utility::FileModificationTime().

Referenced by Load().

◆ PolarLookup()

void SOSM_ScalarTable2D::PolarLookup ( TblLookupLU< float > & aAzLookup,
TblLookupLU< float > & aElLookup,
float aAzimuth,
float aElevation ) const
inline

A helper function to perform the lookup function for a polar (az/el) table.

Parameters
aAzLookup[output] The azimuth lookup object.
aElLookup[output] The elevation lookup object.
aAzimuth[input] The azimuth (radians).
aElevation[input] The elevation (radians).

◆ SaveBinaryFile()

void SOSM_ScalarTable2D::SaveBinaryFile ( const std::string & aFileName)

◆ SetDV_Info()

void SOSM_ScalarTable2D::SetDV_Info ( const SOSM_TableVar & aDV_Info)
inline

Set the name, limits and scale for the dependent variable.

◆ SetIV1_Info()

void SOSM_ScalarTable2D::SetIV1_Info ( const SOSM_TableVar & aIV1_Info)
inline

Set the name, limits and scale for independent variable 1.

◆ SetIV2_Info()

void SOSM_ScalarTable2D::SetIV2_Info ( const SOSM_TableVar & aIV2_Info)
inline

Set the name, limits and scale for independent variable 2.


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved