Section: Visualization Toolkit Widget Classes
To create an instance of class vtkDijkstraImageContourLineInterpolator, simply invoke its constructor as follows
obj = vtkDijkstraImageContourLineInterpolator
obj
is an instance of the vtkDijkstraImageContourLineInterpolator class.
string = obj.GetClassName ()
- Standard methods for instances of this class.
int = obj.IsA (string name)
- Standard methods for instances of this class.
vtkDijkstraImageContourLineInterpolator = obj.NewInstance ()
- Standard methods for instances of this class.
vtkDijkstraImageContourLineInterpolator = obj.SafeDownCast (vtkObject o)
- Standard methods for instances of this class.
int = obj.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.
obj.SetCostImage (vtkImageData )
- Set the image data for the vtkDijkstraImageGeodesicPath.
If not set, the interpolator uses the image data input to the image actor.
The image actor is obtained from the expected vtkImageActorPointPlacer.
vtkImageData = obj.GetCostImage ()
- Set the image data for the vtkDijkstraImageGeodesicPath.
If not set, the interpolator uses the image data input to the image actor.
The image actor is obtained from the expected vtkImageActorPointPlacer.
vtkDijkstraImageGeodesicPath = obj.GetDijkstraImageGeodesicPath ()
- access to the internal dijkstra path