Streamline Class Reference

#include <streamline.h>

List of all members.

Public Member Functions

 Streamline ()
void addPoint (gridPoint &point)
 Adds a point to the streamline.
gridPoint getNextPoint ()
 Gets the next point in the streamline according to the "order" of the streamline.
bool hasNextPoint ()
 Checks if there's a point left in the streamline.
void resetCounter ()
 Resets the counter to 0 or data.size depending on the order.
void setOrder (bool order)
 Sets the "order" will read points from the streamline back to front if false.
void clear ()
 Clears all data from this streamline.

Private Attributes

int pos
bool order
std::vector< gridPointlineData


Constructor & Destructor Documentation

Streamline::Streamline (  )  [inline]


Member Function Documentation

void Streamline::addPoint ( gridPoint point  ) 

Adds a point to the streamline.

void Streamline::clear (  ) 

Clears all data from this streamline.

gridPoint Streamline::getNextPoint (  ) 

Gets the next point in the streamline according to the "order" of the streamline.

bool Streamline::hasNextPoint (  ) 

Checks if there's a point left in the streamline.

void Streamline::resetCounter (  ) 

Resets the counter to 0 or data.size depending on the order.

void Streamline::setOrder ( bool  order  ) 

Sets the "order" will read points from the streamline back to front if false.


Member Data Documentation

std::vector<gridPoint> Streamline::lineData [private]

bool Streamline::order [private]

int Streamline::pos [private]


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

Generated on Mon Jan 26 22:10:05 2009 for FlowVis by  doxygen 1.5.7.1