VTK
vtkDijkstraImageContourLineInterpolator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDijkstraImageContourLineInterpolator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
38 #ifndef vtkDijkstraImageContourLineInterpolator_h
39 #define vtkDijkstraImageContourLineInterpolator_h
40 
41 #include "vtkInteractionWidgetsModule.h" // For export macro
43 
45 class vtkImageData;
46 
47 class VTKINTERACTIONWIDGETS_EXPORT vtkDijkstraImageContourLineInterpolator
49 {
50 public:
52 
57  void PrintSelf(ostream& os, vtkIndent indent) override;
59 
61 
67  int InterpolateLine( vtkRenderer *ren,
69  int idx1, int idx2 ) override;
70 
72 
77  virtual void SetCostImage( vtkImageData* );
78  vtkGetObjectMacro( CostImage, vtkImageData );
80 
82 
85  vtkGetObjectMacro( DijkstraImageGeodesicPath, vtkDijkstraImageGeodesicPath );
87 
88 protected:
91 
94 
95 private:
98  void operator=(const
100 };
101 
102 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
abstract specification for renderers
Definition: vtkRenderer.h:57
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:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
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.