#include <vtkGenericStreamLine.h>
Inheritance diagram for vtkGenericStreamLine:
vtkGenericStreamLine is a filter that generates a streamline for an arbitrary dataset. A streamline is a line that is everywhere tangent to the vector field. Scalar values also are calculated along the streamline and can be used to color the line. Streamlines are calculated by integrating from a starting point through the vector field. Integration can be performed forward in time (see where the line goes), backward in time (see where the line came from), or in both directions. It also is possible to compute vorticity along the streamline. Vorticity is the projection (i.e., dot product) of the flow rotation on the velocity vector, i.e., the rotation of flow around the streamline.
vtkGenericStreamLine defines the instance variable StepLength. This parameter controls the time increment used to generate individual points along the streamline(s). Smaller values result in more line primitives but smoother streamlines. The StepLength instance variable is defined in terms of time (i.e., the distance that the particle travels in the specified time period). Thus, the line segments will be smaller in areas of low velocity and larger in regions of high velocity. (NOTE: This is different than the IntegrationStepLength defined by the superclass vtkStreamer. IntegrationStepLength is used to control integration step size and is expressed as a fraction of the cell length.) The StepLength instance variable is important because subclasses of vtkGenericStreamLine (e.g., vtkDashedStreamLine) depend on this value to build their representation.
Definition at line 61 of file vtkGenericStreamLine.h.
Public Types | |
typedef vtkGenericStreamer | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetStepLength (double) |
virtual double | GetStepLength () |
Static Public Member Functions | |
int | IsTypeOf (const char *type) |
vtkGenericStreamLine * | SafeDownCast (vtkObject *o) |
vtkGenericStreamLine * | New () |
Protected Member Functions | |
vtkGenericStreamLine () | |
~vtkGenericStreamLine () | |
void | Execute () |
Protected Attributes | |
double | StepLength |
|
Reimplemented from vtkGenericStreamer. Definition at line 64 of file vtkGenericStreamLine.h. |
|
|
|
Definition at line 80 of file vtkGenericStreamLine.h. |
|
Reimplemented from vtkGenericStreamer. |
|
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 vtkGenericStreamer. |
|
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 vtkGenericStreamer. |
|
Reimplemented from vtkGenericStreamer. |
|
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 vtkGenericStreamer. |
|
Construct object with step size set to 1.0. Reimplemented from vtkAlgorithm. |
|
Specify the length of a line segment. The length is expressed in terms of elapsed time. Smaller values result in smoother appearing streamlines, but greater numbers of line primitives. |
|
Specify the length of a line segment. The length is expressed in terms of elapsed time. Smaller values result in smoother appearing streamlines, but greater numbers of line primitives. |
|
This method is the old style execute method Reimplemented from vtkSource. |
|
Definition at line 86 of file vtkGenericStreamLine.h. |