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

vtkTransformInterpolator - interpolate a series of transformation matrices More...

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

List of all members.

Public Types

enum  INTERPOLATION_TYPE_LINEAR_WrapperEnum { INTERPOLATION_TYPE_LINEAR = 0, INTERPOLATION_TYPE_MANUAL = 2, INTERPOLATION_TYPE_SPLINE = 1 }
 Interpolate the list of transforms and determine a new transform (i.e., fill in the transformation provided). If t is outside the range of (min,max) values, then t is clamped. More...

Public Member Functions

 vtkTransformInterpolator (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkTransformInterpolator ()
 Instantiate the class.
void AddTransform (double t, vtkTransform xform)
 Add another transform to the list of transformations defining the transform function. Note that using the same time t value more than once replaces the previous transform value at t. At least two transforms must be added to define a function. There are variants to this method depending on whether you are adding a vtkTransform, vtkMaxtirx4x4, and/or vtkProp3D.
void AddTransform (double t, vtkMatrix4x4 matrix)
 Add another transform to the list of transformations defining the transform function. Note that using the same time t value more than once replaces the previous transform value at t. At least two transforms must be added to define a function. There are variants to this method depending on whether you are adding a vtkTransform, vtkMaxtirx4x4, and/or vtkProp3D.
void AddTransform (double t, vtkProp3D prop3D)
 Add another transform to the list of transformations defining the transform function. Note that using the same time t value more than once replaces the previous transform value at t. At least two transforms must be added to define a function. There are variants to this method depending on whether you are adding a vtkTransform, vtkMaxtirx4x4, and/or vtkProp3D.
virtual int GetInterpolationType ()
 These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.
virtual int GetInterpolationTypeMaxValue ()
 These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.
virtual int GetInterpolationTypeMinValue ()
 These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.
override uint GetMTime ()
 Override GetMTime() because we depend on the interpolators which may be modified outside of this class.
double GetMaximumT ()
 Obtain some information about the interpolation range. The numbers returned (corresponding to parameter t, usually thought of as time) are undefined if the list of transforms is empty.
double GetMinimumT ()
 Obtain some information about the interpolation range. The numbers returned (corresponding to parameter t, usually thought of as time) are undefined if the list of transforms is empty.
int GetNumberOfTransforms ()
 Return the number of transforms in the list of transforms.
virtual vtkTupleInterpolator GetPositionInterpolator ()
 Set/Get the tuple interpolator used to interpolate the position portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.
virtual vtkQuaternionInterpolator GetRotationInterpolator ()
 Set/Get the tuple interpolator used to interpolate the orientation portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.
virtual vtkTupleInterpolator GetScaleInterpolator ()
 Set/Get the tuple interpolator used to interpolate the scale portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.
void Initialize ()
 Clear the list of transforms.
void InterpolateTransform (double t, vtkTransform xform)
 Interpolate the list of transforms and determine a new transform (i.e., fill in the transformation provided). If t is outside the range of (min,max) values, then t is clamped.
override int IsA (string type)
 Undocumented Block.
new vtkTransformInterpolator NewInstance ()
 Undocumented Block.
void RemoveTransform (double t)
 Delete the transform at a particular parameter t. If there is no transform defined at location t, then the method does nothing.
virtual void SetInterpolationType (int _arg)
 These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.
void SetInterpolationTypeToLinear ()
 These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.
void SetInterpolationTypeToManual ()
 These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.
void SetInterpolationTypeToSpline ()
 These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.
virtual void SetPositionInterpolator (vtkTupleInterpolator arg0)
 Set/Get the tuple interpolator used to interpolate the position portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.
virtual void SetRotationInterpolator (vtkQuaternionInterpolator arg0)
 Set/Get the tuple interpolator used to interpolate the orientation portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.
virtual void SetScaleInterpolator (vtkTupleInterpolator arg0)
 Set/Get the tuple interpolator used to interpolate the scale portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.

Static Public Member Functions

static new vtkTransformInterpolator New ()
 Instantiate the class.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkTransformInterpolator SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "24vtkTransformInterpolator"
 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 vtkTransformInterpolator_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkTransformInterpolator_AddTransform_01 (HandleRef pThis, double t, HandleRef xform)
static internal void vtkTransformInterpolator_AddTransform_02 (HandleRef pThis, double t, HandleRef matrix)
static internal void vtkTransformInterpolator_AddTransform_03 (HandleRef pThis, double t, HandleRef prop3D)
static internal int vtkTransformInterpolator_GetInterpolationType_04 (HandleRef pThis)
static internal int vtkTransformInterpolator_GetInterpolationTypeMaxValue_05 (HandleRef pThis)
static internal int vtkTransformInterpolator_GetInterpolationTypeMinValue_06 (HandleRef pThis)
static internal uint vtkTransformInterpolator_GetMTime_07 (HandleRef pThis)
static internal double vtkTransformInterpolator_GetMaximumT_08 (HandleRef pThis)
static internal double vtkTransformInterpolator_GetMinimumT_09 (HandleRef pThis)
static internal int vtkTransformInterpolator_GetNumberOfTransforms_10 (HandleRef pThis)
static internal IntPtr vtkTransformInterpolator_GetPositionInterpolator_11 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkTransformInterpolator_GetRotationInterpolator_12 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkTransformInterpolator_GetScaleInterpolator_13 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkTransformInterpolator_Initialize_14 (HandleRef pThis)
static internal void vtkTransformInterpolator_InterpolateTransform_15 (HandleRef pThis, double t, HandleRef xform)
static internal int vtkTransformInterpolator_IsA_16 (HandleRef pThis, string type)
static internal int vtkTransformInterpolator_IsTypeOf_17 (string type)
static internal IntPtr vtkTransformInterpolator_NewInstance_19 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkTransformInterpolator_RemoveTransform_20 (HandleRef pThis, double t)
static internal IntPtr vtkTransformInterpolator_SafeDownCast_21 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkTransformInterpolator_SetInterpolationType_22 (HandleRef pThis, int _arg)
static internal void vtkTransformInterpolator_SetInterpolationTypeToLinear_23 (HandleRef pThis)
static internal void vtkTransformInterpolator_SetInterpolationTypeToManual_24 (HandleRef pThis)
static internal void vtkTransformInterpolator_SetInterpolationTypeToSpline_25 (HandleRef pThis)
static internal void vtkTransformInterpolator_SetPositionInterpolator_26 (HandleRef pThis, HandleRef arg0)
static internal void vtkTransformInterpolator_SetRotationInterpolator_27 (HandleRef pThis, HandleRef arg0)
static internal void vtkTransformInterpolator_SetScaleInterpolator_28 (HandleRef pThis, HandleRef arg0)

Static Private Member Functions

static vtkTransformInterpolator ()
 Automatically generated type registration mechanics.

Detailed Description

vtkTransformInterpolator - interpolate a series of transformation matrices

Description This class is used to interpolate a series of 4x4 transformation matrices. Position, scale and orientation (i.e., rotations) are interpolated separately, and can be interpolated linearly or with a spline function. Note that orientation is interpolated using quaternions via SLERP (spherical linear interpolation) or the special vtkQuaternionSpline class.

To use this class, specify at least two pairs of (t,transformation matrix) with the AddTransform() method. Then interpolated the transforms with the InterpolateTransform(t,transform) method, where "t" must be in the range of (min,max) times specified by the AddTransform() method.

By default, spline interpolation is used for the interpolation of the transformation matrices. The position, scale and orientation of the matrices are interpolated with instances of the classes vtkTupleInterpolator (position,scale) and vtkQuaternionInterpolator (rotation). The user can override the interpolation behavior by gaining access to these separate interpolation classes. These interpolator classes (vtkTupleInterpolator and vtkQuaternionInterpolator) can be modified to perform linear versus spline interpolation, and/or different spline basis functions can be specified.

Caveats The interpolator classes are initialized when the InterpolateTransform() is called. Any changes to the interpolators, or additions to the list of transforms to be interpolated, causes a reinitialization of the interpolators the next time InterpolateTransform() is invoked. Thus the best performance is obtained by 1) configuring the interpolators, 2) adding all the transforms, and 3) finally performing interpolation.


