|
virtual int | IsA (const char *type) |
|
vtkCellLocatorInterpolatedVelocityField * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | SetCellLocatorPrototype (vtkAbstractCellLocator *prototype) |
|
virtual void | CopyParameters (vtkAbstractInterpolatedVelocityField *from) |
|
virtual void | AddDataSet (vtkDataSet *dataset) |
|
virtual int | FunctionValues (double *x, double *f) |
|
virtual void | SetLastCellId (vtkIdType c, int dataindex) |
|
|
virtual vtkAbstractCellLocator * | GetLastCellLocator () |
|
|
virtual vtkAbstractCellLocator * | GetCellLocatorPrototype () |
|
|
virtual void | SetLastCellId (vtkIdType c) |
|
vtkCompositeInterpolatedVelocityField * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual int | GetLastDataSetIndex () |
|
virtual vtkDataSet * | GetLastDataSet () |
|
vtkAbstractInterpolatedVelocityField * | NewInstance () const |
|
void | SelectVectors (int fieldAssociation, const char *fieldName) |
|
void | ClearLastCellId () |
|
virtual void | SetCaching (bool) |
|
virtual bool | GetCaching () |
|
virtual int | GetCacheHit () |
|
virtual int | GetCacheMiss () |
|
virtual vtkIdType | GetLastCellId () |
|
virtual char * | GetVectorsSelection () |
|
virtual int | GetVectorsType () |
|
virtual void | SetNormalizeVector (bool) |
|
virtual bool | GetNormalizeVector () |
|
virtual void | SetForceSurfaceTangentVector (bool) |
|
virtual bool | GetForceSurfaceTangentVector () |
|
virtual void | SetSurfaceDataset (bool) |
|
virtual bool | GetSurfaceDataset () |
|
int | GetLastWeights (double *w) |
|
int | GetLastLocalCoordinates (double pcoords[3]) |
|
vtkFunctionSet * | NewInstance () const |
|
virtual int | GetNumberOfFunctions () |
|
virtual int | GetNumberOfIndependentVariables () |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual unsigned long | GetMTime () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkCellLocatorInterpolatedVelocityField () |
|
| ~vtkCellLocatorInterpolatedVelocityField () |
|
|
int | FunctionValues (vtkDataSet *ds, vtkAbstractCellLocator *loc, double *x, double *f) |
|
|
virtual int | FunctionValues (vtkDataSet *ds, double *x, double *f) |
|
| vtkCompositeInterpolatedVelocityField () |
|
| ~vtkCompositeInterpolatedVelocityField () |
|
| vtkAbstractInterpolatedVelocityField () |
|
| ~vtkAbstractInterpolatedVelocityField () |
|
virtual bool | CheckPCoords (double pcoords[3]) |
|
virtual bool | FindAndUpdateCell (vtkDataSet *ds, double *x) |
|
virtual void | SetVectorsSelection (const char *) |
|
void | FastCompute (vtkDataArray *vectors, double f[3]) |
|
bool | InterpolatePoint (vtkPointData *outPD, vtkIdType outIndex) |
|
vtkGenericCell * | GetLastCell () |
|
| vtkFunctionSet () |
|
| ~vtkFunctionSet () |
|
| vtkObject () |
|
virtual | ~vtkObject () |
|
virtual void | RegisterInternal (vtkObjectBase *, int check) |
|
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
|
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
|
void | InternalReleaseFocus () |
|
| vtkObjectBase () |
|
virtual | ~vtkObjectBase () |
|
virtual void | CollectRevisions (ostream &) |
|
virtual void | ReportReferences (vtkGarbageCollector *) |
|
| vtkObjectBase (const vtkObjectBase &) |
|
void | operator= (const vtkObjectBase &) |
|
A concrete class for obtaining the interpolated velocity values at a point.
vtkCellLocatorInterpolatedVelocityField acts as a continuous velocity field via cell interpolation on a vtkDataSet, NumberOfIndependentVariables = 4 (x,y,z,t) and NumberOfFunctions = 3 (u,v,w). As a concrete sub-class of vtkCompositeInterpolatedVelocityField, it adopts vtkAbstractCellLocator's sub-classes, e.g., vtkCellLocator and vtkModifiedBSPTree, without the use of vtkPointLocator ( employed by vtkDataSet/vtkPointSet::FindCell() in vtkInterpolatedVelocityField ). vtkCellLocatorInterpolatedVelocityField adopts one level of cell caching. Specifically, if the next point is still within the previous cell, cell location is then simply skipped and vtkCell:: EvaluatePosition() is called to obtain the new parametric coordinates and weights that are used to interpolate the velocity function values across the vertices of this cell. Otherwise a global cell (the target containing the next point) location is instead directly invoked, without exploiting the clue that vtkInterpolatedVelocityField makes use of from the previous cell (an immediate neighbor). Although ignoring the neighbor cell may incur a relatively high computational cost, vtkCellLocatorInterpolatedVelocityField is more robust in locating the target cell than its sibling class vtkInterpolatedVelocityField.
- Warning
- vtkCellLocatorInterpolatedVelocityField is not thread safe. A new instance should be created by each thread.
- See also
- vtkCompositeInterpolatedVelocityField vtkInterpolatedVelocityField vtkGenericInterpolatedVelocityField vtkCachingInterpolatedVelocityField vtkTemporalInterpolatedVelocityField vtkFunctionSet vtkStreamTracer
Definition at line 57 of file vtkCellLocatorInterpolatedVelocityField.h.