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.vtkContourLineInterpolator Class Reference

vtkContourLineInterpolator - Defines API for interpolating/modifying nodes from a vtkContourRepresentation More...

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

List of all members.

Public Member Functions

 vtkContourLineInterpolator (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual void GetSpan (int nodeIndex, vtkIntArray nodeIndices, vtkContourRepresentation rep)
 Span of the interpolator. ie. the number of control points its supposed to interpolate given a node.
virtual int InterpolateLine (vtkRenderer ren, vtkContourRepresentation rep, int idx1, int idx2)
 Subclasses that wish to interpolate a line segment must implement this. For instance vtkBezierContourLineInterpolator adds nodes between idx1 and idx2, that allow the contour to adhere to a bezier curve.
override int IsA (string type)
 Standard methods for instances of this class.
new vtkContourLineInterpolator NewInstance ()
 Standard methods for instances of this class.
virtual int UpdateNode (vtkRenderer arg0, vtkContourRepresentation arg1, IntPtr arg2, int arg3)
 The interpolator is given a chance to update the node. For instance, the vtkImageContourLineInterpolator updates the idx'th node in the contour, so it automatically sticks to edges in the vicinity as the user constructs the contour. Returns 0 if the node (world position) is unchanged.

Static Public Member Functions

static new int IsTypeOf (string type)
 Standard methods for instances of this class.
static new
vtkContourLineInterpolator 
SafeDownCast (vtkObjectBase o)
 Standard methods for instances of this class.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "26vtkContourLineInterpolator"
 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 void vtkContourLineInterpolator_GetSpan_01 (HandleRef pThis, int nodeIndex, HandleRef nodeIndices, HandleRef rep)
static internal int vtkContourLineInterpolator_InterpolateLine_02 (HandleRef pThis, HandleRef ren, HandleRef rep, int idx1, int idx2)
static internal int vtkContourLineInterpolator_IsA_03 (HandleRef pThis, string type)
static internal int vtkContourLineInterpolator_IsTypeOf_04 (string type)
static internal IntPtr vtkContourLineInterpolator_NewInstance_05 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkContourLineInterpolator_SafeDownCast_06 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkContourLineInterpolator_UpdateNode_07 (HandleRef pThis, HandleRef arg0, HandleRef arg1, IntPtr arg2, int arg3)

Static Private Member Functions

static vtkContourLineInterpolator ()
 Automatically generated type registration mechanics.

Detailed Description

vtkContourLineInterpolator - Defines API for interpolating/modifying nodes from a vtkContourRepresentation

Description vtkContourLineInterpolator is an abstract base class for interpolators that work are used by the contour representation class to interpolate and/or modify nodes in a contour. Subclasses must override the virtual method: InterpolateLine. This is used by the contour representation to give the interpolator a chance to define an interpolation scheme between nodes. See vtkBezierContourLineInterpolator for a concrete implementation. Subclasses may also override, UpdateNode. This provides a way for the representation to give the interpolator a chance to modify the nodes, as the user constructs the contours. For instance a sticky contour widget may be implemented that moves nodes to nearby regions of high gradient, to be used in contour guided segmentation.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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


Member Function Documentation

override void Kitware.VTK.vtkContourLineInterpolator.Dispose ( bool  disposing) [protected]
virtual void Kitware.VTK.vtkContourLineInterpolator.GetSpan ( int  nodeIndex,
vtkIntArray  nodeIndices,
vtkContourRepresentation  rep 
) [virtual]

Span of the interpolator. ie. the number of control points its supposed to interpolate given a node.

The first argument is the current nodeIndex. ie, you'd be trying to interpolate between nodes "nodeIndex" and "nodeIndex-1", unless you're closing the contour in which case, you're trying to interpolate "nodeIndex" and "Node=0".

The node span is returned in a vtkIntArray. The default node span is 1 (ie. nodeIndices is a 2 tuple (nodeIndex, nodeIndex-1)). However, it need not always be 1. For instance, cubic spline interpolators, which have a span of 3 control points, it can be larger. See vtkBezierContourLineInterpolator for instance.

Reimplemented in Kitware.VTK.vtkBezierContourLineInterpolator.

virtual int Kitware.VTK.vtkContourLineInterpolator.InterpolateLine ( vtkRenderer  ren,
vtkContourRepresentation  rep,
int  idx1,
int  idx2 
) [virtual]
override int Kitware.VTK.vtkContourLineInterpolator.IsA ( string  type) [virtual]
static new int Kitware.VTK.vtkContourLineInterpolator.IsTypeOf ( string  type) [static]

Standard methods for instances of this class.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkBezierContourLineInterpolator, Kitware.VTK.vtkTerrainContourLineInterpolator, Kitware.VTK.vtkDijkstraImageContourLineInterpolator, Kitware.VTK.vtkPolygonalSurfaceContourLineInterpolator, Kitware.VTK.vtkLinearContourLineInterpolator, and Kitware.VTK.vtkPolyDataContourLineInterpolator.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkContourLineInterpolator.UpdateNode ( vtkRenderer  arg0,
vtkContourRepresentation  arg1,
IntPtr  arg2,
int  arg3 
) [virtual]

The interpolator is given a chance to update the node. For instance, the vtkImageContourLineInterpolator updates the idx'th node in the contour, so it automatically sticks to edges in the vicinity as the user constructs the contour. Returns 0 if the node (world position) is unchanged.

Reimplemented in Kitware.VTK.vtkTerrainContourLineInterpolator, Kitware.VTK.vtkPolygonalSurfaceContourLineInterpolator, and Kitware.VTK.vtkPolyDataContourLineInterpolator.

static internal void Kitware.VTK.vtkContourLineInterpolator.vtkContourLineInterpolator_GetSpan_01 ( HandleRef  pThis,
int  nodeIndex,
HandleRef  nodeIndices,
HandleRef  rep 
) [private]
static internal int Kitware.VTK.vtkContourLineInterpolator.vtkContourLineInterpolator_InterpolateLine_02 ( HandleRef  pThis,
HandleRef  ren,
HandleRef  rep,
int  idx1,
int  idx2 
) [private]
static internal int Kitware.VTK.vtkContourLineInterpolator.vtkContourLineInterpolator_IsA_03 ( HandleRef  pThis,
string  type 
) [private]
static internal IntPtr Kitware.VTK.vtkContourLineInterpolator.vtkContourLineInterpolator_NewInstance_05 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkContourLineInterpolator.vtkContourLineInterpolator_SafeDownCast_06 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkContourLineInterpolator.vtkContourLineInterpolator_UpdateNode_07 ( HandleRef  pThis,
HandleRef  arg0,
HandleRef  arg1,
IntPtr  arg2,
int  arg3 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkContourLineInterpolator.MRClassNameKey = "26vtkContourLineInterpolator" [static]
new const string Kitware.VTK.vtkContourLineInterpolator.MRFullTypeName = "Kitware.VTK.vtkContourLineInterpolator"

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