VTK  9.3.1
vtkDijkstraImageContourLineInterpolator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
29 #ifndef vtkDijkstraImageContourLineInterpolator_h
30 #define vtkDijkstraImageContourLineInterpolator_h
31 
33 #include "vtkInteractionWidgetsModule.h" // For export macro
34 
35 VTK_ABI_NAMESPACE_BEGIN
37 class vtkImageData;
38 
39 class VTKINTERACTIONWIDGETS_EXPORT vtkDijkstraImageContourLineInterpolator
41 {
42 public:
44 
48  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
52 
58  int InterpolateLine(vtkRenderer* ren, vtkContourRepresentation* rep, int idx1, int idx2) override;
59 
61 
66  virtual void SetCostImage(vtkImageData*);
67  vtkGetObjectMacro(CostImage, vtkImageData);
69 
71 
74  vtkGetObjectMacro(DijkstraImageGeodesicPath, vtkDijkstraImageGeodesicPath);
76 
77 protected:
80 
83 
84 private:
86  void operator=(const vtkDijkstraImageContourLineInterpolator&) = delete;
87 };
88 
89 VTK_ABI_NAMESPACE_END
90 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
abstract specification for renderers
Definition: vtkRenderer.h:61
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
Subclasses that wish to interpolate a line segment must implement this.
represent the vtkContourWidget
Contour interpolator for placing points on an image.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Dijkstra algorithm to compute the graph geodesic.