42#ifndef vtkGenericInterpolatedVelocityField_h
43#define vtkGenericInterpolatedVelocityField_h
45#include "vtkCommonDataModelModule.h"
52class vtkGenericInterpolatedVelocityFieldDataSetsType;
103 vtkGetMacro(Caching,
int);
112 vtkGetMacro(CacheHit,
int);
113 vtkGetMacro(CacheMiss,
int);
124 {this->SetVectorsSelection(fieldName);}
150 double LastPCoords[3];
157 vtkSetStringMacro(VectorsSelection);
158 char *VectorsSelection;
160 vtkGenericInterpolatedVelocityFieldDataSetsType* DataSets;
164 static const
double TOLERANCE_SCALE;
Abstract interface for sets of functions.
iterator used to traverse cells
defines dataset interface
Interface for obtaining interpolated velocity values.
virtual void AddDataSet(vtkGenericDataSet *dataset)
Add a dataset used for the implicit function evaluation.
int FunctionValues(double *x, double *f) override
Evaluate the velocity field, f, at (x, y, z, t).
void SelectVectors(const char *fieldName)
~vtkGenericInterpolatedVelocityField() override
static vtkGenericInterpolatedVelocityField * New()
Construct a vtkGenericInterpolatedVelocityField with no initial data set.
void ClearLastCell()
Set the last cell id to -1 so that the next search does not start from the previous cell.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGenericAdaptorCell * GetLastCell()
Return the cell cached from last evaluation.
vtkGenericInterpolatedVelocityField()
virtual void CopyParameters(vtkGenericInterpolatedVelocityField *from)
Copy the user set parameters from source.
int GetLastLocalCoordinates(double pcoords[3])
Returns the interpolation weights cached from last evaluation if the cached cell is valid (returns 1)...
a simple class to control print indentation
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.