67 #ifndef vtkAbstractInterpolatedVelocityField_h
68 #define vtkAbstractInterpolatedVelocityField_h
80 class vtkAbstractInterpolatedVelocityFieldDataSetsType;
82 #include "vtkFiltersFlowPathsModule.h"
99 vtkGetMacro( Caching,
bool );
107 vtkGetMacro( CacheHit,
int );
108 vtkGetMacro( CacheMiss,
int );
124 virtual void SetLastCellId(
vtkIdType c,
int dataindex ) = 0;
132 vtkGetMacro(VectorsType,
int);
139 void SelectVectors(
int fieldAssociation,
const char * fieldName );
161 vtkGetMacro( NormalizeVector,
bool );
170 vtkGetMacro(ForceSurfaceTangentVector,
bool);
178 vtkGetMacro(SurfaceDataset,
bool);
185 { this->Caching = from->
Caching; }
203 int GetLastWeights(
double * w );
204 int GetLastLocalCoordinates(
double pcoords[3] );
224 double LastPCoords[3];
236 vtkSetStringMacro( VectorsSelection );
255 virtual bool CheckPCoords(
double pcoords[3]);
264 virtual bool FindAndUpdateCell(
vtkDataSet* ds,
double* x);
274 void FastCompute(
vtkDataArray * vectors,
double f[3] );
277 {
return ( this->LastCellId != -1 ) ? this->GenCell : NULL; }
A helper class for interpolating between times during particle tracing.
represent and manipulate point attribute data
static const double TOLERANCE_SCALE
abstract class to specify dataset behavior
An abstract class for obtaining the interpolated velocity values at a point.
virtual int FunctionValues(double *x, double *f)=0
Evaluate functions at x_j.
provides thread-safe access to cells
virtual void CopyParameters(vtkAbstractInterpolatedVelocityField *from)
Import parameters.
void ClearLastCellId()
Set the last cell id to -1 to incur a global cell search for the next point.
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
static const double SURFACE_TOLERANCE_SCALE
vtkGenericCell * GetLastCell()
If all weights have been computed (parametric coords etc all valid), a scalar/vector can be quickly i...
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Abstract interface for sets of functions.
bool ForceSurfaceTangentVector
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void SetLastCellId(vtkIdType c)
Get/Set the id of the cell cached from last evaluation.
bool InterpolatePoint(vtkPointData *outPD1, vtkPointData *outPD2, vtkIdType outIndex)