DataPoint Class Reference

A class that stores a position vector and a flow vector, as well as other pieces of data. More...

#include <DataPoint.h>

Collaboration diagram for DataPoint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setPosition (const Vector< float > &aPosition)
Vector< float > getPosition () const
void setFlow (const Vector< float > &aFlow)
Vector< float > getFlow () const
void addDataPiece (float aData)
float getDataPiece (unsigned int index) const
unsigned int countDataPieces () const

Private Attributes

Vector< float > mFlow
Vector< float > mPosition
std::vector< float > mDataPieces

Detailed Description

A class that stores a position vector and a flow vector, as well as other pieces of data.


Member Function Documentation

void DataPoint::addDataPiece float  aData  )  [inline]
 

unsigned int DataPoint::countDataPieces  )  const [inline]
 

float DataPoint::getDataPiece unsigned int  index  )  const [inline]
 

Vector<float> DataPoint::getFlow  )  const [inline]
 

Vector<float> DataPoint::getPosition  )  const [inline]
 

void DataPoint::setFlow const Vector< float > &  aFlow  )  [inline]
 

void DataPoint::setPosition const Vector< float > &  aPosition  )  [inline]
 


Member Data Documentation

std::vector<float> DataPoint::mDataPieces [private]
 

Vector<float> DataPoint::mFlow [private]
 

Vector<float> DataPoint::mPosition [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Jan 23 19:45:00 2006 for Visualization by  doxygen 1.4.6