FlowVis 1.0
|
Public Member Functions | |
Streamline (vec3 seed) | |
Constructor. | |
vec3 * | addSamplePoint (vec3 p, bool backwards) |
Adds the point p to the streamline. | |
void | addSamplePointThickness (float val, bool backwards) |
Adds the thickness value val to the streamline. | |
vector< vec3 > | getSamplePoints (bool backwards) |
Getter for the sample points. | |
vector< vec3 > * | getSamplePointsPtr (bool backwards) |
Getter for the sample points. | |
vector< float > | getSamplePointThicknesses (bool backwards) |
Getter for the sample point thicknesses. | |
vec3 | getSeedPoint () |
Getter for the seed point. | |
vec3 * | getSeedPointPtr () |
Getter for the seed point. | |
void | setSeedPointThickness (float val) |
Setter for the seed point thickness. | |
float | getSeedPointThickness () |
Getter for the seed point thickness. | |
Private Attributes | |
vector< vec3 > | sample_points_f |
vector< vec3 > | sample_points_b |
vector< float > | sample_point_thickness_f |
vector< float > | sample_point_thickness_b |
vec3 | seed_point |
float | seed_point_thickness |
Definition at line 8 of file Streamline.h.
Streamline::Streamline | ( | vec3 | seed | ) |
Constructor.
Creates a new Streamline object with the seed point seed and its thickness set to 1.
seed | the seed point for the streamline |
Definition at line 4 of file Streamline.cpp.
Adds the point p to the streamline.
p | the point to be added |
backwards | if true, the point is added to the backward vector. otherwise it is added to the forward vector |
Definition at line 15 of file Streamline.cpp.
void Streamline::addSamplePointThickness | ( | float | val, |
bool | backwards | ||
) |
Adds the thickness value val to the streamline.
val | the thickness value |
backwards | if true, the point is added to the backward vector. otherwise it is added to the forward vector |
Definition at line 26 of file Streamline.cpp.
vector< vec3 > Streamline::getSamplePoints | ( | bool | backwards | ) | [inline] |
Getter for the sample points.
backwards | if true, the backward vector is returned. otherwise the forward vector. |
Definition at line 60 of file Streamline.h.
vector< vec3 > * Streamline::getSamplePointsPtr | ( | bool | backwards | ) | [inline] |
Getter for the sample points.
backwards | if true, the backward vector is returned. otherwise the forward vector. |
Definition at line 71 of file Streamline.h.
vector< vec3 > Streamline::getSamplePointThicknesses | ( | bool | backwards | ) | [inline] |
Getter for the sample point thicknesses.
backwards | if true, the backward vector is returned. otherwise the forward vector. |
Definition at line 82 of file Streamline.h.
vec3 Streamline::getSeedPoint | ( | ) | [inline] |
Getter for the seed point.
Definition at line 92 of file Streamline.h.
vec3 * Streamline::getSeedPointPtr | ( | ) | [inline] |
Getter for the seed point.
Definition at line 102 of file Streamline.h.
float Streamline::getSeedPointThickness | ( | ) | [inline] |
Getter for the seed point thickness.
Definition at line 122 of file Streamline.h.
void Streamline::setSeedPointThickness | ( | float | val | ) | [inline] |
Setter for the seed point thickness.
val | the thickness value of the seed point. |
Definition at line 112 of file Streamline.h.