Main Page   Class Hierarchy   Compound List   File List   Compound Members  

CDSepGrid Class Reference

Class representing a dSep-grid. More...

#include <DSepGrid.h>

List of all members.

Public Methods

bool IsValidIndex ()
void Clamp (int &x, int &y, int &z)
bool IsValidIndex (int x, int y, int z)
void Insert (CSamplePoint *samplePoint, int x, int y, int z)
void GetXYZIndex (int &x, int &y, int &z, CPoint3D &pos)
void CreateGrid ()
CVectorFieldGetVectorField ()
void DeleteGrid ()
void InitGrid ()
 Create Grid with cell size equal to dSep, storing samplepoints in lists.

float GetDTest ()
 Returns dTest.

float GetDSep ()
 Returns dSep.

void SetDTest (float dTest)
 Sets dTest. More...

void SetDSep (float dSep)
 Sets dTest.

int GetXIndex (CSamplePoint *samplePoint)
 Returns x-index of samplepoint in grid.

int GetYIndex (CSamplePoint *samplePoint)
 Returns y-index of samplepoint in grid.

int GetZIndex (CSamplePoint *samplePoint)
 Returns z-index of samplepoint in grid.

void SetVectorField (CVectorField *vectorField)
void Insert (CSamplePoint *samplePoint)
 Inserts samplepoint into grid.

bool TestValid (int type, CSamplePoint *samplePoint)
 Checks if a samplepoint is valid regarding dSep and field boundaries.

CDSepGrid & operator= (const CDSepGrid &dSepGrid)
 Overloaded operator '='.

 CDSepGrid (const CDSepGrid &dSepGrid)
 Copy-constructor.

 CDSepGrid ()
 CDSepGrid (CVectorField *vectorField, float dSep, float dTest)
virtual ~CDSepGrid ()


Detailed Description

Class representing a dSep-grid.

The dSep-grid is needed by the ESS-algorithm to determine if a seedpoint has at least a distance dSep from all the other m streamlines.


Member Function Documentation

void CDSepGrid::SetDTest float    dTest
 

Sets dTest.

Purpose of dTest: Streamlines grow until they come distance dTest * dSep close to other streamline.


The documentation for this class was generated from the following files:
Generated on Fri Aug 9 10:12:39 2002 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002