VAPOR3 3.9.4
Public Member Functions | Static Public Member Functions | List of all members
Histo Class Reference

#include <Histo.h>

Public Member Functions

 Histo (int numberBins, float mnData, float mxData, string var, int ts)
 
 Histo (int numberBins)
 
 Histo ()
 
 ~Histo ()
 
void reset (int newNumBins=-1)
 
void reset (int newNumBins, float mnData, float mxData)
 
void addToBin (float val)
 
void setBins (const vector< long > &bins)
 
int getMaxBinSize ()
 
int getMaxBinSizeBetweenIndices (const int start, const int end) const
 
int getNumBins () const
 
int getBinSize (int index) const
 
int getBinSize (int index, int stride) const
 
float getNormalizedBinSize (int bin) const
 
float getNormalizedBinSizeForValue (float v) const
 
float getNormalizedBinSizeForNormalizedValue (float v) const
 
int getBinIndexForValue (float v)
 
float getMinMapData ()
 
float getMaxMapData ()
 
float getRange ()
 
int getTimestepOfUpdate ()
 
string getVarnameOfUpdate ()
 
int Populate (const std::string &varName, VAPoR::DataMgr *dm, VAPoR::RenderParams *rp)
 
bool NeedsUpdate (const std::string &varName, VAPoR::DataMgr *dm, VAPoR::RenderParams *rp)
 
int PopulateIfNeeded (const std::string &varName, VAPoR::DataMgr *dm, VAPoR::RenderParams *rp)
 

Static Public Member Functions

static vector< float > GetDataSamples (const std::string &varName, VAPoR::DataMgr *dm, VAPoR::RenderParams *rp)
 

Detailed Description

Definition at line 31 of file Histo.h.

Constructor & Destructor Documentation

◆ Histo() [1/3]

Histo::Histo ( int  numberBins,
float  mnData,
float  mxData,
string  var,
int  ts 
)

◆ Histo() [2/3]

Histo::Histo ( int  numberBins)

◆ Histo() [3/3]

Histo::Histo ( )

◆ ~Histo()

Histo::~Histo ( )

Member Function Documentation

◆ addToBin()

void Histo::addToBin ( float  val)

◆ getBinIndexForValue()

int Histo::getBinIndexForValue ( float  v)

◆ getBinSize() [1/2]

int Histo::getBinSize ( int  index) const

◆ getBinSize() [2/2]

int Histo::getBinSize ( int  index,
int  stride 
) const

◆ GetDataSamples()

static vector< float > Histo::GetDataSamples ( const std::string &  varName,
VAPoR::DataMgr dm,
VAPoR::RenderParams rp 
)
static

◆ getMaxBinSize()

int Histo::getMaxBinSize ( )

◆ getMaxBinSizeBetweenIndices()

int Histo::getMaxBinSizeBetweenIndices ( const int  start,
const int  end 
) const

◆ getMaxMapData()

float Histo::getMaxMapData ( )
inline

Definition at line 51 of file Histo.h.

◆ getMinMapData()

float Histo::getMinMapData ( )
inline

Definition at line 50 of file Histo.h.

◆ getNormalizedBinSize()

float Histo::getNormalizedBinSize ( int  bin) const

◆ getNormalizedBinSizeForNormalizedValue()

float Histo::getNormalizedBinSizeForNormalizedValue ( float  v) const

◆ getNormalizedBinSizeForValue()

float Histo::getNormalizedBinSizeForValue ( float  v) const

◆ getNumBins()

int Histo::getNumBins ( ) const

◆ getRange()

float Histo::getRange ( )
inline

Definition at line 52 of file Histo.h.

◆ getTimestepOfUpdate()

int Histo::getTimestepOfUpdate ( )
inline

Definition at line 54 of file Histo.h.

◆ getVarnameOfUpdate()

string Histo::getVarnameOfUpdate ( )
inline

Definition at line 55 of file Histo.h.

◆ NeedsUpdate()

bool Histo::NeedsUpdate ( const std::string &  varName,
VAPoR::DataMgr dm,
VAPoR::RenderParams rp 
)

◆ Populate()

int Histo::Populate ( const std::string &  varName,
VAPoR::DataMgr dm,
VAPoR::RenderParams rp 
)

◆ PopulateIfNeeded()

int Histo::PopulateIfNeeded ( const std::string &  varName,
VAPoR::DataMgr dm,
VAPoR::RenderParams rp 
)

◆ reset() [1/2]

void Histo::reset ( int  newNumBins,
float  mnData,
float  mxData 
)

◆ reset() [2/2]

void Histo::reset ( int  newNumBins = -1)

◆ setBins()

void Histo::setBins ( const vector< long > &  bins)

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