ArrowPoint Struct Reference

Simple helper structor holding data of a single point within the velocity field. More...

#include <flowvis_canvas.h>

List of all members.

Public Member Functions

 ArrowPoint (float pos_x, float pos_y, vec3 velocity)
 Constructor.

Public Attributes

float x
 Horizontal position within the field (mapped to -1 ... +1).
float y
 Vertical position within the field (mapped to -1 ... +1).
float rotation
 Rotation of the velocity vector at the given location (in degrees).
float length
 Length of the velocity vector at the given location (determines the arrows size).


Detailed Description

Simple helper structor holding data of a single point within the velocity field.

Definition at line 59 of file flowvis_canvas.h.


Constructor & Destructor Documentation

ArrowPoint::ArrowPoint ( float  pos_x,
float  pos_y,
vec3  velocity 
) [inline]

Constructor.

Definition at line 62 of file flowvis_canvas.h.

References Angle(), vec3::length(), length, and rotation.


Member Data Documentation

Horizontal position within the field (mapped to -1 ... +1).

Definition at line 70 of file flowvis_canvas.h.

Vertical position within the field (mapped to -1 ... +1).

Definition at line 72 of file flowvis_canvas.h.

Rotation of the velocity vector at the given location (in degrees).

Definition at line 74 of file flowvis_canvas.h.

Referenced by ArrowPoint().

Length of the velocity vector at the given location (determines the arrows size).

Definition at line 76 of file flowvis_canvas.h.

Referenced by ArrowPoint().


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