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