67 #ifndef vtkAbstractInterpolatedVelocityField_h 68 #define vtkAbstractInterpolatedVelocityField_h 76 class vtkAbstractInterpolatedVelocityFieldDataSetsType;
78 struct vtkStrategyMap;
80 #include "vtkFiltersFlowPathsModule.h" 96 vtkSetMacro(Caching,
bool);
97 vtkGetMacro(Caching,
bool);
105 vtkGetMacro(CacheHit,
int);
106 vtkGetMacro(CacheMiss,
int);
122 virtual void SetLastCellId(
vtkIdType c,
int dataindex) = 0;
129 vtkGetStringMacro(VectorsSelection);
130 vtkGetMacro(VectorsType,
int);
137 void SelectVectors(
int fieldAssociation,
const char* fieldName);
157 vtkSetMacro(NormalizeVector,
bool);
158 vtkGetMacro(NormalizeVector,
bool);
167 vtkSetMacro(ForceSurfaceTangentVector,
bool);
168 vtkGetMacro(ForceSurfaceTangentVector,
bool);
175 vtkSetMacro(SurfaceDataset,
bool);
176 vtkGetMacro(SurfaceDataset,
bool);
184 using Superclass::FunctionValues;
200 int GetLastWeights(
double* w);
201 int GetLastLocalCoordinates(
double pcoords[3]);
232 double LastPCoords[3];
248 vtkSetStringMacro(VectorsSelection);
267 virtual bool CheckPCoords(
double pcoords[3]);
276 virtual bool FindAndUpdateCell(
vtkDataSet* ds,
double* x);
A helper class for interpolating between times during particle tracing.
represent and manipulate point attribute data
static const double TOLERANCE_SCALE
abstract class to specify dataset behavior
An abstract class for obtaining the interpolated velocity values at a point.
provides thread-safe access to cells
helper class to manage the vtkPointSet::FindCell() METHOD
void ClearLastCellId()
Set the last cell id to -1 to incur a global cell search for the next point.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
abstract superclass for arrays of numeric data
vtkFindCellStrategy * FindCellStrategy
static const double SURFACE_TOLERANCE_SCALE
vtkGenericCell * GetLastCell()
If all weights have been computed (parametric coords etc all valid), a scalar/vector can be quickly i...
Abstract interface for sets of functions.
virtual int FunctionValues(double *x, double *f)
Evaluate functions at x_j.
bool ForceSurfaceTangentVector
virtual void SetLastCellId(vtkIdType c)
Get/Set the id of the cell cached from last evaluation.
bool InterpolatePoint(vtkPointData *outPD1, vtkPointData *outPD2, vtkIdType outIndex)
vtkStrategyMap * StrategyMap