Vis::FlowVelocity Class Reference

#include <VisFlowVelocity.h>

Collaboration diagram for Vis::FlowVelocity:
[legend]

List of all members.

Public Member Functions

 FlowVelocity (FlowGeometry &geom, const vector< float > &dataX, const vector< float > &dataY, const vector< float > &dataZ)
 ~FlowVelocity ()
void render ()
Texture2DgetTexture2D ()
FlowTransferFuncgetTF ()
V3f getVelocity (const V3f p)
V3f getVelocityNormalized (const V3f &p)
float getMinLen ()
float getMaxLen ()


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 (  ) 

dtor.


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.

FlowTransferFunc & Vis::FlowVelocity::getTF (  ) 

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:
p point
Returns:
return the velocity of a point.

V3f Vis::FlowVelocity::getVelocityNormalized ( const V3f &  p  ) 

Returns the normalized velocity of a point.

Parameters:
p point
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:

Generated on Mon Jan 26 15:00:41 2009 for FlowVis by  doxygen 1.5.7.1