Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkTemporalPathLineFilter, simply invoke its constructor as follows
obj = vtkTemporalPathLineFilter
obj
is an instance of the vtkTemporalPathLineFilter class.
string = obj.GetClassName ()
- Standard Type-Macro
int = obj.IsA (string name)
- Standard Type-Macro
vtkTemporalPathLineFilter = obj.NewInstance ()
- Standard Type-Macro
vtkTemporalPathLineFilter = obj.SafeDownCast (vtkObject o)
- Standard Type-Macro
obj.SetMaskPoints (int )
- Set the number of particles to track as a ratio of the input
example: setting MaskPoints to 10 will track every 10th point
int = obj.GetMaskPoints ()
- Set the number of particles to track as a ratio of the input
example: setting MaskPoints to 10 will track every 10th point
obj.SetMaxTrackLength (int )
- If the Particles being traced animate for a long time, the
trails or traces will become long and stringy. Setting
the MaxTraceTimeLength will limit how much of the trace
is displayed. Tracks longer then the Max will disappear
and the trace will apppear like a snake of fixed length
which progresses as the particle moves
int = obj.GetMaxTrackLength ()
- If the Particles being traced animate for a long time, the
trails or traces will become long and stringy. Setting
the MaxTraceTimeLength will limit how much of the trace
is displayed. Tracks longer then the Max will disappear
and the trace will apppear like a snake of fixed length
which progresses as the particle moves
obj.SetIdChannelArray (string )
- Specify the name of a scalar array which will be used to fetch
the index of each point. This is necessary only if the particles
change position (Id order) on each time step. The Id can be used
to identify particles at each step and hence track them properly.
If this array is NULL, the global point ids are used. If an Id
array cannot otherwise be found, the point index is used as the ID.
string = obj.GetIdChannelArray ()
- Specify the name of a scalar array which will be used to fetch
the index of each point. This is necessary only if the particles
change position (Id order) on each time step. The Id can be used
to identify particles at each step and hence track them properly.
If this array is NULL, the global point ids are used. If an Id
array cannot otherwise be found, the point index is used as the ID.
obj.SetScalarArray (string )
string = obj.GetScalarArray ()
obj.SetMaxStepDistance (double , double , double )
- If a particle disappears from one end of a simulation and reappears
on the other side, the track left will be unrepresentative.
Set a MaxStepDistance{x,y,z} which acts as a threshold above which
if a step occurs larger than the value (for the dimension), the track will
be dropped and restarted after the step. (ie the part before the wrap
around will be dropped and the newer part kept).
obj.SetMaxStepDistance (double a[3])
- If a particle disappears from one end of a simulation and reappears
on the other side, the track left will be unrepresentative.
Set a MaxStepDistance{x,y,z} which acts as a threshold above which
if a step occurs larger than the value (for the dimension), the track will
be dropped and restarted after the step. (ie the part before the wrap
around will be dropped and the newer part kept).
double = obj. GetMaxStepDistance ()
- If a particle disappears from one end of a simulation and reappears
on the other side, the track left will be unrepresentative.
Set a MaxStepDistance{x,y,z} which acts as a threshold above which
if a step occurs larger than the value (for the dimension), the track will
be dropped and restarted after the step. (ie the part before the wrap
around will be dropped and the newer part kept).
obj.SetKeepDeadTrails (int )
- When a particle 'disappears', the trail belonging to it is removed from
the list. When this flag is enabled, dead trails will persist
until the next time the list is cleared. Use carefully as it may cause
excessive memory consumption if left on by mistake.
int = obj.GetKeepDeadTrails ()
- When a particle 'disappears', the trail belonging to it is removed from
the list. When this flag is enabled, dead trails will persist
until the next time the list is cleared. Use carefully as it may cause
excessive memory consumption if left on by mistake.
obj.Flush ()
- Flush will wipe any existing data so that traces can be restarted from
whatever time step is next supplied.
obj.SetSelectionConnection (vtkAlgorithmOutput algOutput)
- Set a second input which is a selection. Particles with the same
Id in the selection as the primary input will be chosen for pathlines
Note that you must have the same IdChannelArray in the selection as the input
obj.SetSelection (vtkDataSet input)
- Set a second input which is a selection. Particles with the same
Id in the selection as the primary input will be chosen for pathlines
Note that you must have the same IdChannelArray in the selection as the input