FlowVis 1.0

Streamline Class Reference

List of all members.

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

Detailed Description

Definition at line 8 of file Streamline.h.


Constructor & Destructor Documentation

Streamline::Streamline ( vec3  seed)

Constructor.

Creates a new Streamline object with the seed point seed and its thickness set to 1.

Date:
15.01.2011
Parameters:
seedthe seed point for the streamline

Definition at line 4 of file Streamline.cpp.


Member Function Documentation

vec3 * Streamline::addSamplePoint ( vec3  p,
bool  backwards 
)

Adds the point p to the streamline.

Date:
15.01.2011
Parameters:
pthe point to be added
backwardsif true, the point is added to the backward vector. otherwise it is added to the forward vector
Returns:
a pointer to the added point (changes with every new push_back -> obsolete)

Definition at line 15 of file Streamline.cpp.

void Streamline::addSamplePointThickness ( float  val,
bool  backwards 
)

Adds the thickness value val to the streamline.

Date:
15.01.2011
Parameters:
valthe thickness value
backwardsif 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.

Date:
15.01.2011
Parameters:
backwardsif true, the backward vector is returned. otherwise the forward vector.
Returns:
the vector containing the sample points for backward or forward direction.

Definition at line 60 of file Streamline.h.

vector< vec3 > * Streamline::getSamplePointsPtr ( bool  backwards) [inline]

Getter for the sample points.

Date:
15.01.2011
Parameters:
backwardsif true, the backward vector is returned. otherwise the forward vector.
Returns:
a pointer to the vector containing the sample points for backward or forward direction.

Definition at line 71 of file Streamline.h.

vector< vec3 > Streamline::getSamplePointThicknesses ( bool  backwards) [inline]

Getter for the sample point thicknesses.

Date:
15.01.2011
Parameters:
backwardsif true, the backward vector is returned. otherwise the forward vector.
Returns:
the vector containing the sample point thicknesses for backward or forward direction.

Definition at line 82 of file Streamline.h.

vec3 Streamline::getSeedPoint ( ) [inline]

Getter for the seed point.

Date:
15.01.2011
Returns:
the seed point of the streamline.

Definition at line 92 of file Streamline.h.

vec3 * Streamline::getSeedPointPtr ( ) [inline]

Getter for the seed point.

Date:
15.01.2011
Returns:
a pointer to the seed point of the streamline.

Definition at line 102 of file Streamline.h.

float Streamline::getSeedPointThickness ( ) [inline]

Getter for the seed point thickness.

Date:
15.01.2011
Returns:
the thickness of the seed point of the streamline.

Definition at line 122 of file Streamline.h.

void Streamline::setSeedPointThickness ( float  val) [inline]

Setter for the seed point thickness.

Date:
15.01.2011
Parameters:
valthe thickness value of the seed point.

Definition at line 112 of file Streamline.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends