 |
VTK
9.0.1
|
Go to the documentation of this file.
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;
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
Abstract interface for sets of functions.
represent and manipulate point attribute data
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
void SelectVectors(const char *fieldName)
bool InterpolatePoint(vtkPointData *outPD1, vtkPointData *outPD2, vtkIdType outIndex)
abstract superclass for arrays of numeric data
std::vector< double > Weights
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Interface for obtaining interpolated velocity values.
a simple class to control print indentation
virtual int FunctionValues(double *x, double *f)
Evaluate functions at x_j.
an abstract base class for locators which find cells
abstract class to specify dataset behavior
vtkGenericCell * TempCell
A helper class for interpolating between times during particle tracing.
provides thread-safe access to cells