Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkCellLocatorInterpolatedVelocityField, simply invoke its constructor as follows
obj = vtkCellLocatorInterpolatedVelocityField
obj
is an instance of the vtkCellLocatorInterpolatedVelocityField class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkCellLocatorInterpolatedVelocityField = obj.NewInstance ()
vtkCellLocatorInterpolatedVelocityField = obj.SafeDownCast (vtkObject o)
vtkAbstractCellLocator = obj.GetLastCellLocator ()
- Get the cell locator attached to the most recently visited dataset.
vtkAbstractCellLocator = obj.GetCellLocatorPrototype ()
- Get the prototype of the cell locator that is used for interpolating the
velocity field during integration.
obj.SetCellLocatorPrototype (vtkAbstractCellLocator prototype)
- Set a prototype of the cell locator that is used for interpolating the
velocity field during integration.
obj.CopyParameters (vtkAbstractInterpolatedVelocityField from)
- Import parameters. Sub-classes can add more after chaining.
obj.AddDataSet (vtkDataSet dataset)
- Add a dataset coupled with a cell locator (of type vtkAbstractCellLocator)
for vector function evaluation. Note the use of a vtkAbstractCellLocator
enables robust cell location. If more than one dataset is added, the
evaluation point is searched in all until a match is found. THIS FUNCTION
DOES NOT CHANGE THE REFERENCE COUNT OF dataset FOR THREAD SAFETY REASONS.
int = obj.FunctionValues (double x, double f)
- Evaluate the velocity field f at point (x, y, z).
obj.SetLastCellId (vtkIdType c, int dataindex)
- Set the cell id cached by the last evaluation within a specified dataset.
obj.SetLastCellId (vtkIdType c)