VTK
|
A concrete class for obtaining the interpolated velocity values at a point in AMR data. More...
#include <vtkAMRInterpolatedVelocityField.h>
Public Types | |
typedef vtkAbstractInterpolatedVelocityField | Superclass |
![]() | |
typedef vtkFunctionSet | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkAMRInterpolatedVelocityField * | NewInstance () const |
virtual vtkOverlappingAMR * | GetAmrDataSet () |
void | SetAMRData (vtkOverlappingAMR *amr) |
bool | GetLastDataSetLocation (unsigned int &level, unsigned int &id) |
bool | SetLastDataSet (int level, int id) |
virtual void | SetLastCellId (vtkIdType c, int dataindex) |
virtual int | FunctionValues (double *x, double *f) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetLastCellId (vtkIdType c) |
![]() | |
vtkAbstractInterpolatedVelocityField * | NewInstance () const |
virtual vtkDataSet * | GetLastDataSet () |
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 () |
virtual void | CopyParameters (vtkAbstractInterpolatedVelocityField *from) |
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 () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkAMRInterpolatedVelocityField * | SafeDownCast (vtkObjectBase *o) |
static vtkAMRInterpolatedVelocityField * | New () |
static bool | FindGrid (double q[3], vtkOverlappingAMR *amrds, unsigned int &level, unsigned int &gridId) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkAbstractInterpolatedVelocityField * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkFunctionSet * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Attributes | |
vtkOverlappingAMR * | AmrDataSet |
int | LastLevel |
int | LastId |
![]() | |
int | CacheHit |
int | CacheMiss |
int | WeightsSize |
bool | Caching |
bool | NormalizeVector |
bool | ForceSurfaceTangentVector |
bool | SurfaceDataset |
int | VectorsType |
char * | VectorsSelection |
double * | Weights |
double | LastPCoords [3] |
int | LastSubId |
vtkIdType | LastCellId |
vtkDataSet * | LastDataSet |
vtkGenericCell * | Cell |
vtkGenericCell * | GenCell |
![]() | |
int | NumFuncs |
int | NumIndepVars |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
![]() | |
static const double | TOLERANCE_SCALE |
static const double | SURFACE_TOLERANCE_SCALE |
A concrete class for obtaining the interpolated velocity values at a point in AMR data.
The main functionality supported here is the point location inside vtkOverlappingAMR data set.
Definition at line 36 of file vtkAMRInterpolatedVelocityField.h.
Definition at line 41 of file vtkAMRInterpolatedVelocityField.h.
|
protected |
|
protected |
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAbstractInterpolatedVelocityField.
|
static |
|
protectedvirtual |
Reimplemented from vtkAbstractInterpolatedVelocityField.
vtkAMRInterpolatedVelocityField* vtkAMRInterpolatedVelocityField::NewInstance | ( | ) | const |
|
static |
|
virtual |
void vtkAMRInterpolatedVelocityField::SetAMRData | ( | vtkOverlappingAMR * | amr | ) |
bool vtkAMRInterpolatedVelocityField::GetLastDataSetLocation | ( | unsigned int & | level, |
unsigned int & | id | ||
) |
Set the id of the most recently visited cell of a dataset.
Implements vtkAbstractInterpolatedVelocityField.
|
inlinevirtual |
Set the cell id cached by the last evaluation.
Reimplemented from vtkAbstractInterpolatedVelocityField.
Definition at line 56 of file vtkAMRInterpolatedVelocityField.h.
Evaluate the velocity field f at point p. If it succeeds, then both the last data set (this->LastDataSet) and the last data set location (this->LastLevel, this->LastId) will be set according to where p is found. If it fails, either p is out of bound, in which case both the last data set and the last location will be invlaid or, in a multi-process setting, p is inbound but not on the processor. In the last case, the last data set location is still valid
Implements vtkAbstractInterpolatedVelocityField.
|
virtual |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkAbstractInterpolatedVelocityField.
|
static |
|
inlineprotectedvirtual |
Evaluate the velocity field f at point (x, y, z) in a specified dataset by invoking vtkDataSet::FindCell() to locate the next cell if the given point is outside the current cell. To address vtkPointSet, vtkPointLocator is involved via vtkPointSet::FindCell() in vtkInterpolatedVelocityField for cell location. In vtkCellLocatorInterpolatedVelocityField, this function is invoked just to handle vtkImageData and vtkRectilinearGrid that are not assigned with any vtkAbstractCellLocatot-type cell locator. If activated, returned vector will be tangential to the first three point of the cell
Reimplemented from vtkAbstractInterpolatedVelocityField.
Definition at line 83 of file vtkAMRInterpolatedVelocityField.h.
|
protected |
Definition at line 77 of file vtkAMRInterpolatedVelocityField.h.
|
protected |
Definition at line 78 of file vtkAMRInterpolatedVelocityField.h.
|
protected |
Definition at line 79 of file vtkAMRInterpolatedVelocityField.h.