vtkTemporalInterpolatedVelocityField

Section: Visualization Toolkit Parallel Classes

Usage

vtkTemporalInterpolatedVelocityField is a general purpose helper for the temporal particle tracing code (vtkTemporalStreamTracer)

It maintains two copies of vtkCachingInterpolatedVelocityField internally and uses them to obtain velocity values at time T0 and T1.

In fact the class does quite a bit more than this because when the geometry of the datasets is the same at T0 and T1, we can re-use cached cell Ids and weights used in the cell interpolation routines. Additionally, the same weights can be used when interpolating (point) scalar values and computing vorticity etc.

To create an instance of class vtkTemporalInterpolatedVelocityField, simply invoke its constructor as follows

  obj = vtkTemporalInterpolatedVelocityField

Methods

The class vtkTemporalInterpolatedVelocityField has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkTemporalInterpolatedVelocityField class.