44 #ifndef vtkCachingInterpolatedVelocityField_h
45 #define vtkCachingInterpolatedVelocityField_h
48 #include "vtkFiltersFlowPathsModule.h"
83 using Superclass::FunctionValues;
90 virtual int InsideTest(
double* x);
96 virtual void SetDataSet(
105 vtkGetStringMacro(VectorsSelection);
106 void SelectVectors(
const char* fieldName) { this->SetVectorsSelection(fieldName); }
114 void SetLastCellInfo(
vtkIdType c,
int datasetindex);
120 void ClearLastCellInfo();
128 int GetLastWeights(
double* w);
129 int GetLastLocalCoordinates(
double pcoords[3]);
136 vtkGetMacro(CellCacheHit,
int);
137 vtkGetMacro(DataSetCacheHit,
int);
138 vtkGetMacro(CacheMiss,
int);
157 vtkSetStringMacro(VectorsSelection);
162 int InsideTest(IVFDataSetInfo* cache,
double* x);
173 void FastCompute(IVFDataSetInfo* cache,
double f[3]);
190 #ifndef DOXYGEN_SHOULD_SKIP_THIS
201 float* VelocityFloat;
202 double* VelocityDouble;
206 IVFDataSetInfo(
const IVFDataSetInfo& ivfci);
207 IVFDataSetInfo& operator=(
const IVFDataSetInfo& ivfci);
211 static const double TOLERANCE_SCALE;
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...