vtkDijkstraImageContourLineInterpolator

Section: Visualization Toolkit Widget Classes

Usage

vtkDijkstraImageContourLineInterpolator interpolates and places contour points on images. The class interpolates nodes by computing a graph lying on the image data. By graph, we mean that the line interpolating the two end points traverses along pixels so as to form a shortest path. A Dijkstra algorithm is used to compute the path. The class is meant to be used in conjunction with vtkImageActorPointPlacer. One reason for this coupling is a performance issue: both classes need to perform a cell pick, and coupling avoids multiple cell picks (cell picks are slow). Another issue is that the interpolator may need to set the image input to its vtkDijkstraImageGeodesicPath ivar.

To create an instance of class vtkDijkstraImageContourLineInterpolator, simply invoke its constructor as follows

  obj = vtkDijkstraImageContourLineInterpolator

Methods

The class vtkDijkstraImageContourLineInterpolator has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkDijkstraImageContourLineInterpolator class.