CMapDataScalar

Inherited from CMapData,TCursorPair,float,

Inherited by NULL

Friend class NULL

Description

Members

Public interface

Protected interface


MapDataLocationType m_locationType

float m_minValue

float m_maxValue

shared_ptr<key_indexer> m_keys

shared_ptr<var_array<float» m_values

int m_iLocalDiv

float m_fLocalMin

float m_fLocalMax

TCursor m_crRefMapping

BOOL m_NoneResultMapping

bool m_forIsoVol


CMapDataScalar(long capacity = var_array_DEFAULT_CAPACITY_SIZE)

virtual ~CMapDataScalar()

virtual void OnUpdateDB(CDBSession* pDBSession, bool isInitialize)

virtual void Clear()

void SetKeyValue(TCursor cr, float value)

void SetKeyValue(TCursor cr, double value)

void SetKeyValue(TCursor cr0, TCursor cr1, float value)

bool GetValue(TCursor cr, float* value)

virtual bool GetValue(TCursor cr0, TCursor cr1, float* value)

virtual tuple<int, int, int> GetOnlyIndex(TCursor cr0, TCursor cr1)

virtual bool GetValueFromIndex(tuple<int, int, int> indextuple, float*value)

MapDataLocationType GetDataLocationType() const

void SetDataLocationType(MapDataLocationType val)

float GetMinValue() const

void SetMinValue(float val)

float GetMaxValue() const

void SetMaxValue(float val)

void SetUpdateFunc(function< void(CMapDataScalar*, CDBSession*, bool) > val)

void UpdateMinMax()

void UpdateRenderData()

void UpdateRenderDataForIsoSorf()

void UpdateShowOnlyTransparency(const unordered_set<TCursor>& ShowOnlyElems, double dTranparencyVal = 0.2)

void ResetTransparency()

virtual bool IsEmpty()

void BindMapping(TCursor crMapping)

void SetLocalLegend(double dmin, double dmax, int div)

TCursor GetRefMapping() const

void SetNoneResultMapping(BOOL bResultMapping = TRUE)

BOOL IsNoneResultMapping()

void SetForIsoVol(bool flag)

bool IsForIsoVol()


function< void(CMapDataScalar*, CDBSession*, bool) > m_updateFunc