vtkTemporalPathLineFilter Class Reference

#include <vtkTemporalPathLineFilter.h>

Inheritance diagram for vtkTemporalPathLineFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkTemporalPathLineFilter:

Collaboration graph
[legend]

List of all members.


Detailed Description

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 53 of file vtkTemporalPathLineFilter.h.

typedef vtkPolyDataAlgorithm Superclass
static vtkTemporalPathLineFilterNew ()
static int IsTypeOf (const char *type)
static vtkTemporalPathLineFilterSafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Public Member Functions

void Flush ()
void SetSelectionConnection (vtkAlgorithmOutput *algOutput)
void SetSelection (vtkDataSet *input)
virtual void SetMaskPoints (int)
virtual int GetMaskPoints ()
virtual void SetMaxTrackLength (unsigned int)
virtual unsigned int GetMaxTrackLength ()
virtual void SetUsePointIndexForIds (int)
virtual int GetUsePointIndexForIds ()
virtual void UsePointIndexForIdsOn ()
virtual void UsePointIndexForIdsOff ()
virtual void SetIdChannelArray (const char *)
virtual char * GetIdChannelArray ()
virtual void SetScalarArray (const char *)
virtual char * GetScalarArray ()
virtual void SetMaxStepDistance (double, double, double)
virtual void SetMaxStepDistance (double[3])
virtual double * GetMaxStepDistance ()
virtual void GetMaxStepDistance (double &, double &, double &)
virtual void GetMaxStepDistance (double[3])
virtual void SetKeepDeadTrails (int)
virtual int GetKeepDeadTrails ()

Protected Member Functions

 vtkTemporalPathLineFilter ()
 ~vtkTemporalPathLineFilter ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
TrailPointer GetTrail (vtkIdType i)
void IncrementTrail (TrailPointer trail, vtkDataSet *input, vtkDataArray *inscalars, vtkIdType i)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

int NumberOfTimeSteps
int MaskPoints
unsigned int MaxTrackLength
unsigned int LastTrackLength
int UsePointIndexForIds
int FirstTime
char * IdChannelArray
char * ScalarArray
double MaxStepDistance [3]
double LatestTime
int KeepDeadTrails
int UsingSelection
vtkSmartPointer< vtkPointsParticleCoordinates
vtkSmartPointer< vtkCellArrayParticlePolyLines
vtkSmartPointer< vtkFloatArrayPointOpacity
vtkSmartPointer< vtkFloatArrayPointId
vtkSmartPointer< vtkFloatArrayPointScalars
vtkSmartPointer
< vtkTemporalPathLineFilterInternals > 
Internals
vtkstd::set< vtkIdTypeSelectionIds

Member Typedef Documentation

Standard Type-Macro

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 58 of file vtkTemporalPathLineFilter.h.


Constructor & Destructor Documentation

vtkTemporalPathLineFilter::vtkTemporalPathLineFilter (  )  [protected]

vtkTemporalPathLineFilter::~vtkTemporalPathLineFilter (  )  [protected]


Member Function Documentation

static vtkTemporalPathLineFilter* vtkTemporalPathLineFilter::New (  )  [static]

Standard Type-Macro

Reimplemented from vtkPolyDataAlgorithm.

virtual const char* vtkTemporalPathLineFilter::GetClassName (  )  [virtual]

Standard Type-Macro

Reimplemented from vtkPolyDataAlgorithm.

static int vtkTemporalPathLineFilter::IsTypeOf ( const char *  type  )  [static]

Standard Type-Macro

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkTemporalPathLineFilter::IsA ( const char *  type  )  [virtual]

Standard Type-Macro

Reimplemented from vtkPolyDataAlgorithm.

static vtkTemporalPathLineFilter* vtkTemporalPathLineFilter::SafeDownCast ( vtkObject o  )  [static]

Standard Type-Macro

Reimplemented from vtkPolyDataAlgorithm.

void vtkTemporalPathLineFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Standard Type-Macro

Reimplemented from vtkPolyDataAlgorithm.

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::SetUsePointIndexForIds ( int   )  [virtual]

