#include <streamlines.h>

Public Member Functions | |
| VelocityFunctor (FlowVisData *data) | |
| Common Constructor. | |
| ~VelocityFunctor () | |
| Common Destructor (do nothing - since the data is still owned by the classes creator). | |
| vec2 | operator() (const vec2 &pos) |
| Overloaded Operator to access the Data-Objects - 'GetVelocityAt' function like through a function pointer. | |
Private Attributes | |
| FlowVisData * | m_data |
| Pointer to the object holding the velocity data. | |
Definition at line 165 of file streamlines.h.
| VelocityFunctor::VelocityFunctor | ( | FlowVisData * | data | ) | [inline] |
| VelocityFunctor::~VelocityFunctor | ( | ) | [inline] |
Common Destructor (do nothing - since the data is still owned by the classes creator).
Definition at line 175 of file streamlines.h.
Overloaded Operator to access the Data-Objects - 'GetVelocityAt' function like through a function pointer.
Definition at line 180 of file streamlines.h.
References FlowVisData::GetVelocityAt(), m_data, rotate90(), vec2::x, and vec2::y.
FlowVisData* VelocityFunctor::m_data [private] |
Pointer to the object holding the velocity data.
Definition at line 189 of file streamlines.h.
Referenced by operator()().
1.5.6