ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions
Kitware.VTK.vtkAbstractInterpolatedVelocityField Class Reference

vtkAbstractInterpolatedVelocityField - An abstract class for obtaining the interpolated velocity values at a point More...

Inheritance diagram for Kitware.VTK.vtkAbstractInterpolatedVelocityField:
[legend]
Collaboration diagram for Kitware.VTK.vtkAbstractInterpolatedVelocityField:
[legend]

List of all members.

Public Member Functions

 vtkAbstractInterpolatedVelocityField (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual void AddDataSet (vtkDataSet dataset)
 Add a dataset for implicit velocity function evaluation. If more than one dataset is added, the evaluation point is searched in all until a match is found. THIS FUNCTION DOES NOT CHANGE THE REFERENCE COUNT OF dataset FOR THREAD SAFETY REASONS.
void ClearLastCellId ()
 Set the last cell id to -1 to incur a global cell search for the next point.
virtual void CopyParameters (vtkAbstractInterpolatedVelocityField from)
 Import parameters. Sub-classes can add more after chaining.
override int FunctionValues (IntPtr x, IntPtr f)
 Evaluate the velocity field f at point (x, y, z).
virtual int GetCacheHit ()
 Get the caching statistics. CacheHit refers to the number of level #0 cache hits while CacheMiss is the number of level #0 cache misses.
virtual int GetCacheMiss ()
 Get the caching statistics. CacheHit refers to the number of level #0 cache hits while CacheMiss is the number of level #0 cache misses.
virtual bool GetCaching ()
 Set/Get the caching flag. If this flag is turned ON, there are two levels of caching for derived concrete class vtkInterpolatedVelocityField and one level of caching for derived concrete class vtkCellLocatorInterpolatedVelocityField. Otherwise a global cell location is always invoked for evaluating the function values at any point.
virtual int GetLastCellId ()
 Get/Set the id of the cell cached from last evaluation.
virtual vtkDataSet GetLastDataSet ()
 Get the most recently visited dataset and it id. The dataset is used for a guess regarding where the next point will be, without searching through all datasets. When setting the last dataset, care is needed as no reference counting or checks are performed. This feature is intended for custom interpolators only that cache datasets independently.
virtual int GetLastDataSetIndex ()
 Get the most recently visited dataset and it id. The dataset is used for a guess regarding where the next point will be, without searching through all datasets. When setting the last dataset, care is needed as no reference counting or checks are performed. This feature is intended for custom interpolators only that cache datasets independently.
int GetLastLocalCoordinates (IntPtr pcoords)
 Get the interpolation weights cached from last evaluation. Return 1 if the cached cell is valid and 0 otherwise.
int GetLastWeights (IntPtr w)
 Get the interpolation weights cached from last evaluation. Return 1 if the cached cell is valid and 0 otherwise.
virtual bool GetNormalizeVector ()
 Set/Get the flag indicating vector post-normalization (following vector interpolation). Vector post-normalization is required to avoid the 'curve-overshooting' problem (caused by high velocity magnitude) that occurs when Cell-Length is used as the step size unit (particularly the Minimum step size unit). Furthermore, it is required by RK45 to achieve, as expected, high numerical accuracy (or high smoothness of flow lines) through adaptive step sizing. Note this operation is performed (when NormalizeVector TRUE) right after vector interpolation such that the differing amount of contribution of each node (of a cell) to the resulting direction of the interpolated vector, due to the possibly significantly-differing velocity magnitude values at the nodes (which is the case with large cells), can be reflected as is. Also note that this flag needs to be turned to FALSE after vtkInitialValueProblemSolver:: ComputeNextStep() as subsequent operations, e.g., vorticity computation, may need non-normalized vectors.
virtual string GetVectorsSelection ()
 Get/Set the name of a spcified vector array. By default it is NULL, with the active vector array for use.
override int IsA (string type)
 *Undocumented Block
new
vtkAbstractInterpolatedVelocityField 
NewInstance ()
 *Undocumented Block
void SelectVectors (string fieldName)
 Get/Set the name of a spcified vector array. By default it is NULL, with the active vector array for use.
virtual void SetCaching (bool _arg)
 Set/Get the caching flag. If this flag is turned ON, there are two levels of caching for derived concrete class vtkInterpolatedVelocityField and one level of caching for derived concrete class vtkCellLocatorInterpolatedVelocityField. Otherwise a global cell location is always invoked for evaluating the function values at any point.
virtual void SetLastCellId (int c)
 Get/Set the id of the cell cached from last evaluation.
virtual void SetLastCellId (int c, int dataindex)
 Set the id of the most recently visited cell of a dataset.
virtual void SetNormalizeVector (bool _arg)
 Set/Get the flag indicating vector post-normalization (following vector interpolation). Vector post-normalization is required to avoid the 'curve-overshooting' problem (caused by high velocity magnitude) that occurs when Cell-Length is used as the step size unit (particularly the Minimum step size unit). Furthermore, it is required by RK45 to achieve, as expected, high numerical accuracy (or high smoothness of flow lines) through adaptive step sizing. Note this operation is performed (when NormalizeVector TRUE) right after vector interpolation such that the differing amount of contribution of each node (of a cell) to the resulting direction of the interpolated vector, due to the possibly significantly-differing velocity magnitude values at the nodes (which is the case with large cells), can be reflected as is. Also note that this flag needs to be turned to FALSE after vtkInitialValueProblemSolver:: ComputeNextStep() as subsequent operations, e.g., vorticity computation, may need non-normalized vectors.
- Public Member Functions inherited from Kitware.VTK.vtkFunctionSet
 vtkFunctionSet (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual int GetNumberOfFunctions ()
 Return the number of functions. Note that this is constant for a given type of set of functions and can not be changed at run time.
virtual int GetNumberOfIndependentVariables ()
 Return the number of independent variables. Note that this is constant for a given type of set of functions and can not be changed at run time.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
virtual uint GetMTime ()
 Return this object's modified time.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void Register (vtkObjectBase o)
 Increase the reference count (mark as used by another object).
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
int GetReferenceCount ()
 Return the current reference count of this object.
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.)

Static Public Member Functions

static new int IsTypeOf (string type)
 *Undocumented Block
static new
vtkAbstractInterpolatedVelocityField 
SafeDownCast (vtkObjectBase o)
 *Undocumented Block

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkAbstractInterpolatedVelocityField"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkFunctionSet
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "36vtkAbstractInterpolatedVelocityField"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkFunctionSet
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Static Private Member Functions

static vtkAbstractInterpolatedVelocityField ()
 Automatically generated type registration mechanics.

Detailed Description

vtkAbstractInterpolatedVelocityField - An abstract class for obtaining the interpolated velocity values at a point

Description vtkAbstractInterpolatedVelocityField acts as a continuous velocity field by performing cell interpolation on the underlying vtkDataSet. This is an abstract sub-class of vtkFunctionSet, NumberOfIndependentVariables = 4 (x,y,z,t) and NumberOfFunctions = 3 (u,v,w). With a brute-force scheme, every time an evaluation is performed, the target cell containing point (x,y,z) needs to be found by calling FindCell(), via either vtkDataSet or vtkAbstractCelllocator's sub-classes (vtkCellLocator & vtkModifiedBSPTree). As it incurs a large cost, one (for vtkCellLocatorInterpolatedVelocityField via vtkAbstractCellLocator) or two (for vtkInterpolatedVelocityField via vtkDataSet that involves vtkPointLocator in addressing vtkPointSet) levels of cell caching may be exploited to increase the performance.

For vtkInterpolatedVelocityField, level #0 begins with intra-cell caching. Specifically if the previous cell is valid and the next point is still in it ( i.e., vtkCell::EvaluatePosition() returns 1, coupled with newly created parametric coordinates & weights ), the function values can be interpolated and only vtkCell::EvaluatePosition() is invoked. If this fails, then level #1 follows by inter-cell search for the target cell that contains the next point. By an inter-cell search, the previous cell provides an important clue or serves as an immediate neighbor to aid in locating the target cell via vtkPointSet:: FindCell(). If this still fails, a global cell location / search is invoked via vtkPointSet::FindCell(). Here regardless of either inter-cell or global search, vtkPointLocator is in fact employed (for datasets of type vtkPointSet only, note vtkImageData and vtkRectilinearGrid are able to provide rapid and robust cell location due to the simple mesh topology) as a crucial tool underlying the cell locator. However, the use of vtkPointLocator makes vtkInterpolatedVelocityField non-robust in cell location for vtkPointSet.

For vtkCellLocatorInterpolatedVelocityField, the only caching (level #0) works by intra-cell trial. In case of failure, a global search for the target cell is invoked via vtkAbstractCellLocator::FindCell() and the actual work is done by either vtkCellLocator or vtkModifiedBSPTree (for datasets of type vtkPointSet only, while vtkImageData and vtkRectilinearGrid themselves are able to provide fast robust cell location). Without the involvement of vtkPointLocator, robust cell location is achieved for vtkPointSet.

Caveats vtkAbstractInterpolatedVelocityField is not thread safe. A new instance should be created by each thread.


Constructor & Destructor Documentation

static Kitware.VTK.vtkAbstractInterpolatedVelocityField.vtkAbstractInterpolatedVelocityField ( )
staticprivate

Automatically generated type registration mechanics.

Kitware.VTK.vtkAbstractInterpolatedVelocityField.vtkAbstractInterpolatedVelocityField ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.


Member Function Documentation

virtual void Kitware.VTK.vtkAbstractInterpolatedVelocityField.AddDataSet ( vtkDataSet  dataset)
virtual

Add a dataset for implicit velocity function evaluation. If more than one dataset is added, the evaluation point is searched in all until a match is found. THIS FUNCTION DOES NOT CHANGE THE REFERENCE COUNT OF dataset FOR THREAD SAFETY REASONS.

Reimplemented in Kitware.VTK.vtkInterpolatedVelocityField, and Kitware.VTK.vtkCellLocatorInterpolatedVelocityField.

void Kitware.VTK.vtkAbstractInterpolatedVelocityField.ClearLastCellId ( )

Set the last cell id to -1 to incur a global cell search for the next point.

virtual void Kitware.VTK.vtkAbstractInterpolatedVelocityField.CopyParameters ( vtkAbstractInterpolatedVelocityField  from)
virtual

Import parameters. Sub-classes can add more after chaining.

Reimplemented in Kitware.VTK.vtkCellLocatorInterpolatedVelocityField.

override void Kitware.VTK.vtkAbstractInterpolatedVelocityField.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkFunctionSet.

Reimplemented in Kitware.VTK.vtkInterpolatedVelocityField, and Kitware.VTK.vtkCellLocatorInterpolatedVelocityField.

override int Kitware.VTK.vtkAbstractInterpolatedVelocityField.FunctionValues ( IntPtr  x,
IntPtr  f 
)
virtual

Evaluate the velocity field f at point (x, y, z).

Reimplemented from Kitware.VTK.vtkFunctionSet.

Reimplemented in Kitware.VTK.vtkCellLocatorInterpolatedVelocityField, and Kitware.VTK.vtkInterpolatedVelocityField.

virtual int Kitware.VTK.vtkAbstractInterpolatedVelocityField.GetCacheHit ( )
virtual

Get the caching statistics. CacheHit refers to the number of level #0 cache hits while CacheMiss is the number of level #0 cache misses.

virtual int Kitware.VTK.vtkAbstractInterpolatedVelocityField.GetCacheMiss ( )
virtual

Get the caching statistics. CacheHit refers to the number of level #0 cache hits while CacheMiss is the number of level #0 cache misses.

virtual bool Kitware.VTK.vtkAbstractInterpolatedVelocityField.GetCaching ( )
virtual

Set/Get the caching flag. If this flag is turned ON, there are two levels of caching for derived concrete class vtkInterpolatedVelocityField and one level of caching for derived concrete class vtkCellLocatorInterpolatedVelocityField. Otherwise a global cell location is always invoked for evaluating the function values at any point.

virtual int Kitware.VTK.vtkAbstractInterpolatedVelocityField.GetLastCellId ( )
virtual

Get/Set the id of the cell cached from last evaluation.

virtual vtkDataSet Kitware.VTK.vtkAbstractInterpolatedVelocityField.GetLastDataSet ( )
virtual

Get the most recently visited dataset and it id. The dataset is used for a guess regarding where the next point will be, without searching through all datasets. When setting the last dataset, care is needed as no reference counting or checks are performed. This feature is intended for custom interpolators only that cache datasets independently.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkAbstractInterpolatedVelocityField.GetLastDataSetIndex ( )
virtual

Get the most recently visited dataset and it id. The dataset is used for a guess regarding where the next point will be, without searching through all datasets. When setting the last dataset, care is needed as no reference counting or checks are performed. This feature is intended for custom interpolators only that cache datasets independently.

int Kitware.VTK.vtkAbstractInterpolatedVelocityField.GetLastLocalCoordinates ( IntPtr  pcoords)

Get the interpolation weights cached from last evaluation. Return 1 if the cached cell is valid and 0 otherwise.

int Kitware.VTK.vtkAbstractInterpolatedVelocityField.GetLastWeights ( IntPtr  w)

Get the interpolation weights cached from last evaluation. Return 1 if the cached cell is valid and 0 otherwise.

virtual bool Kitware.VTK.vtkAbstractInterpolatedVelocityField.GetNormalizeVector ( )
virtual

Set/Get the flag indicating vector post-normalization (following vector interpolation). Vector post-normalization is required to avoid the 'curve-overshooting' problem (caused by high velocity magnitude) that occurs when Cell-Length is used as the step size unit (particularly the Minimum step size unit). Furthermore, it is required by RK45 to achieve, as expected, high numerical accuracy (or high smoothness of flow lines) through adaptive step sizing. Note this operation is performed (when NormalizeVector TRUE) right after vector interpolation such that the differing amount of contribution of each node (of a cell) to the resulting direction of the interpolated vector, due to the possibly significantly-differing velocity magnitude values at the nodes (which is the case with large cells), can be reflected as is. Also note that this flag needs to be turned to FALSE after vtkInitialValueProblemSolver:: ComputeNextStep() as subsequent operations, e.g., vorticity computation, may need non-normalized vectors.

virtual string Kitware.VTK.vtkAbstractInterpolatedVelocityField.GetVectorsSelection ( )
virtual

Get/Set the name of a spcified vector array. By default it is NULL, with the active vector array for use.

override int Kitware.VTK.vtkAbstractInterpolatedVelocityField.IsA ( string  type)
virtual
static new int Kitware.VTK.vtkAbstractInterpolatedVelocityField.IsTypeOf ( string  type)
static
new vtkAbstractInterpolatedVelocityField Kitware.VTK.vtkAbstractInterpolatedVelocityField.NewInstance ( )
static new vtkAbstractInterpolatedVelocityField Kitware.VTK.vtkAbstractInterpolatedVelocityField.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkFunctionSet.

Reimplemented in Kitware.VTK.vtkCellLocatorInterpolatedVelocityField, and Kitware.VTK.vtkInterpolatedVelocityField.

Here is the call graph for this function:

void Kitware.VTK.vtkAbstractInterpolatedVelocityField.SelectVectors ( string  fieldName)

Get/Set the name of a spcified vector array. By default it is NULL, with the active vector array for use.

virtual void Kitware.VTK.vtkAbstractInterpolatedVelocityField.SetCaching ( bool  _arg)
virtual

Set/Get the caching flag. If this flag is turned ON, there are two levels of caching for derived concrete class vtkInterpolatedVelocityField and one level of caching for derived concrete class vtkCellLocatorInterpolatedVelocityField. Otherwise a global cell location is always invoked for evaluating the function values at any point.

virtual void Kitware.VTK.vtkAbstractInterpolatedVelocityField.SetLastCellId ( int  c)
virtual

Get/Set the id of the cell cached from last evaluation.

Reimplemented in Kitware.VTK.vtkCellLocatorInterpolatedVelocityField, and Kitware.VTK.vtkInterpolatedVelocityField.

virtual void Kitware.VTK.vtkAbstractInterpolatedVelocityField.SetLastCellId ( int  c,
int  dataindex 
)
virtual

Set the id of the most recently visited cell of a dataset.

Reimplemented in Kitware.VTK.vtkCellLocatorInterpolatedVelocityField, and Kitware.VTK.vtkInterpolatedVelocityField.

virtual void Kitware.VTK.vtkAbstractInterpolatedVelocityField.SetNormalizeVector ( bool  _arg)
virtual

Set/Get the flag indicating vector post-normalization (following vector interpolation). Vector post-normalization is required to avoid the 'curve-overshooting' problem (caused by high velocity magnitude) that occurs when Cell-Length is used as the step size unit (particularly the Minimum step size unit). Furthermore, it is required by RK45 to achieve, as expected, high numerical accuracy (or high smoothness of flow lines) through adaptive step sizing. Note this operation is performed (when NormalizeVector TRUE) right after vector interpolation such that the differing amount of contribution of each node (of a cell) to the resulting direction of the interpolated vector, due to the possibly significantly-differing velocity magnitude values at the nodes (which is the case with large cells), can be reflected as is. Also note that this flag needs to be turned to FALSE after vtkInitialValueProblemSolver:: ComputeNextStep() as subsequent operations, e.g., vorticity computation, may need non-normalized vectors.


Member Data Documentation

new readonly string Kitware.VTK.vtkAbstractInterpolatedVelocityField.MRClassNameKey = "36vtkAbstractInterpolatedVelocityField"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkFunctionSet.

Reimplemented in Kitware.VTK.vtkInterpolatedVelocityField, and Kitware.VTK.vtkCellLocatorInterpolatedVelocityField.

new const string Kitware.VTK.vtkAbstractInterpolatedVelocityField.MRFullTypeName = "Kitware.VTK.vtkAbstractInterpolatedVelocityField"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkFunctionSet.

Reimplemented in Kitware.VTK.vtkInterpolatedVelocityField, and Kitware.VTK.vtkCellLocatorInterpolatedVelocityField.


The documentation for this class was generated from the following file: