#include <vtkGenericStreamTracer.h>
Inheritance diagram for vtkGenericStreamTracer:
vtkGenericStreamTracer 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.
vtkGenericStreamTracer 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 vtkGenericStreamTracer 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.
vtkGenericStreamTracer 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 84 of file vtkGenericStreamTracer.h.
|
Reimplemented from vtkPolyDataAlgorithm. Definition at line 87 of file vtkGenericStreamTracer.h. |
|
Definition at line 115 of file vtkGenericStreamTracer.h. |
|
Definition at line 122 of file vtkGenericStreamTracer.h. |
|
Definition at line 131 of file vtkGenericStreamTracer.h. |
|
Definition at line 250 of file vtkGenericStreamTracer.h. |
|
|
|
|
|
Reimplemented from vtkPolyDataAlgorithm. |
|
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. |
|
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 from vtkPolyDataAlgorithm. |
|
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. |
|
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. |
|
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. |
|
Specify the source object used to generate starting points. |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 Definition at line 153 of file vtkGenericStreamTracer.h. |
|
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 Definition at line 155 of file vtkGenericStreamTracer.h. |
|
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 Definition at line 157 of file vtkGenericStreamTracer.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 169 of file vtkGenericStreamTracer.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 171 of file vtkGenericStreamTracer.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 vtkGenericStreamTracer.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 186 of file vtkGenericStreamTracer.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 188 of file vtkGenericStreamTracer.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 vtkGenericStreamTracer.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 203 of file vtkGenericStreamTracer.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 205 of file vtkGenericStreamTracer.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 vtkGenericStreamTracer.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 220 of file vtkGenericStreamTracer.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 222 of file vtkGenericStreamTracer.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 vtkGenericStreamTracer.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 263 of file vtkGenericStreamTracer.h. |
|
Specify whether the streamtrace will be generated in the upstream or downstream direction. Definition at line 265 of file vtkGenericStreamTracer.h. |
|
Specify whether the streamtrace will be generated in the upstream or downstream direction. Definition at line 267 of file vtkGenericStreamTracer.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. |
|
If you want to generate traces using an arbitrary vector array, then set its name here. By default this in NULL and the filter will use the active vector array. |
|
If you want to generate traces using an arbitrary vector array, then set its name here. By default this in NULL and the filter will use the active vector array. Definition at line 291 of file vtkGenericStreamTracer.h. |
|
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 306 of file vtkGenericStreamTracer.h. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. |
|
Compute the vorticity at point `pcoords' in cell `cell' for the vector attribute `attribute'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 338 of file vtkGenericStreamTracer.h. |
|
Definition at line 340 of file vtkGenericStreamTracer.h. |
|
Definition at line 345 of file vtkGenericStreamTracer.h. |
|
Definition at line 347 of file vtkGenericStreamTracer.h. |
|
Definition at line 348 of file vtkGenericStreamTracer.h. |
|
Definition at line 350 of file vtkGenericStreamTracer.h. |
|
Definition at line 359 of file vtkGenericStreamTracer.h. |
|
Definition at line 360 of file vtkGenericStreamTracer.h. |
|
Definition at line 361 of file vtkGenericStreamTracer.h. |
|
Definition at line 362 of file vtkGenericStreamTracer.h. |
|
Definition at line 383 of file vtkGenericStreamTracer.h. |
|
Definition at line 386 of file vtkGenericStreamTracer.h. |
|
Definition at line 388 of file vtkGenericStreamTracer.h. |
|
Definition at line 389 of file vtkGenericStreamTracer.h. |
|
Definition at line 391 of file vtkGenericStreamTracer.h. |
|
Definition at line 392 of file vtkGenericStreamTracer.h. |
|
Definition at line 394 of file vtkGenericStreamTracer.h. |