VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Interaction
Widgets
vtkTerrainContourLineInterpolator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTerrainContourLineInterpolator.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
=========================================================================*/
43
#ifndef __vtkTerrainContourLineInterpolator_h
44
#define __vtkTerrainContourLineInterpolator_h
45
46
#include "vtkInteractionWidgetsModule.h"
// For export macro
47
#include "
vtkContourLineInterpolator.h
"
48
49
class
vtkImageData
;
50
class
vtkProjectedTerrainPath
;
51
52
class
VTKINTERACTIONWIDGETS_EXPORT
vtkTerrainContourLineInterpolator
53
:
public
vtkContourLineInterpolator
54
{
55
public
:
57
static
vtkTerrainContourLineInterpolator
*
New
();
58
60
61
vtkTypeMacro(
vtkTerrainContourLineInterpolator
,
62
vtkContourLineInterpolator
);
63
void
PrintSelf
(ostream& os,
vtkIndent
indent);
65
67
72
virtual
int
InterpolateLine
(
vtkRenderer
*ren,
73
vtkContourRepresentation
*rep,
74
int
idx1,
int
idx2 );
76
78
81
virtual
int
UpdateNode
(
vtkRenderer
*,
82
vtkContourRepresentation
*,
83
double
* vtkNotUsed(node),
int
vtkNotUsed(idx) );
85
87
89
virtual
void
SetImageData(
vtkImageData
*);
90
vtkGetObjectMacro(ImageData,
vtkImageData
);
92
94
98
vtkGetObjectMacro(Projector,
vtkProjectedTerrainPath
);
100
101
protected
:
102
vtkTerrainContourLineInterpolator
();
103
~
vtkTerrainContourLineInterpolator
();
104
105
vtkImageData
*
ImageData
;
// height field data
106
vtkProjectedTerrainPath
*
Projector
;
107
108
private
:
109
vtkTerrainContourLineInterpolator
(
const
vtkTerrainContourLineInterpolator
&);
//Not implemented
110
void
operator=(
const
vtkTerrainContourLineInterpolator
&);
//Not implemented
111
};
112
113
#endif
Generated on Thu May 24 2012 22:22:28 for VTK by
1.8.1