VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Widgets
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 "
vtkPolyDataContourLineInterpolator.h
"
46
47
class
vtkDijkstraGraphGeodesicPath
;
48
class
vtkIdList
;
49
50
class
VTK_WIDGETS_EXPORT
vtkPolygonalSurfaceContourLineInterpolator
:
public
vtkPolyDataContourLineInterpolator
51
{
52
public
:
54
55
vtkTypeMacro(
vtkPolygonalSurfaceContourLineInterpolator
,
vtkPolyDataContourLineInterpolator
);
56
void
PrintSelf
(ostream& os,
vtkIndent
indent);
58
59
static
vtkPolygonalSurfaceContourLineInterpolator
*
New
();
60
62
66
virtual
int
InterpolateLine
(
vtkRenderer
*ren,
67
vtkContourRepresentation
*rep,
68
int
idx1,
int
idx2 );
70
72
77
virtual
int
UpdateNode
(
vtkRenderer
*,
78
vtkContourRepresentation
*,
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
:
96
vtkPolygonalSurfaceContourLineInterpolator
();
97
~
vtkPolygonalSurfaceContourLineInterpolator
();
98
101
double
DistanceOffset
;
102
103
private
:
104
vtkPolygonalSurfaceContourLineInterpolator
(
const
vtkPolygonalSurfaceContourLineInterpolator
&);
//Not implemented
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
Generated on Tue Jan 8 2013 05:45:41 for VTK by
1.8.1.2