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

vtkTemporalInterpolatedVelocityField - A helper class for interpolating between times during particle tracing More...

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

List of all members.

Public Member Functions

 vtkTemporalInterpolatedVelocityField (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkTemporalInterpolatedVelocityField ()
 Construct a vtkTemporalInterpolatedVelocityField with no initial data set. Caching is on. LastCellId is set to -1.
void AdvanceOneTimeStep ()
 Get the most recent weight between 0->1 from T1->T2. Initial value is 0.
void ClearCache ()
 Set the last cell id to -1 so that the next search does not start from the previous cell.
override int FunctionValues (IntPtr x, IntPtr u)
 Evaluate the velocity field, f, at (x, y, z, t). For now, t is ignored.
int FunctionValuesAtT (int T, IntPtr x, IntPtr u)
 Evaluate the velocity field, f, at (x, y, z, t). For now, t is ignored.
bool GetCachedCellIds (IntPtr id, IntPtr ds)
 Between iterations of the Particle Tracer, Id's of the Cell are stored and then at the start of the next particle the Ids are set to 'pre-fill' the cache.
virtual double GetCurrentWeight ()
 Get the most recent weight between 0->1 from T1->T2. Initial value is 0.
virtual double[] GetLastGoodVelocity ()
 If an interpolation was successful, we can retrieve the last computed value from here. Initial value is (0.0,0.0,0.0)
virtual void GetLastGoodVelocity (ref double _arg1, ref double _arg2, ref double _arg3)
 If an interpolation was successful, we can retrieve the last computed value from here. Initial value is (0.0,0.0,0.0)
virtual void GetLastGoodVelocity (IntPtr _arg)
 If an interpolation was successful, we can retrieve the last computed value from here. Initial value is (0.0,0.0,0.0)
bool GetVorticityData (int T, IntPtr pcoords, IntPtr weights, vtkGenericCell cell, vtkDoubleArray cellVectors)
 Get the most recent weight between 0->1 from T1->T2. Initial value is 0.
bool InterpolatePoint (vtkPointData outPD1, vtkPointData outPD2, int outIndex)
 Get the most recent weight between 0->1 from T1->T2. Initial value is 0.
bool InterpolatePoint (int T, vtkPointData outPD1, int outIndex)
 Get the most recent weight between 0->1 from T1->T2. Initial value is 0.
override int IsA (string type)
 Undocumented Block.
bool IsStatic (int datasetIndex)
 Get the most recent weight between 0->1 from T1->T2. Initial value is 0.
new
vtkTemporalInterpolatedVelocityField 
NewInstance ()
 Undocumented Block.
int QuickTestPoint (IntPtr x)
 A utility function which evaluates the point at T1, T2 to see if it is inside the data at both times or only one.
void SelectVectors (string fieldName)
 If you want to work with an arbitrary vector array, then set its name here. By default this is NULL and the filter will use the active vector array.
void SetCachedCellIds (IntPtr id, IntPtr ds)
 Between iterations of the Particle Tracer, Id's of the Cell are stored and then at the start of the next particle the Ids are set to 'pre-fill' the cache.
void SetDataSetAtTime (int I, int N, double T, vtkDataSet dataset, bool staticdataset)
 In order to use this class, two sets of data must be supplied, corresponding to times T1 and T2. Data is added via this function.
void ShowCacheResults ()
 Get the most recent weight between 0->1 from T1->T2. Initial value is 0.
int TestPoint (IntPtr x)
 A utility function which evaluates the point at T1, T2 to see if it is inside the data at both times or only one.

Static Public Member Functions

static new
vtkTemporalInterpolatedVelocityField 
New ()
 Construct a vtkTemporalInterpolatedVelocityField with no initial data set. Caching is on. LastCellId is set to -1.
static new int IsTypeOf (string type)
 Undocumented Block.
static new
vtkTemporalInterpolatedVelocityField 
SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkTemporalInterpolatedVelocityField"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "36vtkTemporalInterpolatedVelocityField"
 Automatically generated type registration mechanics.

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.

Private Member Functions

static internal IntPtr vtkTemporalInterpolatedVelocityField_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkTemporalInterpolatedVelocityField_AdvanceOneTimeStep_01 (HandleRef pThis)
static internal void vtkTemporalInterpolatedVelocityField_ClearCache_02 (HandleRef pThis)
static internal int vtkTemporalInterpolatedVelocityField_FunctionValues_03 (HandleRef pThis, IntPtr x, IntPtr u)
static internal int vtkTemporalInterpolatedVelocityField_FunctionValuesAtT_04 (HandleRef pThis, int T, IntPtr x, IntPtr u)
static internal byte vtkTemporalInterpolatedVelocityField_GetCachedCellIds_05 (HandleRef pThis, IntPtr id, IntPtr ds)
static internal double vtkTemporalInterpolatedVelocityField_GetCurrentWeight_06 (HandleRef pThis)
static internal IntPtr vtkTemporalInterpolatedVelocityField_GetLastGoodVelocity_07 (HandleRef pThis)
static internal void vtkTemporalInterpolatedVelocityField_GetLastGoodVelocity_08 (HandleRef pThis, ref double _arg1, ref double _arg2, ref double _arg3)
static internal void vtkTemporalInterpolatedVelocityField_GetLastGoodVelocity_09 (HandleRef pThis, IntPtr _arg)
static internal byte vtkTemporalInterpolatedVelocityField_GetVorticityData_10 (HandleRef pThis, int T, IntPtr pcoords, IntPtr weights, HandleRef cell, HandleRef cellVectors)
static internal byte vtkTemporalInterpolatedVelocityField_InterpolatePoint_11 (HandleRef pThis, HandleRef outPD1, HandleRef outPD2, int outIndex)
static internal byte vtkTemporalInterpolatedVelocityField_InterpolatePoint_12 (HandleRef pThis, int T, HandleRef outPD1, int outIndex)
static internal int vtkTemporalInterpolatedVelocityField_IsA_13 (HandleRef pThis, string type)
static internal byte vtkTemporalInterpolatedVelocityField_IsStatic_14 (HandleRef pThis, int datasetIndex)
static internal int vtkTemporalInterpolatedVelocityField_IsTypeOf_15 (string type)
static internal IntPtr vtkTemporalInterpolatedVelocityField_NewInstance_17 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkTemporalInterpolatedVelocityField_QuickTestPoint_18 (HandleRef pThis, IntPtr x)
static internal IntPtr vtkTemporalInterpolatedVelocityField_SafeDownCast_19 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkTemporalInterpolatedVelocityField_SelectVectors_20 (HandleRef pThis, string fieldName)
static internal void vtkTemporalInterpolatedVelocityField_SetCachedCellIds_21 (HandleRef pThis, IntPtr id, IntPtr ds)
static internal void vtkTemporalInterpolatedVelocityField_SetDataSetAtTime_22 (HandleRef pThis, int I, int N, double T, HandleRef dataset, byte staticdataset)
static internal void vtkTemporalInterpolatedVelocityField_ShowCacheResults_23 (HandleRef pThis)
static internal int vtkTemporalInterpolatedVelocityField_TestPoint_24 (HandleRef pThis, IntPtr x)

Static Private Member Functions

static vtkTemporalInterpolatedVelocityField ()
 Automatically generated type registration mechanics.

Detailed Description

vtkTemporalInterpolatedVelocityField - A helper class for interpolating between times during particle tracing

Description vtkTemporalInterpolatedVelocityField is a general purpose helper for the temporal particle tracing code (vtkTemporalStreamTracer)

It maintains two copies of vtkCachingInterpolatedVelocityField internally and uses them to obtain velocity values at time T0 and T1.

In fact the class does quite a bit more than this because when the geometry of the datasets is the same at T0 and T1, we can re-use cached cell Ids and weights used in the cell interpolation routines. Additionally, the same weights can be used when interpolating (point) scalar values and computing vorticity etc.

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

Datasets are added in lists. The list for T1 must be idential to that for T0 in structure/topology and dataset order, and any datasets marked as static, must remain so for all T - changing a dataset from static to dynamic between time steps will result in undefined behaviour (=crash probably)

vtkCachingInterpolatedVelocityField vtkTemporalStreamTracer


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Construct a vtkTemporalInterpolatedVelocityField with no initial data set. Caching is on. LastCellId is set to -1.


Member Function Documentation

Get the most recent weight between 0->1 from T1->T2. Initial value is 0.

Set the last cell id to -1 so that the next search does not start from the previous cell.

override void Kitware.VTK.vtkTemporalInterpolatedVelocityField.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.

override int Kitware.VTK.vtkTemporalInterpolatedVelocityField.FunctionValues ( IntPtr  x,
IntPtr  u 
) [virtual]

Evaluate the velocity field, f, at (x, y, z, t). For now, t is ignored.

Reimplemented from Kitware.VTK.vtkFunctionSet.

int Kitware.VTK.vtkTemporalInterpolatedVelocityField.FunctionValuesAtT ( int  T,
IntPtr  x,
IntPtr  u 
)

Evaluate the velocity field, f, at (x, y, z, t). For now, t is ignored.

Between iterations of the Particle Tracer, Id's of the Cell are stored and then at the start of the next particle the Ids are set to 'pre-fill' the cache.

Get the most recent weight between 0->1 from T1->T2. Initial value is 0.

If an interpolation was successful, we can retrieve the last computed value from here. Initial value is (0.0,0.0,0.0)

virtual void Kitware.VTK.vtkTemporalInterpolatedVelocityField.GetLastGoodVelocity ( ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [virtual]

If an interpolation was successful, we can retrieve the last computed value from here. Initial value is (0.0,0.0,0.0)

If an interpolation was successful, we can retrieve the last computed value from here. Initial value is (0.0,0.0,0.0)

bool Kitware.VTK.vtkTemporalInterpolatedVelocityField.GetVorticityData ( int  T,
IntPtr  pcoords,
IntPtr  weights,
vtkGenericCell  cell,
vtkDoubleArray  cellVectors 
)

Get the most recent weight between 0->1 from T1->T2. Initial value is 0.

Get the most recent weight between 0->1 from T1->T2. Initial value is 0.

Get the most recent weight between 0->1 from T1->T2. Initial value is 0.

override int Kitware.VTK.vtkTemporalInterpolatedVelocityField.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkFunctionSet.

Get the most recent weight between 0->1 from T1->T2. Initial value is 0.

static new int Kitware.VTK.vtkTemporalInterpolatedVelocityField.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkFunctionSet.

Construct a vtkTemporalInterpolatedVelocityField with no initial data set. Caching is on. LastCellId is set to -1.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkFunctionSet.

A utility function which evaluates the point at T1, T2 to see if it is inside the data at both times or only one.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkFunctionSet.

Here is the call graph for this function:

If you want to work with an arbitrary vector array, then set its name here. By default this is NULL and the filter will use the active vector array.

Between iterations of the Particle Tracer, Id's of the Cell are stored and then at the start of the next particle the Ids are set to 'pre-fill' the cache.

void Kitware.VTK.vtkTemporalInterpolatedVelocityField.SetDataSetAtTime ( int  I,
int  N,
double  T,
vtkDataSet  dataset,
bool  staticdataset 
)

In order to use this class, two sets of data must be supplied, corresponding to times T1 and T2. Data is added via this function.

Get the most recent weight between 0->1 from T1->T2. Initial value is 0.

A utility function which evaluates the point at T1, T2 to see if it is inside the data at both times or only one.

static internal int Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_FunctionValues_03 ( HandleRef  pThis,
IntPtr  x,
IntPtr  u 
) [private]
static internal int Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_FunctionValuesAtT_04 ( HandleRef  pThis,
int  T,
IntPtr  x,
IntPtr  u 
) [private]
static internal byte Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_GetCachedCellIds_05 ( HandleRef  pThis,
IntPtr  id,
IntPtr  ds 
) [private]
static internal void Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_GetLastGoodVelocity_08 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [private]
static internal void Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_GetLastGoodVelocity_09 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal byte Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_GetVorticityData_10 ( HandleRef  pThis,
int  T,
IntPtr  pcoords,
IntPtr  weights,
HandleRef  cell,
HandleRef  cellVectors 
) [private]
static internal byte Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_InterpolatePoint_11 ( HandleRef  pThis,
HandleRef  outPD1,
HandleRef  outPD2,
int  outIndex 
) [private]
static internal byte Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_InterpolatePoint_12 ( HandleRef  pThis,
int  T,
HandleRef  outPD1,
int  outIndex 
) [private]
static internal int Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_IsA_13 ( HandleRef  pThis,
string  type 
) [private]
static internal byte Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_IsStatic_14 ( HandleRef  pThis,
int  datasetIndex 
) [private]
static internal IntPtr Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_NewInstance_17 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_SafeDownCast_19 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_SelectVectors_20 ( HandleRef  pThis,
string  fieldName 
) [private]
static internal void Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_SetCachedCellIds_21 ( HandleRef  pThis,
IntPtr  id,
IntPtr  ds 
) [private]
static internal void Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_SetDataSetAtTime_22 ( HandleRef  pThis,
int  I,
int  N,
double  T,
HandleRef  dataset,
byte  staticdataset 
) [private]
static internal int Kitware.VTK.vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_TestPoint_24 ( HandleRef  pThis,
IntPtr  x 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkTemporalInterpolatedVelocityField.MRClassNameKey = "36vtkTemporalInterpolatedVelocityField" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkFunctionSet.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkFunctionSet.


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