True by default. We use the index of the point as the ID. As the particle moves, the coords for each ID are updated to create a path. If the IDs are supplied as a separate scalar array then disable this option and set the array using IdChannelArray

virtual int vtkTemporalPathLineFilter::GetUsePointIndexForIds (  )  [virtual]

True by default. We use the index of the point as the ID. As the particle moves, the coords for each ID are updated to create a path. If the IDs are supplied as a separate scalar array then disable this option and set the array using IdChannelArray

virtual void vtkTemporalPathLineFilter::UsePointIndexForIdsOn (  )  [virtual]

True by default. We use the index of the point as the ID. As the particle moves, the coords for each ID are updated to create a path. If the IDs are supplied as a separate scalar array then disable this option and set the array using IdChannelArray

virtual void vtkTemporalPathLineFilter::UsePointIndexForIdsOff (  )  [virtual]

True by default. We use the index of the point as the ID. As the particle moves, the coords for each ID are updated to create a path. If the IDs are supplied as a separate scalar array then disable this option and set the array using IdChannelArray

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

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

virtual void vtkTemporalPathLineFilter::SetScalarArray ( const char *   )  [virtual]

The particle trace can be coloured using either the time/Id or the scalar value of the particle when it passed through the point of the track. If colouring using a scalar, set the scalar array name to use.

virtual char* vtkTemporalPathLineFilter::GetScalarArray (  )  [virtual]

The particle trace can be coloured using either the time/Id or the scalar value of the particle when it passed through the point of the track. If colouring using a scalar, set the scalar array name to use.

virtual void vtkTemporalPathLineFilter::SetMaxStepDistance ( double  ,
double  ,
double   
) [virtual]

If a particle disappears from one end of asimulation 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 asimulation 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 asimulation 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 asimulation 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 asimulation 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::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

virtual int vtkTemporalPathLineFilter::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkTemporalPathLineFilter::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

The necessary parts of the standard pipeline update mechanism

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkTemporalPathLineFilter::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

The necessary parts of the standard pipeline update mechanism

Reimplemented from vtkPolyDataAlgorithm.

TrailPointer vtkTemporalPathLineFilter::GetTrail ( vtkIdType  i  )  [protected]

void vtkTemporalPathLineFilter::IncrementTrail ( TrailPointer  trail,
vtkDataSet input,
vtkDataArray inscalars,
vtkIdType  i 
) [protected]


Member Data Documentation

Definition at line 170 of file vtkTemporalPathLineFilter.h.

Definition at line 171 of file vtkTemporalPathLineFilter.h.

Definition at line 172 of file vtkTemporalPathLineFilter.h.

Definition at line 173 of file vtkTemporalPathLineFilter.h.

Definition at line 174 of file vtkTemporalPathLineFilter.h.

Definition at line 175 of file vtkTemporalPathLineFilter.h.

Definition at line 176 of file vtkTemporalPathLineFilter.h.

Definition at line 177 of file vtkTemporalPathLineFilter.h.

Definition at line 178 of file vtkTemporalPathLineFilter.h.

Definition at line 179 of file vtkTemporalPathLineFilter.h.

Definition at line 180 of file vtkTemporalPathLineFilter.h.

Definition at line 181 of file vtkTemporalPathLineFilter.h.

Definition at line 184 of file vtkTemporalPathLineFilter.h.

Definition at line 185 of file vtkTemporalPathLineFilter.h.

Definition at line 186 of file vtkTemporalPathLineFilter.h.

Definition at line 187 of file vtkTemporalPathLineFilter.h.

Definition at line 188 of file vtkTemporalPathLineFilter.h.

vtkSmartPointer<vtkTemporalPathLineFilterInternals> vtkTemporalPathLineFilter::Internals [protected]

Definition at line 189 of file vtkTemporalPathLineFilter.h.

Definition at line 190 of file vtkTemporalPathLineFilter.h.


The documentation for this class was generated from the following file:

Generated on Wed Jun 3 19:38:17 2009 for VTK by  doxygen 1.5.6