Member Enumeration Documentation

Interpolate the list of transforms and determine a new transform (i.e., fill in the transformation provided). If t is outside the range of (min,max) values, then t is clamped.

Enumerator:
INTERPOLATION_TYPE_LINEAR 

enum member

INTERPOLATION_TYPE_MANUAL 

enum member

INTERPOLATION_TYPE_SPLINE 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Instantiate the class.


Member Function Documentation

Add another transform to the list of transformations defining the transform function. Note that using the same time t value more than once replaces the previous transform value at t. At least two transforms must be added to define a function. There are variants to this method depending on whether you are adding a vtkTransform, vtkMaxtirx4x4, and/or vtkProp3D.

Add another transform to the list of transformations defining the transform function. Note that using the same time t value more than once replaces the previous transform value at t. At least two transforms must be added to define a function. There are variants to this method depending on whether you are adding a vtkTransform, vtkMaxtirx4x4, and/or vtkProp3D.

Add another transform to the list of transformations defining the transform function. Note that using the same time t value more than once replaces the previous transform value at t. At least two transforms must be added to define a function. There are variants to this method depending on whether you are adding a vtkTransform, vtkMaxtirx4x4, and/or vtkProp3D.

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

These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.

These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.

These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.

Obtain some information about the interpolation range. The numbers returned (corresponding to parameter t, usually thought of as time) are undefined if the list of transforms is empty.

