#include <DSepGrid.h>
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 () |
CVectorField * | GetVectorField () |
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 () |
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.
|
Sets dTest. Purpose of dTest: Streamlines grow until they come distance dTest * dSep close to other streamline. |