Streamline
Synopsis
Constructs streamlines based on node vector data
Input Port
Parameters
Output Port
Description
Streamline constructs streamlines by integrating the vector data at the node. A ribbon display is possible.
The arrangement of the starting points of streamlines can be of three types: point, line and plane. Their positions can be changed using the Transform editor.
Input
A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)
Parameters
UItoggle. If this parameter is turned on, the probe (the starting points of streamlines) is displayed.
UIslider. This parameter is only valid when the probe type is either line or plane. X-dimension sets the sampling frequency of probes (number of starting points) in the x direction. However, in the case of line, this becomes the number of points in the line.
UIslider. This parameter is only valid when the probe type is plane. Y-dimension sets the sampling frequency of probes (number of starting points) in the y direction.
UItoggle. When this parameter is turned on, the tranformation editor for the probe is displayed. It is possible to rotate, translate and scale the probe using this editor. In addition, the probe can be transformed using the mouse after selecting the probe object i.e. without using this editor.
UIradioBoxLabel. Radio buttons to pick on which component to base the streamlines. The selection must be a three-element vector.
UIradioBoxLabel. Radio buttons to pick the direction of streamline generation, forward or backward. The default is forward.
UIslider. An integer slider that sets how many integration steps will be used within one grid "cell" to compute the streamline path. The default is 2. The range is from 0 to 16.
UIslider. An integer slider that sets the total number of integration steps. When an individual streamline exceeds this value, integration for it stops. The range is from 1 to 10000. The default is 256.
UIslider. An integer slider that sets the order of integration. Higher orders are more accurate, but execute more slowly. The default is 2. The range is from 1 to 4.
UIslider. A float slider. When a streamline falls below this velocity, the integration process for that streamline stops. The default is 0.00001. The range is from 0.0 to unbounded. You can use this to prevent wasted computation for streamlines barely moving, or even stationary (min_velocity = 0).
UItoggle. When this parameter is turned on, the streamlines are colored based on the magnitude of the vector data. When this parameter is off, the lines are drawn in white.
UIslider. An integer slider. Scales the width of the ribbon. Ribbon width varies along its length according to the divergence of the flow. This value controls ribbon width at the beginning of the ribbon. The default is 1. The range is unbounded.
UIslider. An integer slider. Controls the initial angle at which the ribbon is drawn. The default is 0. The range is 0.0 to 360.0.
Output Port
Example
File
See also related modules