Public Member Functions

Streamline Class Reference

#include <Streamline.h>

List of all members.

Public Member Functions

 Streamline ()
 ~Streamline (void)
void addPointBack (vec3 pos)
bool checkPoint (vec3 pos, float dist, int delta)
vec3 getNextCandidate (bool *valid)
int getPointSize ()

Detailed Description

Class which represents one streamline. This class contains all points and methods to check other points.

Author:
Christian Hirsch
Clemens Roegner

Constructor & Destructor Documentation

Streamline::Streamline (  )
Streamline::~Streamline ( void   )

Member Function Documentation

void Streamline::addPointBack ( vec3  pos )

Adds a new point to the streamline.

Parameters:
posThe new position.
bool Streamline::checkPoint ( vec3  pos,
float  dist,
int  delta 
)

Checks a point, if it is close to this streamline.

Parameters:
posPosition to check.
distThe test distance.
deltaThe offset of points which are not tested. False if a point is too close to this streamline.
vec3 Streamline::getNextCandidate ( bool *  valid )

Iterates throw all points.

Parameters:
*validPointer to a variable in which is set, if the last candidate has been reached.
Returns:
The next point.
int Streamline::getPointSize (  )

Gets the number of points which are stored in this streamline.

Returns:
Number of stored points.

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Friends Defines