Go to the documentation of this file.
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; }
vtkGenericCell * GetLastCell()
virtual void SetLastCellId(vtkIdType c)
Abstract interface for sets of functions.
static const double TOLERANCE_SCALE
represent and manipulate point attribute data
void ClearLastCellId()
Set the last cell id to -1 to incur a global cell search for the next point.
virtual int FunctionValues(double *x, double *f)=0
Evaluate functions at x_j.
bool InterpolatePoint(vtkPointData *outPD1, vtkPointData *outPD2, vtkIdType outIndex)
abstract superclass for arrays of numeric data
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
abstract class to specify dataset behavior
An abstract class for obtaining the interpolated velocity values at a point.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
A helper class for interpolating between times during particle tracing.
provides thread-safe access to cells
static const double SURFACE_TOLERANCE_SCALE
bool ForceSurfaceTangentVector
virtual void CopyParameters(vtkAbstractInterpolatedVelocityField *from)
Import parameters.