ActiViz .NET
5.8.0
|
vtkContourLineInterpolator - Defines API for interpolating/modifying nodes from a vtkContourRepresentation More...
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. |
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.
static Kitware.VTK.vtkContourLineInterpolator.vtkContourLineInterpolator | ( | ) | [static, private] |
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.
override void Kitware.VTK.vtkContourLineInterpolator.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.
Reimplemented in Kitware.VTK.vtkTerrainContourLineInterpolator, Kitware.VTK.vtkPolygonalSurfaceContourLineInterpolator, Kitware.VTK.vtkDijkstraImageContourLineInterpolator, Kitware.VTK.vtkBezierContourLineInterpolator, Kitware.VTK.vtkLinearContourLineInterpolator, and Kitware.VTK.vtkPolyDataContourLineInterpolator.
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] |
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.
Reimplemented in Kitware.VTK.vtkBezierContourLineInterpolator, Kitware.VTK.vtkTerrainContourLineInterpolator, Kitware.VTK.vtkDijkstraImageContourLineInterpolator, Kitware.VTK.vtkPolygonalSurfaceContourLineInterpolator, Kitware.VTK.vtkLinearContourLineInterpolator, and Kitware.VTK.vtkPolyDataContourLineInterpolator.
override int Kitware.VTK.vtkContourLineInterpolator.IsA | ( | string | type | ) | [virtual] |
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.
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.
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.
static new vtkContourLineInterpolator Kitware.VTK.vtkContourLineInterpolator.SafeDownCast | ( | vtkObjectBase | o | ) | [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.
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 int Kitware.VTK.vtkContourLineInterpolator.vtkContourLineInterpolator_IsTypeOf_04 | ( | 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] |
new readonly string Kitware.VTK.vtkContourLineInterpolator.MRClassNameKey = "26vtkContourLineInterpolator" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkTerrainContourLineInterpolator, Kitware.VTK.vtkPolygonalSurfaceContourLineInterpolator, Kitware.VTK.vtkDijkstraImageContourLineInterpolator, Kitware.VTK.vtkBezierContourLineInterpolator, Kitware.VTK.vtkLinearContourLineInterpolator, and Kitware.VTK.vtkPolyDataContourLineInterpolator.
new const string Kitware.VTK.vtkContourLineInterpolator.MRFullTypeName = "Kitware.VTK.vtkContourLineInterpolator" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkTerrainContourLineInterpolator, Kitware.VTK.vtkPolygonalSurfaceContourLineInterpolator, Kitware.VTK.vtkDijkstraImageContourLineInterpolator, Kitware.VTK.vtkBezierContourLineInterpolator, Kitware.VTK.vtkLinearContourLineInterpolator, and Kitware.VTK.vtkPolyDataContourLineInterpolator.