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. | |
| FlowVis.Rendering.Renderer.Renderer | ( | Data.FlowData | data | ) |
Constructor assigns the flow data.
| data |
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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
| 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.
| 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.
| style | e.g. normal or tapering |
| void FlowVis.Rendering.Renderer.GenerateEvenlySpacedStreamlines | ( | float | dSep, | |
| float | dTest | |||
| ) |
Uses the streamline manager for generating evenly spaced streamlines.
| dSep | separating distance for new streamlines | |
| dTest | test distance for new streamlines |
1.5.1-p1