43 #ifndef __vtkTInterpolatedVelocityField_h
44 #define __vtkTInterpolatedVelocityField_h
46 #include "vtkFiltersFlowPathsModule.h"
48 #include "vtkSmartPointer.h"
57 class vtkAbstractCellLocator;
69 virtual void PrintSelf(ostream& os, vtkIndent indent);
79 virtual int InsideTest(
double* x);
83 virtual void SetDataSet(
int I, vtkDataSet* dataset,
bool staticdataset, vtkAbstractCellLocator *locator);
89 vtkGetStringMacro(VectorsSelection);
91 {this->SetVectorsSelection(fieldName);}
95 void SetLastCellInfo(vtkIdType c,
int datasetindex);
99 void ClearLastCellInfo();
105 int GetLastWeights(
double* w);
106 int GetLastLocalCoordinates(
double pcoords[3]);
111 vtkGetMacro(CellCacheHit,
int);
112 vtkGetMacro(DataSetCacheHit,
int);
113 vtkGetMacro(CacheMiss,
int);
133 vtkSetStringMacro(VectorsSelection);
163 #ifndef DOXYGEN_SHOULD_SKIP_THIS
171 vtkSmartPointer<vtkAbstractCellLocator>
BSPTree;
172 vtkSmartPointer<vtkGenericCell>
Cell;
181 void SetDataSet(vtkDataSet *data,
char *velocity,
bool staticdataset, vtkAbstractCellLocator *locator);
A helper class for interpolating between times during particle tracing.
Interface for obtaining interpolated velocity values.
IVFDataSetInfo & operator=(const IVFDataSetInfo &ivfci)
virtual int FunctionValues(double *x, double *f)=0
provides thread-safe access to cells
void SelectVectors(const char *fieldName)
static const double TOLERANCE_SCALE
vtkSmartPointer< vtkAbstractCellLocator > BSPTree
vtkSmartPointer< vtkGenericCell > Cell
vtkSmartPointer< vtkDataSet > DataSet
Abstract interface for sets of functions.
virtual void PrintSelf(ostream &os, vtkIndent indent)
bool InterpolatePoint(vtkPointData *outPD1, vtkPointData *outPD2, vtkIdType outIndex)
vtkGenericCell * TempCell
std::vector< double > Weights
void SetDataSet(vtkDataSet *data, char *velocity, bool staticdataset, vtkAbstractCellLocator *locator)