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 
46 
48 
50 {
51 public:
53 
55  void PrintSelf(ostream& os, vtkIndent indent);
57 
59 
61 
65  virtual int InterpolateLine( vtkRenderer *ren,
67  int idx1, int idx2 );
69 
71 
76  virtual int UpdateNode( vtkRenderer *,
78  double * vtkNotUsed(node), int vtkNotUsed(idx) );
80 
82 
86  vtkSetMacro( DistanceOffset, double );
87  vtkGetMacro( DistanceOffset, double );
89 
90 protected:
93 
97 
98 private:
100  void operator=(const vtkPolygonalSurfaceContourLineInterpolator&); //Not implemented
101 
102  // Cache the last used vertex id's (start and end).
103  // If they are the same, don't recompute.
104  vtkIdType LastInterpolatedVertexIds[2];
105 
106  vtkDijkstraGraphGeodesicPath* DijkstraGraphGeodesicPath;
107 };
108 
109 #endif