Vis::FlowVelocity Class Reference
#include <VisFlowVelocity.h>
List of all members.
Detailed Description
Flow velocity class.
Constructor & Destructor Documentation
Vis::FlowVelocity::FlowVelocity |
( |
FlowGeometry & |
geom, |
|
|
const vector< float > & |
dataX, |
|
|
const vector< float > & |
dataY, |
|
|
const vector< float > & |
dataZ | |
|
) |
| | |
ctor. Manages the velocity of the flow data.
- Parameters:
-
| geom | reference to the flow geometry. |
| dataX | reference to the x values of the velocity vector. |
| dataY | reference to the y values of the velocity vector. |
| dataZ | reference to the z values of the velocity vector. |
Vis::FlowVelocity::~FlowVelocity |
( |
|
) |
|
Member Function Documentation
float Vis::FlowVelocity::getMaxLen |
( |
|
) |
|
Return the maximum length of velocity from the channel.
- Returns:
- maximum velocity length.
float Vis::FlowVelocity::getMinLen |
( |
|
) |
|
Return the mimimum length of velocity from the channel.
- Returns:
- minimum velocity length.
Texture2D & Vis::FlowVelocity::getTexture2D |
( |
|
) |
|
Return a reference to the texture of the velocity channel.
- Returns:
- reference to the velocity channel.
Return a reference to the velocitys' transfer function.
- Returns:
- reference to the transfer function.
V3f Vis::FlowVelocity::getVelocity |
( |
const V3f |
p |
) |
|
Returns the velocity of a point.
- Parameters:
-
- Returns:
- return the velocity of a point.
V3f Vis::FlowVelocity::getVelocityNormalized |
( |
const V3f & |
p |
) |
|
Returns the normalized velocity of a point.
- Parameters:
-
- Returns:
- return the normalized velocity of a point.
void Vis::FlowVelocity::render |
( |
|
) |
|
Render the velocity values.
The documentation for this class was generated from the following files:
- E:/Studium/vislu/abgabe2/visproj/src/flow/VisFlowVelocity.h
- E:/Studium/vislu/abgabe2/visproj/src/flow/impl/VisFlowVelocity.cpp