Obtain some information about the interpolation range. The numbers returned (corresponding to parameter t, usually thought of as time) are undefined if the list of transforms is empty.

override uint Kitware.VTK.vtkTransformInterpolator.GetMTime ( ) [virtual]

Override GetMTime() because we depend on the interpolators which may be modified outside of this class.

Reimplemented from Kitware.VTK.vtkObject.

Return the number of transforms in the list of transforms.

Set/Get the tuple interpolator used to interpolate the position portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.

Here is the call graph for this function:

Set/Get the tuple interpolator used to interpolate the orientation portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.

Here is the call graph for this function:

Set/Get the tuple interpolator used to interpolate the scale portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.

Here is the call graph for this function:

Clear the list of transforms.

Interpolate the list of transforms and determine a new transform (i.e., fill in the transformation provided). If t is outside the range of (min,max) values, then t is clamped.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Instantiate the class.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Delete the transform at a particular parameter t. If there is no transform defined at location t, then the method does nothing.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkTransformInterpolator.SetInterpolationType ( int  _arg) [virtual]

These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.

These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.

These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.

These are convenience methods to switch between linear and spline interpolation. The methods simply forward the request for linear or spline interpolation to the position, scale and orientation interpolators. Note that if the InterpolationType is set to "Manual", then the interpolators are expected to be directly manipulated and this class does not forward the request for interpolation type to its interpolators.

Set/Get the tuple interpolator used to interpolate the position portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.

Set/Get the tuple interpolator used to interpolate the orientation portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.

Set/Get the tuple interpolator used to interpolate the scale portion of the transformation matrix. Note that you can modify the behavior of the interpolator (linear vs spline interpolation; change spline basis) by manipulating the interpolator instances.

static internal void Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_AddTransform_01 ( HandleRef  pThis,
double  t,
HandleRef  xform 
) [private]
static internal void Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_AddTransform_02 ( HandleRef  pThis,
double  t,
HandleRef  matrix 
) [private]
static internal void Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_AddTransform_03 ( HandleRef  pThis,
double  t,
HandleRef  prop3D 
) [private]
static internal double Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_GetMaximumT_08 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_GetMinimumT_09 ( HandleRef  pThis) [private]
static internal uint Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_GetMTime_07 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_GetPositionInterpolator_11 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_GetRotationInterpolator_12 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_GetScaleInterpolator_13 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_Initialize_14 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_InterpolateTransform_15 ( HandleRef  pThis,
double  t,
HandleRef  xform 
) [private]
static internal int Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_IsA_16 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_IsTypeOf_17 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_NewInstance_19 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_RemoveTransform_20 ( HandleRef  pThis,
double  t 
) [private]
static internal IntPtr Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_SafeDownCast_21 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_SetInterpolationType_22 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_SetPositionInterpolator_26 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_SetRotationInterpolator_27 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkTransformInterpolator.vtkTransformInterpolator_SetScaleInterpolator_28 ( HandleRef  pThis,
HandleRef  arg0 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkTransformInterpolator.MRClassNameKey = "24vtkTransformInterpolator" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


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