SamplePoint Struct Reference

#include <streamlines.h>

Collaboration diagram for SamplePoint:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SamplePoint ()
 Empty Constructor - initializes only the thickness to 0.0f.
 SamplePoint (const vec2 &pos, const vec2 &dir, const float &thickness=1.0f)
 Common Constructor.

Public Attributes

vec2 pos
 Points position within the speified domain.
vec2 dir
 Direction of the velocity vector at the current position (normalized).
float thickness
 Thickness coeffizient for this point (depens nearest line).
float rotation
 Rotation value in radians for a glyph at the current point (depens on direction).


Detailed Description

Definition at line 44 of file streamlines.h.


Constructor & Destructor Documentation

SamplePoint::SamplePoint (  )  [inline]

Empty Constructor - initializes only the thickness to 0.0f.

Definition at line 51 of file streamlines.h.

SamplePoint::SamplePoint ( const vec2 pos,
const vec2 dir,
const float &  thickness = 1.0f 
) [inline]

Common Constructor.

Definition at line 57 of file streamlines.h.

References dot(), length(), rotation, and vec2::x.


Member Data Documentation

Points position within the speified domain.

Definition at line 45 of file streamlines.h.

Direction of the velocity vector at the current position (normalized).

Definition at line 46 of file streamlines.h.

Thickness coeffizient for this point (depens nearest line).

Definition at line 47 of file streamlines.h.

Rotation value in radians for a glyph at the current point (depens on direction).

Definition at line 48 of file streamlines.h.

Referenced by SamplePoint().


The documentation for this struct was generated from the following file:

Generated on Wed Jan 21 16:22:24 2009 for FlowVis by  doxygen 1.5.6