#include <vtkStreamTracer.h>
Inheritance diagram for vtkStreamTracer:
vtkStreamTracer is a filter that integrates a vector field to generate streamlines. The integration is performed using the provided integrator. The default is second order Runge-Kutta.
vtkStreamTracer generate polylines as output. Each cell (polyline) corresponds to one streamline. The values associated with each streamline are stored in the cell data whereas the values associated with points are stored in point data.
Note that vtkStreamTracer can integrate both forward and backward. The length of the streamline is controlled by specifying either a maximum value in the units of length, cell length or elapsed time (the elapsed time is the time each particle would have traveled if flow were steady). Otherwise, the integration terminates after exiting the dataset or if the particle speed is reduced to a value less than the terminal speed or when a maximum number of steps is reached. The reason for the termination is stored in a cell array named ReasonForTermination.
The quality of integration can be controlled by setting integration step (InitialIntegrationStep) and in the case of adaptive solvers the maximum error, the minimum integration step and the maximum integration step. All of these can have units of length, cell length or elapsed time.
The integration time, vorticity, rotation and angular velocity are stored in point arrays named "IntegrationTime", "Vorticity", "Rotation" and "AngularVelocity" respectively (vorticity, rotation and angular velocity are computed only when ComputeVorticity is on). All point attributes in the source data set are interpolated on the new streamline points.
vtkStreamTracer integrates through any type of dataset. As a result, if the dataset contains 2D cells such as polygons or triangles, the integration is constrained to lie on the surface defined by the 2D cells.
The starting point of traces may be defined in two different ways. Starting from global x-y-z "position" allows you to start a single trace at a specified x-y-z coordinate. If you specify a source object, a trace will be generated for each point in the source that is inside the dataset.
Definition at line 85 of file vtkStreamTracer.h.
|
Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkDistributedStreamTracer, and vtkPStreamTracer. Definition at line 88 of file vtkStreamTracer.h. |
|
Definition at line 117 of file vtkStreamTracer.h. |
|
Definition at line 124 of file vtkStreamTracer.h. |
|
Definition at line 133 of file vtkStreamTracer.h. |
|
Definition at line 252 of file vtkStreamTracer.h. |
|
|
|
|
|
Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkDistributedStreamTracer, and vtkPStreamTracer. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkDistributedStreamTracer, and vtkPStreamTracer. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkDistributedStreamTracer, and vtkPStreamTracer. |
|
Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkDistributedStreamTracer, and vtkPStreamTracer. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkDistributedStreamTracer, and vtkPStreamTracer. |
|
Construct object to start from position (0,0,0), integrate forward, terminal speed 1.0E-12, vorticity computation on, integration step length 0.5 (unit cell length), maximum number of steps 2000, using 2nd order Runge Kutta and maximum propagation 1.0 (unit length). Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkDistributedStreamTracer. |
|
Specify the start of the streamline in the global coordinate system. Search must be performed to find initial cell to start integration from. |
|
Specify the start of the streamline in the global coordinate system. Search must be performed to find initial cell to start integration from. |
|
Specify the start of the streamline in the global coordinate system. Search must be performed to find initial cell to start integration from. |
|
Specify the start of the streamline in the global coordinate system. Search must be performed to find initial cell to start integration from. |
|
Specify the start of the streamline in the global coordinate system. Search must be performed to find initial cell to start integration from. |
|
Specify the source object used to generate starting points. Old style. Do not use. |
|
Specify the source object used to generate starting points. Old style. Do not use. |
|
Specify the source object used to generate starting points. New style. |
|
Set/get the integrator type to be used in the stream line calculation. The object passed is not actually used but is cloned with NewInstance in the process of integration (prototype pattern). The default is 2nd order Runge Kutta. The integrator can also be changed using SetIntegratorType. The recognized solvers are: RUNGE_KUTTA2 = 0 RUNGE_KUTTA4 = 1 RUNGE_KUTTA45 = 2 |
|
Specify the source object used to generate starting points. New style. |
|
Specify the source object used to generate starting points. New style. |
|
Specify the source object used to generate starting points. New style. |
|
Specify the source object used to generate starting points. New style. Definition at line 155 of file vtkStreamTracer.h. |
|
Specify the source object used to generate starting points. New style. Definition at line 157 of file vtkStreamTracer.h. |
|
Specify the source object used to generate starting points. New style. Definition at line 159 of file vtkStreamTracer.h. |
|
Specify the maximum length of the streamlines expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 |
|
Specify the maximum length of the streamlines expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 |
|
Specify the maximum length of the streamlines expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 |
|
Specify the maximum length of the streamlines expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 |
|
Specify the maximum length of the streamlines expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 |
|
Specify the maximum length of the streamlines expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Definition at line 171 of file vtkStreamTracer.h. |
|
Specify the maximum length of the streamlines expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Definition at line 173 of file vtkStreamTracer.h. |
|
Specify the maximum length of the streamlines expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Definition at line 175 of file vtkStreamTracer.h. |
|
Specify the minimum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. |
|
Specify the minimum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. |
|
Specify the minimum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. |
|
Specify the minimum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. |
|
Specify the minimum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. |
|
Specify the minimum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. Definition at line 188 of file vtkStreamTracer.h. |
|
Specify the minimum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. Definition at line 190 of file vtkStreamTracer.h. |
|
Specify the minimum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. Definition at line 192 of file vtkStreamTracer.h. |
|
Specify the maximum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. |
|
Specify the maximum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. |
|
Specify the maximum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. |
|
Specify the maximum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. |
|
Specify the maximum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. |
|
Specify the maximum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. Definition at line 205 of file vtkStreamTracer.h. |
|
Specify the maximum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. Definition at line 207 of file vtkStreamTracer.h. |
|
Specify the maximum step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 Only valid when using adaptive integrators. Definition at line 209 of file vtkStreamTracer.h. |
|
Specify the initial step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 If the integrator is not adaptive, this is the actual step used. |
|
Specify the initial step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 If the integrator is not adaptive, this is the actual step used. |
|
Specify the initial step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 If the integrator is not adaptive, this is the actual step used. |
|
Specify the initial step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 If the integrator is not adaptive, this is the actual step used. |
|
Specify the initial step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 If the integrator is not adaptive, this is the actual step used. |
|
Specify the initial step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 If the integrator is not adaptive, this is the actual step used. Definition at line 222 of file vtkStreamTracer.h. |
|
Specify the initial step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 If the integrator is not adaptive, this is the actual step used. Definition at line 224 of file vtkStreamTracer.h. |
|
Specify the initial step used in the integration expressed in one of the: TIME_UNIT = 0 LENGTH_UNIT = 1 CELL_LENGTH_UNIT = 2 If the integrator is not adaptive, this is the actual step used. Definition at line 226 of file vtkStreamTracer.h. |
|
Specify the maximum error in the integration. This value is passed to the integrator. Therefore, it's meaning depends on the integrator used. |
|
Specify the maximum error in the integration. This value is passed to the integrator. Therefore, it's meaning depends on the integrator used. |
|
Specify the maximum number of steps used in the integration. |
|
Specify the maximum number of steps used in the integration. |
|
If at any point, the speed is below this value, the integration is terminated. |
|
If at any point, the speed is below this value, the integration is terminated. |
|
Specify whether the streamtrace will be generated in the upstream or downstream direction. |
|
Specify whether the streamtrace will be generated in the upstream or downstream direction. |
|
Specify whether the streamtrace will be generated in the upstream or downstream direction. Definition at line 265 of file vtkStreamTracer.h. |
|
Specify whether the streamtrace will be generated in the upstream or downstream direction. Definition at line 267 of file vtkStreamTracer.h. |
|
Specify whether the streamtrace will be generated in the upstream or downstream direction. Definition at line 269 of file vtkStreamTracer.h. |
|
Turn on/off calculation of vorticity at streamline points (necessary for generating proper streamribbons using the vtkRibbonFilter. |
|
Turn on/off calculation of vorticity at streamline points (necessary for generating proper streamribbons using the vtkRibbonFilter. |
|
Turn on/off calculation of vorticity at streamline points (necessary for generating proper streamribbons using the vtkRibbonFilter. |
|
Turn on/off calculation of vorticity at streamline points (necessary for generating proper streamribbons using the vtkRibbonFilter. |
|
This can be used to scale the rate with which the streamribbons twist. The default is 1. |
|
This can be used to scale the rate with which the streamribbons twist. The default is 1. |
|
Add a dataset to the list inputs |
|
|
|
Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details. Reimplemented from vtkPolyDataAlgorithm. Definition at line 299 of file vtkStreamTracer.h. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkPStreamTracer. |
|
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle. Reimplemented from vtkPolyDataAlgorithm. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 325 of file vtkStreamTracer.h. |
|
Definition at line 328 of file vtkStreamTracer.h. |
|
Definition at line 330 of file vtkStreamTracer.h. |
|
Definition at line 331 of file vtkStreamTracer.h. |
|
Definition at line 333 of file vtkStreamTracer.h. |
|
Definition at line 342 of file vtkStreamTracer.h. |
|
Definition at line 343 of file vtkStreamTracer.h. |
|
Definition at line 344 of file vtkStreamTracer.h. |
|
Definition at line 345 of file vtkStreamTracer.h. |
|
Definition at line 367 of file vtkStreamTracer.h. |
|
Definition at line 370 of file vtkStreamTracer.h. |
|
Definition at line 372 of file vtkStreamTracer.h. |
|
Definition at line 373 of file vtkStreamTracer.h. |
|
Definition at line 375 of file vtkStreamTracer.h. |
|
Definition at line 376 of file vtkStreamTracer.h. |
|
Definition at line 378 of file vtkStreamTracer.h. |