VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Interaction
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 "vtkInteractionWidgetsModule.h"
// For export macro
46
#include "
vtkPolyDataContourLineInterpolator.h
"
47
48
class
vtkDijkstraGraphGeodesicPath
;
49
class
vtkIdList
;
50
51
class
VTKINTERACTIONWIDGETS_EXPORT
vtkPolygonalSurfaceContourLineInterpolator
:
public
vtkPolyDataContourLineInterpolator
52
{
53
public
:
55
56
vtkTypeMacro(
vtkPolygonalSurfaceContourLineInterpolator
,
vtkPolyDataContourLineInterpolator
);
57
void
PrintSelf
(ostream& os,
vtkIndent
indent);
59
60
static
vtkPolygonalSurfaceContourLineInterpolator
*
New
();
61
63
67
virtual
int
InterpolateLine
(
vtkRenderer
*ren,
68
vtkContourRepresentation
*rep,
69
int
idx1,
int
idx2 );
71
73
78
virtual
int
UpdateNode
(
vtkRenderer
*,
79
vtkContourRepresentation
*,
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
:
97
vtkPolygonalSurfaceContourLineInterpolator
();
98
~
vtkPolygonalSurfaceContourLineInterpolator
();
99
102
double
DistanceOffset
;
103
104
private
:
105
vtkPolygonalSurfaceContourLineInterpolator
(
const
vtkPolygonalSurfaceContourLineInterpolator
&);
//Not implemented
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
Generated on Thu May 24 2012 22:22:28 for VTK by
1.8.1