32 #ifndef vtkCachingInterpolatedVelocityField_h
33 #define vtkCachingInterpolatedVelocityField_h
36 #include "vtkFiltersFlowPathsModule.h"
42 VTK_ABI_NAMESPACE_BEGIN
72 using Superclass::FunctionValues;
79 virtual int InsideTest(
double* x);
85 virtual void SetDataSet(
94 vtkGetStringMacro(VectorsSelection);
95 void SelectVectors(
const char* fieldName) { this->SetVectorsSelection(fieldName); }
103 void SetLastCellInfo(
vtkIdType c,
int datasetindex);
109 void ClearLastCellInfo();
117 int GetLastWeights(
double* w);
118 int GetLastLocalCoordinates(
double pcoords[3]);
125 vtkGetMacro(CellCacheHit,
int);
126 vtkGetMacro(DataSetCacheHit,
int);
127 vtkGetMacro(CacheMiss,
int);
146 vtkSetStringMacro(VectorsSelection);
151 int InsideTest(IVFDataSetInfo* cache,
double* x);
162 void FastCompute(IVFDataSetInfo* cache,
double f[3]);
179 #ifndef DOXYGEN_SHOULD_SKIP_THIS
190 float* VelocityFloat;
191 double* VelocityDouble;
195 IVFDataSetInfo(
const IVFDataSetInfo& ivfci);
196 IVFDataSetInfo& operator=(
const IVFDataSetInfo& ivfci);
200 static const double TOLERANCE_SCALE;
209 VTK_ABI_NAMESPACE_END
A helper class for interpolating between times during particle tracing.
represent and manipulate point attribute data
abstract class to specify dataset behavior
#define VTK_DEPRECATED_IN_9_2_0(reason)
an abstract base class for locators which find cells
Interface for obtaining interpolated velocity values.
An abstract class for obtaining the interpolated velocity values at a point.
provides thread-safe access to cells
void SelectVectors(const char *fieldName)
If you want to work with an arbitrary vector array, then set its name here.
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
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
Abstract interface for sets of functions.
virtual int FunctionValues(double *x, double *f)
Evaluate functions at x_j.
bool InterpolatePoint(vtkPointData *outPD1, vtkPointData *outPD2, vtkIdType outIndex)
vtkGenericCell * TempCell
std::vector< double > Weights
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...