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 =========================================================================*/
40 #ifndef vtkDijkstraImageContourLineInterpolator_h
41 #define vtkDijkstraImageContourLineInterpolator_h
42 
43 #include "vtkInteractionWidgetsModule.h" // For export macro
45 
47 class vtkImageData;
48 
51 {
52 public:
54 
57  void PrintSelf(ostream& os, vtkIndent indent);
59 
61 
63 
67  virtual int InterpolateLine( vtkRenderer *ren,
69  int idx1, int idx2 );
71 
73 
76  virtual void SetCostImage( vtkImageData* );
77  vtkGetObjectMacro( CostImage, vtkImageData );
79 
81 
82  vtkGetObjectMacro( DijkstraImageGeodesicPath, vtkDijkstraImageGeodesicPath );
84 
85 protected:
88 
91 
92 private:
94  const vtkDijkstraImageContourLineInterpolator&); //Not implemented
95  void operator=(const
96  vtkDijkstraImageContourLineInterpolator&); //Not implemented
97 };
98 
99 #endif
abstract specification for renderers
Definition: vtkRenderer.h:62
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
represent the vtkContourWidget
Contour interpolator for placing points on an image.
#define VTKINTERACTIONWIDGETS_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()
Dijkstra algorithm to compute the graph geodesic.