VTK
|
generate streamline in arbitrary dataset More...
#include <vtkStreamLine.h>
Public Types | |
typedef vtkStreamer | Superclass |
![]() | |
typedef vtkPolyDataAlgorithm | Superclass |
![]() | |
typedef vtkAlgorithm | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | 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 () |
![]() | |
void | SetStartLocation (vtkIdType cellId, int subId, double pcoords[3]) |
vtkIdType | GetStartLocation (int &subId, double pcoords[3]) |
void | SetStartPosition (double x[3]) |
void | SetStartPosition (double x, double y, double z) |
double * | GetStartPosition () |
virtual void | SetNumberOfThreads (int) |
virtual int | GetNumberOfThreads () |
virtual void | SetSavePointInterval (double) |
virtual double | GetSavePointInterval () |
void | SetStartLocation (vtkIdType cellId, int subId, double r, double s, double t) |
void | SetSource (vtkDataSet *source) |
vtkDataSet * | GetSource () |
virtual void | SetMaximumPropagationTime (double) |
virtual double | GetMaximumPropagationTime () |
virtual void | SetIntegrationDirection (int) |
virtual int | GetIntegrationDirection () |
void | SetIntegrationDirectionToForward () |
void | SetIntegrationDirectionToBackward () |
void | SetIntegrationDirectionToIntegrateBothDirections () |
const char * | GetIntegrationDirectionAsString () |
virtual void | SetIntegrationStepLength (double) |
virtual double | GetIntegrationStepLength () |
virtual void | SetSpeedScalars (int) |
virtual int | GetSpeedScalars () |
virtual void | SpeedScalarsOn () |
virtual void | SpeedScalarsOff () |
virtual void | SetOrientationScalars (int) |
virtual int | GetOrientationScalars () |
virtual void | OrientationScalarsOn () |
virtual void | OrientationScalarsOff () |
virtual void | SetTerminalSpeed (double) |
virtual double | GetTerminalSpeed () |
virtual void | SetVorticity (int) |
virtual int | GetVorticity () |
virtual void | VorticityOn () |
virtual void | VorticityOff () |
void | SetIntegrator (vtkInitialValueProblemSolver *) |
virtual vtkInitialValueProblemSolver * | GetIntegrator () |
virtual void | SetEpsilon (double) |
virtual double | GetEpsilon () |
![]() | |
vtkDataObject * | GetInput () |
vtkDataObject * | GetInput (int port) |
vtkPolyData * | GetPolyDataInput (int port) |
vtkPolyData * | GetOutput () |
vtkPolyData * | GetOutput (int) |
virtual void | SetOutput (vtkDataObject *d) |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | SetInput (vtkDataObject *) |
void | SetInput (int, vtkDataObject *) |
void | AddInput (vtkDataObject *) |
void | AddInput (int, vtkDataObject *) |
![]() | |
int | HasExecutive () |
vtkExecutive * | GetExecutive () |
virtual void | SetExecutive (vtkExecutive *executive) |
virtual int | ModifyRequest (vtkInformation *request, int when) |
vtkInformation * | GetInputPortInformation (int port) |
vtkInformation * | GetOutputPortInformation (int port) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
void | UpdateProgress (double amount) |
vtkInformation * | GetInputArrayInformation (int idx) |
void | RemoveAllInputs () |
vtkDataObject * | GetOutputDataObject (int port) |
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
virtual void | Update () |
virtual void | UpdateInformation () |
virtual void | UpdateWholeExtent () |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
virtual double | ComputePriority () |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkStreamLine * | SafeDownCast (vtkObject *o) |
static vtkStreamLine * | New () |
Protected Attributes | |
double | StepLength |
![]() | |
int | StartFrom |
vtkIdType | StartCell |
int | StartSubId |
double | StartPCoords [3] |
double | StartPosition [3] |
StreamArray * | Streamers |
vtkIdType | NumberOfStreamers |
double | MaximumPropagationTime |
int | IntegrationDirection |
double | IntegrationStepLength |
int | Vorticity |
double | TerminalSpeed |
int | SpeedScalars |
int | OrientationScalars |
vtkInitialValueProblemSolver * | Integrator |
double | Epsilon |
double | SavePointInterval |
vtkMultiThreader * | Threader |
int | NumberOfThreads |
Additional Inherited Members | |
![]() | |
int | AbortExecute |
![]() | |
static VTK_THREAD_RETURN_TYPE | ThreadedIntegrate (void *arg) |
![]() | |
static vtkExecutive * | DefaultExecutivePrototype |
![]() |
generate streamline in arbitrary dataset
vtkStreamLine 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.
vtkStreamLine 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 vtkStreamLine (e.g., vtkDashedStreamLine) depend on this value to build their representation.
Definition at line 57 of file vtkStreamLine.h.
typedef vtkStreamer vtkStreamLine::Superclass |
Definition at line 60 of file vtkStreamLine.h.
|
protected |
|
inlineprotected |
Definition at line 76 of file vtkStreamLine.h.
|
virtual |
Reimplemented from vtkStreamer.
Reimplemented in vtkDashedStreamLine.
|
static |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkStreamer.
Reimplemented in vtkDashedStreamLine.
|
virtual |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkStreamer.
Reimplemented in vtkDashedStreamLine.
|
static |
Reimplemented from vtkStreamer.
Reimplemented in vtkDashedStreamLine.
|
virtual |
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 vtkStreamer.
Reimplemented in vtkDashedStreamLine.
|
static |
Construct object with step size set to 1.0.
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkDashedStreamLine.
|
virtual |
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.
|
virtual |
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.
|
protectedvirtual |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkDashedStreamLine.
|
protected |
Definition at line 82 of file vtkStreamLine.h.