Generate a Polydata Pointset from any Dataset.
More...
#include <vtkTemporalPathLineFilter.h>
Inherits vtkPolyDataAlgorithm.
Generate a Polydata Pointset from any Dataset.
vtkTemporalPathLineFilter takes any dataset as input, it extracts the point locations of all cells over time to build up a polyline trail. The point number (index) is used as the 'key' if the points are randomly changing their respective order in the points list, then you should specify a scalar that represents the unique ID. This is intended to handle the output of a filter such as the TemporalStreamTracer.
- See Also
- vtkTemporalStreamTracer
- Thanks:
- John Bidiscombe of CSCS - Swiss National Supercomputing Centre for creating and contributing this class.
Definition at line 54 of file vtkTemporalPathLineFilter.h.
vtkTemporalPathLineFilter::vtkTemporalPathLineFilter |
( |
| ) |
|
|
protected |
vtkTemporalPathLineFilter::~vtkTemporalPathLineFilter |
( |
| ) |
|
|
protected |
static int vtkTemporalPathLineFilter::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkTemporalPathLineFilter::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkTemporalPathLineFilter::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkTemporalPathLineFilter::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkTemporalPathLineFilter::SetMaskPoints |
( |
int |
| ) |
|
|
virtual |
Set the number of particles to track as a ratio of the input example: setting MaskPoints to 10 will track every 10th point
virtual int vtkTemporalPathLineFilter::GetMaskPoints |
( |
| ) |
|
|
virtual |
Set the number of particles to track as a ratio of the input example: setting MaskPoints to 10 will track every 10th point
virtual void vtkTemporalPathLineFilter::SetMaxTrackLength |
( |
unsigned |
int | ) |
|
|
virtual |
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
virtual unsigned int vtkTemporalPathLineFilter::GetMaxTrackLength |
( |
| ) |
|
|
virtual |
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
virtual void vtkTemporalPathLineFilter::SetIdChannelArray |
( |
const char * |
| ) |
|
|
virtual |
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.
virtual char* vtkTemporalPathLineFilter::GetIdChannelArray |
( |
| ) |
|
|
virtual |
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.
virtual void vtkTemporalPathLineFilter::SetMaxStepDistance |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
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).
virtual void vtkTemporalPathLineFilter::SetMaxStepDistance |
( |
double |
[3] | ) |
|
|
virtual |
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).
virtual double* vtkTemporalPathLineFilter::GetMaxStepDistance |
( |
| ) |
|
|
virtual |
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).
virtual void vtkTemporalPathLineFilter::GetMaxStepDistance |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
| |
|
virtual |
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).
virtual void vtkTemporalPathLineFilter::GetMaxStepDistance |
( |
double |
[3] | ) |
|
|
virtual |
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).
virtual void vtkTemporalPathLineFilter::SetKeepDeadTrails |
( |
int |
| ) |
|
|
virtual |
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.
virtual int vtkTemporalPathLineFilter::GetKeepDeadTrails |
( |
| ) |
|
|
virtual |
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.
void vtkTemporalPathLineFilter::Flush |
( |
| ) |
|
Flush will wipe any existing data so that traces can be restarted from whatever time step is next supplied.
void vtkTemporalPathLineFilter::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
void vtkTemporalPathLineFilter::SetSelectionData |
( |
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
virtual int vtkTemporalPathLineFilter::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
virtual int vtkTemporalPathLineFilter::FillOutputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
virtual int vtkTemporalPathLineFilter::RequestInformation |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
The necessary parts of the standard pipeline update mechanism
virtual int vtkTemporalPathLineFilter::RequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
The necessary parts of the standard pipeline update mechanism
TrailPointer vtkTemporalPathLineFilter::GetTrail |
( |
vtkIdType |
i | ) |
|
|
protected |
void vtkTemporalPathLineFilter::IncrementTrail |
( |
TrailPointer |
trail, |
|
|
vtkDataSet * |
input, |
|
|
vtkIdType |
i |
|
) |
| |
|
protected |
int vtkTemporalPathLineFilter::NumberOfTimeSteps |
|
protected |
int vtkTemporalPathLineFilter::MaskPoints |
|
protected |
unsigned int vtkTemporalPathLineFilter::MaxTrackLength |
|
protected |
unsigned int vtkTemporalPathLineFilter::LastTrackLength |
|
protected |
int vtkTemporalPathLineFilter::FirstTime |
|
protected |
char* vtkTemporalPathLineFilter::IdChannelArray |
|
protected |
double vtkTemporalPathLineFilter::MaxStepDistance[3] |
|
protected |
double vtkTemporalPathLineFilter::LatestTime |
|
protected |
int vtkTemporalPathLineFilter::KeepDeadTrails |
|
protected |
int vtkTemporalPathLineFilter::UsingSelection |
|
protected |
vtkSmartPointer<vtkCellArray> vtkTemporalPathLineFilter::PolyLines |
|
protected |
vtkSmartPointer<vtkCellArray> vtkTemporalPathLineFilter::Vertices |
|
protected |
vtkSmartPointer<vtkPoints> vtkTemporalPathLineFilter::LineCoordinates |
|
protected |
vtkSmartPointer<vtkPoints> vtkTemporalPathLineFilter::VertexCoordinates |
|
protected |
vtkSmartPointer<vtkFloatArray> vtkTemporalPathLineFilter::TrailId |
|
protected |
vtkSmartPointer<vtkTemporalPathLineFilterInternals> vtkTemporalPathLineFilter::Internals |
|
protected |
std::set<vtkIdType> vtkTemporalPathLineFilter::SelectionIds |
|
protected |
The documentation for this class was generated from the following file: