12#ifndef SOSM_SCALARTABLE3D_HPP
13#define SOSM_SCALARTABLE3D_HPP
19#include "TblLookup.hpp"
38 const TblIndVarU<float>&
IV1()
const {
return mIV1; }
41 TblIndVarU<float>&
IV1() {
return mIV1; }
44 const TblIndVarU<float>&
IV2()
const {
return mIV2; }
47 TblIndVarU<float>&
IV2() {
return mIV2; }
50 const TblIndVarU<float>&
IV3()
const {
return mIV3; }
53 TblIndVarU<float>&
IV3() {
return mIV3; }
56 const std::vector<float>&
DV()
const {
return mDV; }
59 std::vector<float>&
DV() {
return mDV; }
61 float Interpolate(
const TblLookupL<float>& aIV1_Lookup,
62 const TblLookupL<float>& aIV2_Lookup,
63 const TblLookupL<float>& aIV3_Lookup)
const;
73 std::string mFileName;
76 double mModificationTime;
79 std::string mUserIdent[3];
82 std::vector<float> mDV;
85 TblIndVarU<float> mIV1;
88 TblIndVarU<float> mIV2;
91 TblIndVarU<float> mIV3;
A singleton class that manages SOSM data.
Definition SOSM_Manager.hpp:32
double GetModificationTime() const
Return when the source file from which the object was recreated was last modified.
Definition SOSM_ScalarTable3D.hpp:35
TblIndVarU< float > & IV1()
Return the independent variable 1 values (non-const form).
Definition SOSM_ScalarTable3D.hpp:41
const std::vector< float > & DV() const
Return the dependent variable (const form).
Definition SOSM_ScalarTable3D.hpp:56
std::vector< float > & DV()
Return the dependent variable (non-const form).
Definition SOSM_ScalarTable3D.hpp:59
TblIndVarU< float > & IV3()
Return the independent variable 3 values (non-const form).
Definition SOSM_ScalarTable3D.hpp:53
const TblIndVarU< float > & IV2() const
Return the independent variable 2 values (const form).
Definition SOSM_ScalarTable3D.hpp:44
TblIndVarU< float > & IV2()
Return the independent variable 2 values (non-const form).
Definition SOSM_ScalarTable3D.hpp:47
float Interpolate(const TblLookupL< float > &aIV1_Lookup, const TblLookupL< float > &aIV2_Lookup, const TblLookupL< float > &aIV3_Lookup) const
Definition SOSM_ScalarTable3D.cpp:76
void SaveBinaryFile(const std::string &aFileName)
Definition SOSM_ScalarTable3D.cpp:56
SOSM_ScalarTable3D(SOSM_Manager *aManagerPtr)
Definition SOSM_ScalarTable3D.cpp:24
const TblIndVarU< float > & IV3() const
Return the independent variable 3 values (const form).
Definition SOSM_ScalarTable3D.hpp:50
const TblIndVarU< float > & IV1() const
Return the independent variable 1 values (const form).
Definition SOSM_ScalarTable3D.hpp:38
void LoadBinaryFile(const std::string &aFileName)
Definition SOSM_ScalarTable3D.cpp:31