Main Page   Compound List   File List   Compound Members  

RsAddData Class Reference

stores a complete resampled additional dataset (incl. histogram and min/max values) More...

#include <FlowDataSet.h>

List of all members.

Public Methods

int getHistogramValue (int index)
 returns the histogramvalue at index

int getHistogramMaxIndex ()
 returns the index of the maximum histogramvalue

int getHistogramMaxValue ()
 returns the maximum histogramvalue

void calculateHistogram ()
 calculates the min/max and histogram values

int getMax ()
 returns the maximum data value

int getMin ()
 returns the minimum data value

 RsAddData (int xSize, int ySize, float gridX, float gridY)
 constructor taking the size of the resampled dataset

virtual ~RsAddData ()
 destructor


Public Attributes

float * data
 pointer to resampled data


Protected Attributes

int elements
 element count of the resampled dataset

float min
 minimum data value in the additional dataset

float max
 maximum data value in the additional dataset

int histogramMaxValue
 maximum value in the histogram

int histogramMaxIndex
 index of the maximum value in the histogram

int histogram [HISTOGRAM_RESOLUTION]
 histogram values


Detailed Description

stores a complete resampled additional dataset (incl. histogram and min/max values)


Constructor & Destructor Documentation

RsAddData::RsAddData int    xSize,
int    ySize,
float    gridX,
float    gridY
 

constructor taking the size of the resampled dataset

Parameters:
xSize  size of the resampled dataset in x direction
ySize  size of the resampled dataset in y direction


Member Function Documentation

int RsAddData::getHistogramMaxIndex  
 

returns the index of the maximum histogramvalue

Returns:
Returns the index of the maximum histogram value

int RsAddData::getHistogramMaxValue  
 

returns the maximum histogramvalue

Returns:
Returns the maximum histogram value

int RsAddData::getHistogramValue int    index
 

returns the histogramvalue at index

Parameters:
index  index of the addressed histogram value
Returns:
value of the histogram at position index, if (0 <= index < HISTOGRAM_RESOLUTION), 0 otherwise

int RsAddData::getMax  
 

returns the maximum data value

Returns:
Returns the maximum data value, that occurs in the dataset

int RsAddData::getMin  
 

returns the minimum data value

Returns:
Returns the minimum data value, that occurs in the dataset


The documentation for this class was generated from the following files:
Generated on Wed Jan 21 13:19:25 2004 for FlowVis by doxygen1.2.18