VTK
vtkPolygonalSurfaceContourLineInterpolator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolygonalSurfaceContourLineInterpolator.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 =========================================================================*/
42 #ifndef vtkPolygonalSurfaceContourLineInterpolator_h
43 #define vtkPolygonalSurfaceContourLineInterpolator_h
44 
45 #include "vtkInteractionWidgetsModule.h" // For export macro
47 
49 class vtkIdList;
50 
52 {
53 public:
55 
57  void PrintSelf(ostream& os, vtkIndent indent);
59 
61 
63 
67  virtual int InterpolateLine( vtkRenderer *ren,
69  int idx1, int idx2 );
71 
73 
78  virtual int UpdateNode( vtkRenderer *,
80  double * vtkNotUsed(node), int vtkNotUsed(idx) );
82 
84 
88  vtkSetMacro( DistanceOffset, double );
89  vtkGetMacro( DistanceOffset, double );
91 
94  void GetContourPointIds( vtkContourRepresentation *rep, vtkIdList *idList );
95 
96 protected:
99 
103 
104 private:
106  void operator=(const vtkPolygonalSurfaceContourLineInterpolator&); //Not implemented
107 
108  // Cache the last used vertex id's (start and end).
109  // If they are the same, don't recompute.
110  vtkIdType LastInterpolatedVertexIds[2];
111 
112  vtkDijkstraGraphGeodesicPath* DijkstraGraphGeodesicPath;
113 };
114 
115 #endif
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
void PrintSelf(ostream &os, vtkIndent indent)
Contour interpolator for to place points on polygonal surfaces.
abstract specification for renderers
Definition: vtkRenderer.h:62
int vtkIdType
Definition: vtkType.h:247
represent the vtkContourWidget
Dijkstra algorithm to compute the graph geodesic.
virtual int UpdateNode(vtkRenderer *, vtkContourRepresentation *, double *vtkNotUsed(node), int vtkNotUsed(idx))=0
#define VTKINTERACTIONWIDGETS_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
list of point or cell ids
Definition: vtkIdList.h:35
Contour interpolator for polygonal data.
static vtkObject * New()