VTK  9.0.20201030
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 
42 #include "vtkInteractionWidgetsModule.h" // For export macro
43 
45 class vtkImageData;
46 
47 class VTKINTERACTIONWIDGETS_EXPORT vtkDijkstraImageContourLineInterpolator
49 {
50 public:
52 
56  void PrintSelf(ostream& os, vtkIndent indent) override;
58 
60 
66  int InterpolateLine(vtkRenderer* ren, vtkContourRepresentation* rep, int idx1, int idx2) override;
67 
69 
74  virtual void SetCostImage(vtkImageData*);
75  vtkGetObjectMacro(CostImage, vtkImageData);
77 
79 
82  vtkGetObjectMacro(DijkstraImageGeodesicPath, vtkDijkstraImageGeodesicPath);
84 
85 protected:
88 
91 
92 private:
94  void operator=(const vtkDijkstraImageContourLineInterpolator&) = delete;
95 };
96 
97 #endif
vtkDijkstraImageContourLineInterpolator::DijkstraImageGeodesicPath
vtkDijkstraImageGeodesicPath * DijkstraImageGeodesicPath
Definition: vtkDijkstraImageContourLineInterpolator.h:90
vtkContourLineInterpolator
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
Definition: vtkContourLineInterpolator.h:42
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkContourRepresentation
represent the vtkContourWidget
Definition: vtkContourRepresentation.h:117
vtkDijkstraImageContourLineInterpolator
Contour interpolator for placing points on an image.
Definition: vtkDijkstraImageContourLineInterpolator.h:47
vtkDijkstraImageGeodesicPath
Dijkstra algorithm to compute the graph geodesic.
Definition: vtkDijkstraImageGeodesicPath.h:58
vtkContourLineInterpolator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:47
vtkDijkstraImageContourLineInterpolator::CostImage
vtkImageData * CostImage
Definition: vtkDijkstraImageContourLineInterpolator.h:89
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:67
vtkContourLineInterpolator::InterpolateLine
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
Subclasses that wish to interpolate a line segment must implement this.
vtkContourLineInterpolator.h