FlowVis.Rendering.Renderer Class Reference

Provides methods for rendering data. More...

List of all members.

Public Types

enum  StreamlineStyle { NORMAL, TAPERING, GLYPH, TEXTURE }
 defines the rendering style of the streamlines More...

Public Member Functions

 Renderer (Data.FlowData data)
 Constructor assigns the flow data.
void Dispose ()
 Free unmanaged resources.
void UpdateResources ()
 Call this method after new flow data has been loaded.
void SetActiveBackground (int i)
 Defines which background texture should be rendered in the method RenderBackground.
void EnableTransferForBackground (bool enable)
 Define if the transfer function should be used for the background.
void RenderBackground ()
 Renders the background texture of the currently active background.
void UpdateTransfers ()
 Call this method after transfer functions have changed.
void SetActiveArrowColor (int i)
 Defines which channel is used for the color coding of the arrow plot.
void EnableArrowSizeCoding (bool enable)
 Defines if the size of the arrows should depend on the velocity.
void SetArrowAlpha (float alpha)
 Defines the alpha value of the rendered arrows.
void RenderArrows (int density, float pointsize)
 Renders an arrow plot.
void RenderStreamlines ()
 Renders all streamlines which are stored in the streamline manager.
void AddStreamline (Math.Vector3f seedpoint)
 Creates a new streamline.
void ClearStreamlines ()
 clears all streamlines
void SetStreamlineParameters (bool rungeKutta, float dt)
 defines the parameters of newly created streamlines
void SetStreamlineStyleParameters (float glyphSize, float texturePeriod, bool textureF2, Math.Vector3f color, float alpha)
 Defines parameters which influence the style of the rendered streamline.
void SetStreamlineStyle (StreamlineStyle style)
 Sets the rendering style of the streamlines. Some styles only work with evenly spaced streamlines.
void GenerateEvenlySpacedStreamlines (float dSep, float dTest)
 Uses the streamline manager for generating evenly spaced streamlines.


Detailed Description

Provides methods for rendering data.


Member Enumeration Documentation

enum FlowVis::Rendering::Renderer::StreamlineStyle

defines the rendering style of the streamlines

Enumerator:
NORMAL  streamline is rendered normal as a line

TAPERING  thickness of the streamline is adapted to the neighbouring streamlines

GLYPH  glyphs are mapped to the streamline

TEXTURE 


Constructor & Destructor Documentation

FlowVis.Rendering.Renderer.Renderer ( Data.FlowData  data  ) 

Constructor assigns the flow data.

Parameters:
data 


Member Function Documentation

void FlowVis.Rendering.Renderer.Dispose (  ) 

Free unmanaged resources.

void FlowVis.Rendering.Renderer.UpdateResources (  ) 

Call this method after new flow data has been loaded.

void FlowVis.Rendering.Renderer.SetActiveBackground ( int  i  ) 

Defines which background texture should be rendered in the method RenderBackground.

Parameters:
i index of background which should be rendered

void FlowVis.Rendering.Renderer.EnableTransferForBackground ( bool  enable  ) 

Define if the transfer function should be used for the background.

Parameters:
enable true if transfer function should be enabled

void FlowVis.Rendering.Renderer.RenderBackground (  ) 

Renders the background texture of the currently active background.

void FlowVis.Rendering.Renderer.UpdateTransfers (  ) 

Call this method after transfer functions have changed.

void FlowVis.Rendering.Renderer.SetActiveArrowColor ( int  i  ) 

Defines which channel is used for the color coding of the arrow plot.

Parameters:
i Index of channel which should be used for the color coding

void FlowVis.Rendering.Renderer.EnableArrowSizeCoding ( bool  enable  ) 

Defines if the size of the arrows should depend on the velocity.

Parameters:
enable true if arrow size should be altered by the velocity stored at its point

void FlowVis.Rendering.Renderer.SetArrowAlpha ( float  alpha  ) 

Defines the alpha value of the rendered arrows.

Parameters:
alpha alpha value for rendering arrows

void FlowVis.Rendering.Renderer.RenderArrows ( int  density,
float  pointsize 
)

Renders an arrow plot.

void FlowVis.Rendering.Renderer.RenderStreamlines (  ) 

Renders all streamlines which are stored in the streamline manager.

void FlowVis.Rendering.Renderer.AddStreamline ( Math.Vector3f  seedpoint  ) 

Creates a new streamline.

Parameters:
seedpoint seedpoint of new streamline

void FlowVis.Rendering.Renderer.ClearStreamlines (  ) 

clears all streamlines

void FlowVis.Rendering.Renderer.SetStreamlineParameters ( bool  rungeKutta,
float  dt 
)

defines the parameters of newly created streamlines

Parameters:
dt stepsize for integration
rungeKutta if true, runge-kutta is used for integration, otherwise euler-integration is used

void FlowVis.Rendering.Renderer.SetStreamlineStyleParameters ( float  glyphSize,
float  texturePeriod,
bool  textureF2,
Math.Vector3f  color,
float  alpha 
)

Defines parameters which influence the style of the rendered streamline.

Parameters:
glyphSize size of the glyphs for glyph mapping
texturePeriod function period for texture generation mode
textureF2 true if the second function should be used for texture generation
alpha alpha value for rendering streamlines
color color for rendering streamlines

void FlowVis.Rendering.Renderer.SetStreamlineStyle ( StreamlineStyle  style  ) 

Sets the rendering style of the streamlines. Some styles only work with evenly spaced streamlines.

Parameters:
style e.g. normal or tapering

void FlowVis.Rendering.Renderer.GenerateEvenlySpacedStreamlines ( float  dSep,
float  dTest 
)

Uses the streamline manager for generating evenly spaced streamlines.

Parameters:
dSep separating distance for new streamlines
dTest test distance for new streamlines


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 16:09:36 2008 for FlowVis by  doxygen 1.5.1-p1