Vis::PlotArrows Class Reference
#include <VisPlotArrows.h>
List of all members.
Detailed Description
PlotArrows imlements arrow plotting
Constructor & Destructor Documentation
Vis::PlotArrows::PlotArrows |
( |
std::string & |
name |
) |
|
ctor.
- Parameters:
-
| name | arrow texture name used for sprite mapping |
Vis::PlotArrows::~PlotArrows |
( |
|
) |
|
Member Function Documentation
void Vis::PlotArrows::enable |
( |
bool |
tf |
) |
|
enable arrowplot rendering.
- Parameters:
-
| tf | enable, disable rendering , hence display |
void Vis::PlotArrows::initGL |
( |
|
) |
|
initGL initializes opengl specific state.
bool Vis::PlotArrows::isEnabled |
( |
|
) |
[inline] |
isEnabled.
- Returns:
- status, if rendering is enabled
void Vis::PlotArrows::render |
( |
Texture2D * |
tex |
) |
|
render the arrows.
- Parameters:
-
| tex | a "vector" (velocity) texture used for lookup in the vertex shader |
void Vis::PlotArrows::setAspect |
( |
float |
aspect |
) |
|
setAspect.
- Parameters:
-
| aspect,set | the aspect for arrow position computation |
void Vis::PlotArrows::setColor |
( |
V3f & |
color |
) |
|
void Vis::PlotArrows::setDensity |
( |
float |
density |
) |
|
setDensity.
- Parameters:
-
| density | the arrow render density |
void Vis::PlotArrows::setMagScaleBled |
( |
float |
blend |
) |
|
setMagScaleBled.
- Parameters:
-
| blend | specifies to what degree the arrow size is modulated by the magnitude |
void Vis::PlotArrows::setOpacity |
( |
float |
opacity |
) |
|
setOpacity.
- Parameters:
-
| opacity | the arrow opacity |
void Vis::PlotArrows::setScale |
( |
int |
scale |
) |
|
setthe scale of the arrows.
- Parameters:
-
void Vis::PlotArrows::setScaleRange |
( |
float |
min, |
|
|
float |
max | |
|
) |
| | |
setScaleRange.
- Parameters:
-
| min | minnimum magnitude value exposed by the "vector" texture |
| max | maximum magnitude value exposed by the "vector" texture |
The documentation for this class was generated from the following files:
- E:/Studium/vislu/abgabe2/visproj/src/flow/VisPlotArrows.h
- E:/Studium/vislu/abgabe2/visproj/src/flow/impl/VisPlotArrows.cpp