List of all members.
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
| x | x dimension of grid |
| y | y dimension of grid |
| dSep | separator distance |
| rk | uses Runge-Kutta integration |
Member Function Documentation
| void StreamGrid::addSample |
( |
const vec3 & |
point | ) |
|
Adds a point to cell.
- Parameters:
-
| point | point to add to cell |
| void StreamGrid::addStreamline |
( |
Streamline * |
line | ) |
|
Add a streamline to the queue.
- Parameters:
-
| line | The streamline to add |
| void StreamGrid::addStreamline |
( |
const vec3 & |
seed | ) |
|
Add a streamline to the queue.
- Parameters:
-
| seed | The seed for a new streamline |
| bool StreamGrid::checkDistanceForSeed |
( |
const vec3 & |
point | ) |
|
Checks distance for new seeds.
- Parameters:
-
| point | point to check distance for |
- Returns:
- true if valid, false if not
| bool StreamGrid::checkDistanceForStop |
( |
const vec3 & |
point | ) |
|
Checks distance for stopping line integration.
- Parameters:
-
| point | point to check distance for |
- Returns:
- true if valid, false if not
| std::vector< Streamline * > StreamGrid::getAllStreamlines |
( |
void |
| ) |
|
Fetches all streamlines saved in the grid.
- Returns:
- List of streamlines
| bool StreamGrid::getStreamline |
( |
Streamline * |
line | ) |
|
Get next streamline in queue.
- Parameters:
-
- Returns:
- true if there is one, false if not
| vec3 StreamGrid::getVelocity |
( |
const vec3 & |
point | ) |
|
returns the velocity of a given point
- Parameters:
-
| point | point to get velocity at |
- Returns:
- velocity velocity for point
| void StreamGrid::setDSep |
( |
int |
sep | ) |
|
Sets the separation distance and other things.
- Parameters:
-
| sep | new separation distance |
| void StreamGrid::setDTest |
( |
float |
test | ) |
|
Sets the new test distance.
- Parameters:
-
| void StreamGrid::setStepSize |
( |
float |
step | ) |
|
Sets the new step size.
- Parameters:
-
The documentation for this class was generated from the following files: