Public Member Functions | |
StreamlineManager (Data.FlowData data) | |
Constructor creates an empty list of streamlines. | |
void | SetStepsize (float dt) |
Defines the stepsize for integration. The new stepsize will only be applied to newly generated streamlines. | |
void | ClearStreamlines () |
Deletes all streamlines. | |
void | AddStreamline (Math.Vector3f seedpoint) |
Creates a new streamline. Forward and backward integration is done for the specified position. | |
System.Collections.IEnumerator | GetEnumerator () |
Gets the enumerator for the collection of streamlines. The single streamlines stored in this streamline manager can be traversed with a foreach loop. | |
void | EnableRungeKutta (bool enable) |
Defines the integration type which can be runge-kutta or euler. | |
void | GenerateEvenlySpacesStreamlines (float dSep, float dTest) |
Generates streamlines for the whole flow field which are evenly spaced. |
FlowVis.Streamlines.StreamlineManager.StreamlineManager | ( | Data.FlowData | data | ) |
Constructor creates an empty list of streamlines.
data |
void FlowVis.Streamlines.StreamlineManager.SetStepsize | ( | float | dt | ) |
Defines the stepsize for integration. The new stepsize will only be applied to newly generated streamlines.
dt |
void FlowVis.Streamlines.StreamlineManager.ClearStreamlines | ( | ) |
Deletes all streamlines.
void FlowVis.Streamlines.StreamlineManager.AddStreamline | ( | Math.Vector3f | seedpoint | ) |
Creates a new streamline. Forward and backward integration is done for the specified position.
seedpoint | normalized seeding point |
System.Collections.IEnumerator FlowVis.Streamlines.StreamlineManager.GetEnumerator | ( | ) |
Gets the enumerator for the collection of streamlines. The single streamlines stored in this streamline manager can be traversed with a foreach loop.
void FlowVis.Streamlines.StreamlineManager.EnableRungeKutta | ( | bool | enable | ) |
Defines the integration type which can be runge-kutta or euler.
enable | if true runge-kutta will be enabled, otherwise euler-integration is used |
void FlowVis.Streamlines.StreamlineManager.GenerateEvenlySpacesStreamlines | ( | float | dSep, | |
float | dTest | |||
) |
Generates streamlines for the whole flow field which are evenly spaced.
dSep | separating distance for new seedpoints | |
dTest | test distance for new sample points of the current streamline. This value is defined as the percentage of the separating distance |