66 #ifndef __vtkAbstractInterpolatedVelocityField_h
67 #define __vtkAbstractInterpolatedVelocityField_h
71 #include <vtkstd/vector>
95 vtkSetMacro( Caching,
bool );
96 vtkGetMacro( Caching,
bool );
102 vtkGetMacro( CacheHit,
int );
103 vtkGetMacro( CacheMiss,
int );
113 vtkGetMacro( LastDataSetIndex,
int );
124 virtual void SetLastCellId(
vtkIdType c,
int dataindex ) = 0;
129 vtkGetStringMacro( VectorsSelection );
131 { this->SetVectorsSelection( fieldName ); }
151 vtkSetMacro( NormalizeVector,
bool );
152 vtkGetMacro( NormalizeVector,
bool );
158 { this->Caching = from->
Caching; }
165 virtual void AddDataSet(
vtkDataSet * dataset ) = 0;
177 int GetLastWeights(
double * w );
178 int GetLastLocalCoordinates(
double pcoords[3] );
195 double LastPCoords[3];
204 vtkSetStringMacro( VectorsSelection );
224 void FastCompute(
vtkDataArray * vectors,
double f[3] );
227 {
return ( this->LastCellId != -1 ) ? this->GenCell : NULL; }