A particle tracer for vector fields. More...
#include <vtkLegacyParticleTracerBase.h>
Public Types | |
enum | Solvers { RUNGE_KUTTA2, RUNGE_KUTTA4, RUNGE_KUTTA45, NONE, UNKNOWN } |
enum | MeshOverTimeTypes { DIFFERENT = 0, STATIC = 1, LINEAR_TRANSFORMATION = 2, SAME_TOPOLOGY = 3 } |
Types of Variance of Mesh over time. More... | |
enum | { INTERPOLATOR_WITH_DATASET_POINT_LOCATOR, INTERPOLATOR_WITH_CELL_LOCATOR } |
typedef vtkPolyDataAlgorithm | Superclass |
![]() | |
typedef vtkAlgorithm | Superclass |
![]() | |
enum | DesiredOutputPrecision |
enum | DesiredOutputPrecision |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
void | PrintParticleHistories () |
void | SetIntegrator (vtkInitialValueProblemSolver *) |
virtual vtkInitialValueProblemSolver * | GetIntegrator () |
void | SetIntegratorType (int type) |
int | GetIntegratorType () |
void | SetInterpolatorType (int interpolatorType) |
Set the type of the velocity field interpolator to determine whether INTERPOLATOR_WITH_DATASET_POINT_LOCATOR or INTERPOLATOR_WITH_CELL_LOCATOR is employed for locating cells during streamline integration. More... | |
void | SetInterpolatorTypeToDataSetPointLocator () |
Set the velocity field interpolator type to one that uses a point locator to perform local spatial searching. More... | |
void | SetInterpolatorTypeToCellLocator () |
Set the velocity field interpolator type to one that uses a cell locator to perform spatial searching. More... | |
virtual bool | GetComputeVorticity () |
Turn on/off vorticity computation at streamline points (necessary for generating proper stream-ribbons using the vtkRibbonFilter. More... | |
void | SetComputeVorticity (bool) |
Turn on/off vorticity computation at streamline points (necessary for generating proper stream-ribbons using the vtkRibbonFilter. More... | |
virtual double | GetTerminalSpeed () |
Specify the terminal speed value, below which integration is terminated. More... | |
void | SetTerminalSpeed (double) |
Specify the terminal speed value, below which integration is terminated. More... | |
virtual double | GetRotationScale () |
This can be used to scale the rate with which the streamribbons twist. More... | |
void | SetRotationScale (double) |
This can be used to scale the rate with which the streamribbons twist. More... | |
virtual void | SetIgnorePipelineTime (vtkTypeBool) |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests. More... | |
virtual vtkTypeBool | GetIgnorePipelineTime () |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests. More... | |
virtual void | IgnorePipelineTimeOn () |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests. More... | |
virtual void | IgnorePipelineTimeOff () |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests. More... | |
virtual int | GetForceReinjectionEveryNSteps () |
When animating particles, it is nice to inject new ones every Nth step to produce a continuous flow. More... | |
void | SetForceReinjectionEveryNSteps (int) |
When animating particles, it is nice to inject new ones every Nth step to produce a continuous flow. More... | |
void | SetTerminationTime (double t) |
Setting TerminationTime to a positive value will cause particles to terminate when the time is reached. More... | |
virtual double | GetTerminationTime () |
Setting TerminationTime to a positive value will cause particles to terminate when the time is reached. More... | |
virtual double | GetStartTime () |
Set the time value for particle tracing to begin. More... | |
void | SetStartTime (double t) |
Set the time value for particle tracing to begin. More... | |
virtual void | SetStaticSeeds (vtkTypeBool) |
if StaticSeeds is set and the mesh is static, then every time particles are injected we can re-use the same injection information. More... | |
virtual vtkTypeBool | GetStaticSeeds () |
if StaticSeeds is set and the mesh is static, then every time particles are injected we can re-use the same injection information. More... | |
virtual void | SetMeshOverTime (int meshOverTime) |
virtual int | GetMeshOverTimeMinValue () |
virtual int | GetMeshOverTimeMaxValue () |
void | SetMeshOverTimeToDifferent () |
void | SetMeshOverTimeToStatic () |
void | SetMeshOverTimeToLinearTransformation () |
void | SetMeshOverTimeToSameTopology () |
virtual int | GetMeshOverTime () |
virtual void | SetStaticMesh (vtkTypeBool staticMesh) |
if StaticMesh is set, many optimizations for cell caching can be assumed. More... | |
virtual vtkTypeBool | GetStaticMesh () |
if StaticMesh is set, many optimizations for cell caching can be assumed. More... | |
virtual void | SetParticleWriter (vtkAbstractParticleWriter *pw) |
Set/Get the Writer associated with this Particle Tracer Ideally a parallel IO capable vtkH5PartWriter should be used which will collect particles from all parallel processes and write them to a single HDF5 file. More... | |
virtual vtkAbstractParticleWriter * | GetParticleWriter () |
Set/Get the Writer associated with this Particle Tracer Ideally a parallel IO capable vtkH5PartWriter should be used which will collect particles from all parallel processes and write them to a single HDF5 file. More... | |
vtkSetFilePathMacro (ParticleFileName) | |
Set/Get the filename to be used with the particle writer when dumping particles to disk. More... | |
vtkGetFilePathMacro (ParticleFileName) | |
Set/Get the filename to be used with the particle writer when dumping particles to disk. More... | |
virtual void | SetEnableParticleWriting (vtkTypeBool) |
Set/Get the filename to be used with the particle writer when dumping particles to disk. More... | |
virtual vtkTypeBool | GetEnableParticleWriting () |
Set/Get the filename to be used with the particle writer when dumping particles to disk. More... | |
virtual void | EnableParticleWritingOn () |
Set/Get the filename to be used with the particle writer when dumping particles to disk. More... | |
virtual void | EnableParticleWritingOff () |
Set/Get the filename to be used with the particle writer when dumping particles to disk. More... | |
virtual void | SetDisableResetCache (vtkTypeBool) |
Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow. More... | |
virtual vtkTypeBool | GetDisableResetCache () |
Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow. More... | |
virtual void | DisableResetCacheOn () |
Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow. More... | |
virtual void | DisableResetCacheOff () |
Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow. More... | |
void | AddSourceConnection (vtkAlgorithmOutput *input) |
Provide support for multiple seed sources. More... | |
void | RemoveAllSources () |
Provide support for multiple seed sources. More... | |
virtual bool | GetForceSerialExecution () |
Force the filter to run particle tracer in serial. More... | |
virtual void | SetForceSerialExecution (bool) |
Force the filter to run particle tracer in serial. More... | |
virtual void | ForceSerialExecutionOn () |
Force the filter to run particle tracer in serial. More... | |
virtual void | ForceSerialExecutionOff () |
Force the filter to run particle tracer in serial. More... | |
![]() | |
vtkPolyDataAlgorithm * | NewInstance () const |
vtkDataObject * | GetInput () |
vtkDataObject * | GetInput (int port) |
vtkPolyData * | GetPolyDataInput (int port) |
vtkPolyData * | GetOutput () |
vtkPolyData * | GetOutput (int) |
virtual void | SetOutput (vtkDataObject *d) |
void | SetInputData (vtkDataObject *) |
void | SetInputData (int, vtkDataObject *) |
void | AddInputData (vtkDataObject *) |
void | AddInputData (int, vtkDataObject *) |
vtkPolyData * | GetOutput () |
vtkPolyData * | GetOutput (int) |
virtual void | SetOutput (vtkDataObject *d) |
void | SetInputData (vtkDataObject *) |
void | SetInputData (int, vtkDataObject *) |
void | AddInputData (vtkDataObject *) |
void | AddInputData (int, vtkDataObject *) |
![]() | |
vtkAlgorithm * | NewInstance () const |
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) |
virtual void | RemoveInputConnection (int port, int idx) |
virtual void | RemoveAllInputConnections (int port) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
vtkAlgorithm * | GetInputAlgorithm (int port, int index, int &algPort) |
vtkAlgorithm * | GetInputAlgorithm (int port, int index) |
vtkExecutive * | GetInputExecutive (int port, int index) |
vtkInformation * | GetInputInformation (int port, int index) |
vtkInformation * | GetOutputInformation (int port) |
virtual int | Update (int port, vtkInformationVector *requests) |
virtual int | Update (vtkInformation *requests) |
virtual int | UpdateExtent (const int extents[6]) |
virtual void | UpdateInformation () |
virtual void | UpdateDataObject () |
virtual void | PropagateUpdateExtent () |
virtual void | UpdateWholeExtent () |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
int | SetUpdateExtentToWholeExtent (int port) |
int | SetUpdateExtentToWholeExtent () |
void | SetUpdateExtent (int port, int extent[6]) |
void | SetUpdateExtent (int extent[6]) |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
void | Register (vtkObjectBase *o) VTK_OVERRIDE |
void | UnRegister (vtkObjectBase *o) VTK_OVERRIDE |
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) |
virtual void | SetInputDataObject (int port, vtkDataObject *data) |
virtual void | SetInputDataObject (vtkDataObject *data) |
virtual void | AddInputDataObject (int port, vtkDataObject *data) |
virtual void | AddInputDataObject (vtkDataObject *data) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
vtkAlgorithm * | GetInputAlgorithm () |
vtkExecutive * | GetInputExecutive () |
vtkInformation * | GetInputInformation () |
virtual void | Update (int port) |
virtual void | Update () |
virtual int | UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0) |
virtual int | UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0) |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
void | SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
int * | GetUpdateExtent () |
int * | GetUpdateExtent (int port) |
void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int extent[6]) |
void | GetUpdateExtent (int port, int extent[6]) |
int | GetUpdatePiece () |
int | GetUpdatePiece (int port) |
int | GetUpdateNumberOfPieces () |
int | GetUpdateNumberOfPieces (int port) |
int | GetUpdateGhostLevel () |
int | GetUpdateGhostLevel (int port) |
void | SetProgressObserver (vtkProgressObserver *) |
virtual vtkProgressObserver * | GetProgressObserver () |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
void | Register (vtkObjectBase *o) VTK_OVERRIDE |
void | UnRegister (vtkObjectBase *o) VTK_OVERRIDE |
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) |
virtual void | SetInputDataObject (int port, vtkDataObject *data) |
virtual void | SetInputDataObject (vtkDataObject *data) |
virtual void | AddInputDataObject (int port, vtkDataObject *data) |
virtual void | AddInputDataObject (vtkDataObject *data) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
vtkAlgorithm * | GetInputAlgorithm () |
vtkExecutive * | GetInputExecutive () |
vtkInformation * | GetInputInformation () |
virtual void | Update (int port) |
virtual void | Update () |
virtual int | UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0) |
virtual int | UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0) |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
void | SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
int * | GetUpdateExtent () |
int * | GetUpdateExtent (int port) |
void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int extent[6]) |
void | GetUpdateExtent (int port, int extent[6]) |
int | GetUpdatePiece () |
int | GetUpdatePiece (int port) |
int | GetUpdateNumberOfPieces () |
int | GetUpdateNumberOfPieces (int port) |
int | GetUpdateGhostLevel () |
int | GetUpdateGhostLevel (int port) |
void | SetProgressObserver (vtkProgressObserver *) |
virtual vtkProgressObserver * | GetProgressObserver () |
![]() | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
virtual vtkMTimeType | GetMTime () |
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) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
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 *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
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 *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
Protected Attributes | |
vtkSmartPointer< vtkPolyData > | Output |
bool | ForceSerialExecution |
vtkSmartPointer< vtkPointData > | ProtoPD |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More... | |
vtkIdType | UniqueIdCounter |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More... | |
vtkLegacyParticleTracerBaseNamespace::ParticleDataList | ParticleHistories |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More... | |
vtkSmartPointer< vtkPointData > | ParticlePointData |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More... | |
vtkTypeBool | IgnorePipelineTime |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More... | |
vtkTypeBool | DisableResetCache |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More... | |
![]() | |
vtkInformation * | Information |
double | Progress |
char * | ProgressText |
vtkProgressObserver * | ProgressObserver |
unsigned long | ErrorCode |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Friends | |
struct | vtkLegacyParticleTracerBaseNamespace::ParticleTracerFunctor |
class | vtkLegacyPParticlePathFilter |
Additional Inherited Members | |
![]() | |
SINGLE_PRECISION | |
DOUBLE_PRECISION | |
DEFAULT_PRECISION | |
int | AbortExecute |
![]() | |
static vtkInformationIntegerKey * | PORT_REQUIREMENTS_FILLED () |
![]() | |
static vtkExecutive * | DefaultExecutivePrototype |
A particle tracer for vector fields.
vtkLegacyParticleTracerBase is the base class for filters that advect particles in a vector field. Note that the input vtkPointData structure must be identical on all datasets.
Definition at line 97 of file vtkLegacyParticleTracerBase.h.
Definition at line 111 of file vtkLegacyParticleTracerBase.h.
Enumerator | |
---|---|
RUNGE_KUTTA2 | |
RUNGE_KUTTA4 | |
RUNGE_KUTTA45 | |
NONE | |
UNKNOWN |
Definition at line 102 of file vtkLegacyParticleTracerBase.h.
Types of Variance of Mesh over time.
Enumerator | |
---|---|
DIFFERENT | |
STATIC | |
LINEAR_TRANSFORMATION | |
SAME_TOPOLOGY |
Definition at line 209 of file vtkLegacyParticleTracerBase.h.
anonymous enum |
Enumerator | |
---|---|
INTERPOLATOR_WITH_DATASET_POINT_LOCATOR | |
INTERPOLATOR_WITH_CELL_LOCATOR |
Definition at line 255 of file vtkLegacyParticleTracerBase.h.
|
protected |
|
overrideprotected |
|
virtual |
Reimplemented in vtkLegacyPParticleTracerBase, vtkLegacyPParticlePathFilter, and vtkInSituPParticlePathFilter.
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkLegacyPParticleTracerBase, vtkLegacyPParticlePathFilter, and vtkInSituPParticlePathFilter.
|
static |
|
overridevirtual |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkLegacyPParticleTracerBase, and vtkLegacyPParticlePathFilter.
void vtkLegacyParticleTracerBase::PrintParticleHistories | ( | ) |
|
virtual |
Turn on/off vorticity computation at streamline points (necessary for generating proper stream-ribbons using the vtkRibbonFilter.
void vtkLegacyParticleTracerBase::SetComputeVorticity | ( | bool | ) |
Turn on/off vorticity computation at streamline points (necessary for generating proper stream-ribbons using the vtkRibbonFilter.
|
virtual |
Specify the terminal speed value, below which integration is terminated.
void vtkLegacyParticleTracerBase::SetTerminalSpeed | ( | double | ) |
Specify the terminal speed value, below which integration is terminated.
|
virtual |
This can be used to scale the rate with which the streamribbons twist.
The default is 1.
void vtkLegacyParticleTracerBase::SetRotationScale | ( | double | ) |
This can be used to scale the rate with which the streamribbons twist.
The default is 1.
|
virtual |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests.
|
virtual |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests.
|
virtual |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests.
|
virtual |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests.
|
virtual |
When animating particles, it is nice to inject new ones every Nth step to produce a continuous flow.
Setting ForceReinjectionEveryNSteps to a non zero value will cause the particle source to reinject particles every Nth step even if it is otherwise unchanged. Note that if the particle source is also animated, this flag will be redundant as the particles will be reinjected whenever the source changes anyway
void vtkLegacyParticleTracerBase::SetForceReinjectionEveryNSteps | ( | int | ) |
When animating particles, it is nice to inject new ones every Nth step to produce a continuous flow.
Setting ForceReinjectionEveryNSteps to a non zero value will cause the particle source to reinject particles every Nth step even if it is otherwise unchanged. Note that if the particle source is also animated, this flag will be redundant as the particles will be reinjected whenever the source changes anyway
void vtkLegacyParticleTracerBase::SetTerminationTime | ( | double | t | ) |
Setting TerminationTime to a positive value will cause particles to terminate when the time is reached.
Use a vlue of zero to disable termination. The units of time should be consistent with the primary time variable.
|
virtual |
Setting TerminationTime to a positive value will cause particles to terminate when the time is reached.
Use a vlue of zero to disable termination. The units of time should be consistent with the primary time variable.
void vtkLegacyParticleTracerBase::SetIntegrator | ( | vtkInitialValueProblemSolver * | ) |
|
virtual |
void vtkLegacyParticleTracerBase::SetIntegratorType | ( | int | type | ) |
int vtkLegacyParticleTracerBase::GetIntegratorType | ( | ) |
|
virtual |
Set the time value for particle tracing to begin.
The units of time should be consistent with the primary time variable.
void vtkLegacyParticleTracerBase::SetStartTime | ( | double | t | ) |
Set the time value for particle tracing to begin.
The units of time should be consistent with the primary time variable.
|
virtual |
if StaticSeeds is set and the mesh is static, then every time particles are injected we can re-use the same injection information.
We classify particles according to processor just once before start. If StaticSeeds is set and a moving seed source is specified the motion will be ignored and results will not be as expected. The default is that StaticSeeds is 0.
|
virtual |
if StaticSeeds is set and the mesh is static, then every time particles are injected we can re-use the same injection information.
We classify particles according to processor just once before start. If StaticSeeds is set and a moving seed source is specified the motion will be ignored and results will not be as expected. The default is that StaticSeeds is 0.
|
virtual |
|
inlinevirtual |
Definition at line 227 of file vtkLegacyParticleTracerBase.h.
|
inlinevirtual |
Definition at line 228 of file vtkLegacyParticleTracerBase.h.
|
inline |
Definition at line 229 of file vtkLegacyParticleTracerBase.h.
|
inline |
Definition at line 230 of file vtkLegacyParticleTracerBase.h.
|
inline |
Definition at line 231 of file vtkLegacyParticleTracerBase.h.
|
inline |
Definition at line 232 of file vtkLegacyParticleTracerBase.h.
|
virtual |
|
inlinevirtual |
if StaticMesh is set, many optimizations for cell caching can be assumed.
if StaticMesh is not set, the algorithm will attempt to find out if optimizations can be used, but setting it to true will force all optimizations. Do not Set StaticMesh to true if a dynamic mesh is being used as this will invalidate all results. The default is that StaticMesh is 0.
Definition at line 247 of file vtkLegacyParticleTracerBase.h.
|
inlinevirtual |
if StaticMesh is set, many optimizations for cell caching can be assumed.
if StaticMesh is not set, the algorithm will attempt to find out if optimizations can be used, but setting it to true will force all optimizations. Do not Set StaticMesh to true if a dynamic mesh is being used as this will invalidate all results. The default is that StaticMesh is 0.
Definition at line 252 of file vtkLegacyParticleTracerBase.h.
void vtkLegacyParticleTracerBase::SetInterpolatorType | ( | int | interpolatorType | ) |
Set the type of the velocity field interpolator to determine whether INTERPOLATOR_WITH_DATASET_POINT_LOCATOR or INTERPOLATOR_WITH_CELL_LOCATOR is employed for locating cells during streamline integration.
The latter (adopting vtkAbstractCellLocator sub-classes such as vtkCellLocator and vtkModifiedBSPTree) is more robust than the former (through vtkDataSet / vtkPointSet::FindCell() coupled with vtkPointLocator). However the former can be much faster and produce adequate results.
Default is INTERPOLATOR_WITH_CELL_LOCATOR (to maintain backwards compatibility).
void vtkLegacyParticleTracerBase::SetInterpolatorTypeToDataSetPointLocator | ( | ) |
Set the velocity field interpolator type to one that uses a point locator to perform local spatial searching.
Typically a point locator is faster than searches with a cell locator, but it may not always find the correct cells enclosing a point. This is particularly true with meshes that are disjoint at seams, or abut meshes in an incompatible manner.
void vtkLegacyParticleTracerBase::SetInterpolatorTypeToCellLocator | ( | ) |
Set the velocity field interpolator type to one that uses a cell locator to perform spatial searching.
Using a cell locator should always return the correct results, but it can be much slower that point locator-based searches. * By default a cell locator is used.
|
virtual |
Set/Get the Writer associated with this Particle Tracer Ideally a parallel IO capable vtkH5PartWriter should be used which will collect particles from all parallel processes and write them to a single HDF5 file.
|
virtual |
Set/Get the Writer associated with this Particle Tracer Ideally a parallel IO capable vtkH5PartWriter should be used which will collect particles from all parallel processes and write them to a single HDF5 file.
vtkLegacyParticleTracerBase::vtkSetFilePathMacro | ( | ParticleFileName | ) |
Set/Get the filename to be used with the particle writer when dumping particles to disk.
vtkLegacyParticleTracerBase::vtkGetFilePathMacro | ( | ParticleFileName | ) |
Set/Get the filename to be used with the particle writer when dumping particles to disk.
|
virtual |
Set/Get the filename to be used with the particle writer when dumping particles to disk.
|
virtual |
Set/Get the filename to be used with the particle writer when dumping particles to disk.
|
virtual |
Set/Get the filename to be used with the particle writer when dumping particles to disk.
|
virtual |
Set/Get the filename to be used with the particle writer when dumping particles to disk.
|
virtual |
Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow.
|
virtual |
Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow.
|
virtual |
Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow.
|
virtual |
Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow.
void vtkLegacyParticleTracerBase::AddSourceConnection | ( | vtkAlgorithmOutput * | input | ) |
Provide support for multiple seed sources.
void vtkLegacyParticleTracerBase::RemoveAllSources | ( | ) |
Provide support for multiple seed sources.
|
virtual |
Force the filter to run particle tracer in serial.
This affects the filter only if more than 100 particles is to be generated.
|
virtual |
Force the filter to run particle tracer in serial.
This affects the filter only if more than 100 particles is to be generated.
|
virtual |
Force the filter to run particle tracer in serial.
This affects the filter only if more than 100 particles is to be generated.
|
virtual |
Force the filter to run particle tracer in serial.
This affects the filter only if more than 100 particles is to be generated.
|
overrideprotectedvirtual |
Reimplemented from vtkPolyDataAlgorithm.
|
overrideprotectedvirtual |
Reimplemented from vtkPolyDataAlgorithm.
|
overrideprotectedvirtual |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkLegacyPParticlePathFilter.
|
overrideprotectedvirtual |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented in vtkLegacyPParticleTracerBase.
|
overrideprotectedvirtual |
Reimplemented from vtkPolyDataAlgorithm.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in vtkLegacyPParticleTracerBase.
|
inlineprotectedvirtual |
Definition at line 417 of file vtkLegacyParticleTracerBase.h.
|
protectedpure virtual |
Implemented in vtkLegacyPParticlePathFilter.
|
inlineprotectedvirtual |
Reimplemented in vtkLegacyPParticlePathFilter.
Definition at line 419 of file vtkLegacyParticleTracerBase.h.
|
protectedvirtual |
Method to get the data set seed sources.
For in situ we want to override how the seed sources are made available.
Reimplemented in vtkInSituPParticlePathFilter.
|
protected |
|
protected |
|
protected |
inside our data.
Add good ones to passed list and set count to the number that passed
|
protected |
|
protectedvirtual |
all the injection/seed points according to which processor they belong to.
This saves us retesting at every injection time providing 1) The volumes are static, 2) the seed points are static If either are non static, then this step is skipped.
Reimplemented in vtkInSituPParticlePathFilter, and vtkLegacyPParticleTracerBase.
|
protectedvirtual |
give each one a unique ID.
We need to use MPI to find out who is using which numbers.
Reimplemented in vtkLegacyPParticleTracerBase.
|
protected |
and sending between processors, into a list, which is used as the master list on this processor
|
inlineprotectedvirtual |
this is used during classification of seed points and also between iterations of the main loop as particles leave each processor domain.
Returns true if particles moved between processes and false otherwise.
Reimplemented in vtkLegacyPParticleTracerBase.
Definition at line 468 of file vtkLegacyParticleTracerBase.h.
|
protected |
particle between the two times supplied.
|
inlineprotectedvirtual |
Reimplemented in vtkLegacyPParticleTracerBase.
Definition at line 480 of file vtkLegacyParticleTracerBase.h.
|
protected |
This is an old routine kept for possible future use.
In dynamic meshes, particles might leave the domain and need to be extrapolated across a gap between the meshes before they re-renter another domain dodgy rotating meshes need special care....
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in vtkLegacyPParticlePathFilter.
|
protected |
|
protectedvirtual |
Methods that check that the input arrays are ordered the same on all data sets.
This needs to be true for all blocks in a composite data set as well as across all processes.
Reimplemented in vtkLegacyPParticleTracerBase.
|
protected |
Methods that check that the input arrays are ordered the same on all data sets.
This needs to be true for all blocks in a composite data set as well as across all processes.
|
protected |
Methods that check that the input arrays are ordered the same on all data sets.
This needs to be true for all blocks in a composite data set as well as across all processes.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
inlineprotectedvirtual |
Methods to append values to existing point data arrays that may only be desired on specific concrete derived classes.
Definition at line 547 of file vtkLegacyParticleTracerBase.h.
|
inlineprotectedvirtual |
Reimplemented in vtkLegacyPParticlePathFilter.
Definition at line 549 of file vtkLegacyParticleTracerBase.h.
|
protected |
|
inlineprotectedvirtual |
For restarts of particle paths, we add in the ability to add in particles from a previous computation that we will still advect.
Reimplemented in vtkInSituPParticlePathFilter.
Definition at line 560 of file vtkLegacyParticleTracerBase.h.
|
protectedvirtual |
Recover the ghost array in provided point data and rename it by adding "Original_" in front of it, if available.
|
friend |
Definition at line 101 of file vtkLegacyParticleTracerBase.h.
|
friend |
Definition at line 666 of file vtkLegacyParticleTracerBase.h.
|
protected |
Definition at line 347 of file vtkLegacyParticleTracerBase.h.
|
protected |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored.
Definition at line 356 of file vtkLegacyParticleTracerBase.h.
|
protected |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored.
Definition at line 357 of file vtkLegacyParticleTracerBase.h.
|
protected |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored.
Definition at line 358 of file vtkLegacyParticleTracerBase.h.
|
protected |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored.
Definition at line 359 of file vtkLegacyParticleTracerBase.h.
|
protected |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored.
Definition at line 362 of file vtkLegacyParticleTracerBase.h.
|
protected |
ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored.
Definition at line 363 of file vtkLegacyParticleTracerBase.h.
|
protected |
Definition at line 367 of file vtkLegacyParticleTracerBase.h.