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 class vtkIdList;
49 
51 {
52 public:
54 
56  void PrintSelf(ostream& os, vtkIndent indent);
58 
60 
62 
66  virtual int InterpolateLine( vtkRenderer *ren,
68  int idx1, int idx2 );
70 
72 
77  virtual int UpdateNode( vtkRenderer *,
79  double * vtkNotUsed(node), int vtkNotUsed(idx) );
81 
83 
87  vtkSetMacro( DistanceOffset, double );
88  vtkGetMacro( DistanceOffset, double );
90 
93  void GetContourPointIds( vtkContourRepresentation *rep, vtkIdList *idList );
94 
95 protected:
98 
102 
103 private:
105  void operator=(const vtkPolygonalSurfaceContourLineInterpolator&); //Not implemented
106 
107  // Cache the last used vertex id's (start and end).
108  // If they are the same, don't recompute.
109  vtkIdType LastInterpolatedVertexIds[2];
110 
111  vtkDijkstraGraphGeodesicPath* DijkstraGraphGeodesicPath;
112 };
113 
114 #endif