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
49
class
VTK_WIDGETS_EXPORT
vtkPolygonalSurfaceContourLineInterpolator
:
public
vtkPolyDataContourLineInterpolator
50
{
51
public
:
53
54
vtkTypeMacro(
vtkPolygonalSurfaceContourLineInterpolator
,
vtkPolyDataContourLineInterpolator
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
57
58
static
vtkPolygonalSurfaceContourLineInterpolator
*
New
();
59
61
65
virtual
int
InterpolateLine
(
vtkRenderer
*ren,
66
vtkContourRepresentation
*rep,
67
int
idx1,
int
idx2 );
69
71
76
virtual
int
UpdateNode
(
vtkRenderer
*,
77
vtkContourRepresentation
*,
78
double
* vtkNotUsed(node),
int
vtkNotUsed(idx) );
80
82
86
vtkSetMacro( DistanceOffset,
double
);
87
vtkGetMacro( DistanceOffset,
double
);
89
90
protected
:
91
vtkPolygonalSurfaceContourLineInterpolator
();
92
~
vtkPolygonalSurfaceContourLineInterpolator
();
93
96
double
DistanceOffset
;
97
98
private
:
99
vtkPolygonalSurfaceContourLineInterpolator
(
const
vtkPolygonalSurfaceContourLineInterpolator
&);
//Not implemented
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
Generated on Sun Sep 9 2012 13:03:50 for VTK by
1.8.1.2