66 #ifndef vtkAbstractInterpolatedVelocityField_h
67 #define vtkAbstractInterpolatedVelocityField_h
80 class vtkAbstractInterpolatedVelocityFieldDataSetsType;
97 vtkSetMacro( Caching,
bool );
98 vtkGetMacro( Caching,
bool );
104 vtkGetMacro( CacheHit,
int );
105 vtkGetMacro( CacheMiss,
int );
117 virtual void SetLastCellId(
vtkIdType c,
int dataindex ) = 0;
122 vtkGetStringMacro( VectorsSelection );
123 vtkGetMacro(VectorsType,
int);
128 void SelectVectors(
int fieldAssociation,
const char * fieldName );
148 vtkSetMacro( NormalizeVector,
bool );
149 vtkGetMacro( NormalizeVector,
bool );
156 vtkSetMacro(ForceSurfaceTangentVector,
bool);
157 vtkGetMacro(ForceSurfaceTangentVector,
bool);
163 vtkSetMacro(SurfaceDataset,
bool);
164 vtkGetMacro(SurfaceDataset,
bool);
170 { this->Caching = from->
Caching; }
184 int GetLastWeights(
double * w );
185 int GetLastLocalCoordinates(
double pcoords[3] );
205 double LastPCoords[3];
215 vtkSetStringMacro( VectorsSelection );
231 virtual bool CheckPCoords(
double pcoords[3]);
237 virtual bool FindAndUpdateCell(
vtkDataSet* ds,
double* x);
246 void FastCompute(
vtkDataArray * vectors,
double f[3] );
249 {
return ( this->LastCellId != -1 ) ? this->GenCell : NULL; }
#define VTKFILTERSFLOWPATHS_EXPORT
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
provides thread-safe access to cells
virtual void CopyParameters(vtkAbstractInterpolatedVelocityField *from)
a simple class to control print indentation
abstract superclass for arrays of numeric data
static const double SURFACE_TOLERANCE_SCALE
vtkGenericCell * GetLastCell()
Abstract interface for sets of functions.
bool ForceSurfaceTangentVector
virtual void SetLastCellId(vtkIdType c)
virtual void PrintSelf(ostream &os, vtkIndent indent)
bool InterpolatePoint(vtkPointData *outPD1, vtkPointData *outPD2, vtkIdType outIndex)