44 #ifndef vtkCachingInterpolatedVelocityField_h 45 #define vtkCachingInterpolatedVelocityField_h 47 #include "vtkFiltersFlowPathsModule.h" 79 using Superclass::FunctionValues;
86 virtual int InsideTest(
double* x);
92 virtual void SetDataSet(
101 vtkGetStringMacro(VectorsSelection);
102 void SelectVectors(
const char* fieldName) { this->SetVectorsSelection(fieldName); }
110 void SetLastCellInfo(
vtkIdType c,
int datasetindex);
116 void ClearLastCellInfo();
124 int GetLastWeights(
double* w);
125 int GetLastLocalCoordinates(
double pcoords[3]);
132 vtkGetMacro(CellCacheHit,
int);
133 vtkGetMacro(DataSetCacheHit,
int);
134 vtkGetMacro(CacheMiss,
int);
153 vtkSetStringMacro(VectorsSelection);
158 int InsideTest(IVFDataSetInfo* cache,
double* x);
169 void FastCompute(IVFDataSetInfo* cache,
double f[3]);
186 #ifndef DOXYGEN_SHOULD_SKIP_THIS 197 float* VelocityFloat;
198 double* VelocityDouble;
202 IVFDataSetInfo(
const IVFDataSetInfo& ivfci);
203 IVFDataSetInfo& operator=(
const IVFDataSetInfo& ivfci);
207 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
an abstract base class for locators which find cells
Interface for obtaining interpolated velocity values.
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...