44 #ifndef vtkCachingInterpolatedVelocityField_h 45 #define vtkCachingInterpolatedVelocityField_h 47 #include "vtkFiltersFlowPathsModule.h" 69 void PrintSelf(ostream& os,
vtkIndent indent)
override;
82 int FunctionValues(
double* x,
double* f)
override;
83 virtual int InsideTest(
double* x);
97 vtkGetStringMacro(VectorsSelection);
99 {this->SetVectorsSelection(fieldName);}
107 void SetLastCellInfo(
vtkIdType c,
int datasetindex);
113 void ClearLastCellInfo();
121 int GetLastWeights(
double* w);
122 int GetLastLocalCoordinates(
double pcoords[3]);
129 vtkGetMacro(CellCacheHit,
int);
130 vtkGetMacro(DataSetCacheHit,
int);
131 vtkGetMacro(CacheMiss,
int);
150 vtkSetStringMacro(VectorsSelection);
154 int FunctionValues(IVFDataSetInfo *cache,
double *x,
double *f);
155 int InsideTest(IVFDataSetInfo *cache,
double* x);
166 void FastCompute(IVFDataSetInfo *cache,
double f[3]);
183 #ifndef DOXYGEN_SHOULD_SKIP_THIS 194 float *VelocityFloat;
195 double *VelocityDouble;
199 IVFDataSetInfo(
const IVFDataSetInfo &ivfci);
200 IVFDataSetInfo &operator=(
const IVFDataSetInfo &ivfci);
203 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.
a simple class to control print indentation
abstract superclass for arrays of numeric data
Abstract interface for sets of functions.
bool InterpolatePoint(vtkPointData *outPD1, vtkPointData *outPD2, vtkIdType outIndex)
vtkGenericCell * TempCell
std::vector< double > Weights