StreamLineGrid Class Reference

#include <StreamLineGrid.h>

Collaboration diagram for StreamLineGrid:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StreamLineGrid (float dSep)
 ~StreamLineGrid ()
bool addPoint (vec3 point)
 gv Adds a point to the grid
float getMinimalDistance (vec3 point, vec3 exceptionPoint)
void printGrid ()
 gv Obsoloete? Checks whether the point is valid or not (i.e. distance to all other points is big enough)


Detailed Description

Definition at line 19 of file StreamLineGrid.h.


Constructor & Destructor Documentation

StreamLineGrid::StreamLineGrid ( float  dSep  ) 

Definition at line 8 of file StreamLineGrid.cpp.

StreamLineGrid::~StreamLineGrid (  ) 

Definition at line 18 of file StreamLineGrid.cpp.


Member Function Documentation

bool StreamLineGrid::addPoint ( vec3  point  ) 

gv Adds a point to the grid

Definition at line 24 of file StreamLineGrid.cpp.

References slgGridCell::points.

float StreamLineGrid::getMinimalDistance ( vec3  point,
vec3  exceptionPoint 
)

gv Retuns the minimal distance of the point to all points of the current and surrounding cells, or -1 if those cells contain no points. The exceptionPoint is the last sample-point of the streamline and excluded from testing. If no exceptionPoint should be used, pass (-1, -1, -1) for this point.

Definition at line 69 of file StreamLineGrid.cpp.

References vec3::dist(), NUM_NEIGHBORS, slgGridCell::points, X, Y, and Z.

Here is the call graph for this function:

void StreamLineGrid::printGrid (  ) 

gv Obsoloete? Checks whether the point is valid or not (i.e. distance to all other points is big enough)

gv DEBUG: Print grid and it's points to log file

Definition at line 182 of file StreamLineGrid.cpp.

References slgGridCell::points.


The documentation for this class was generated from the following files:
Generated on Mon Jan 21 14:50:31 2008 for VisLU by  doxygen 1.5.4