VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
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 "
vtkContourLineInterpolator.h
"
47
48
class
vtkImageData
;
49
class
vtkProjectedTerrainPath
;
50
51
class
VTK_WIDGETS_EXPORT
vtkTerrainContourLineInterpolator
52
:
public
vtkContourLineInterpolator
53
{
54
public
:
56
static
vtkTerrainContourLineInterpolator
*
New
();
57
59
60
vtkTypeMacro(
vtkTerrainContourLineInterpolator
,
61
vtkContourLineInterpolator
);
62
void
PrintSelf
(ostream& os,
vtkIndent
indent);
64
66
71
virtual
int
InterpolateLine
(
vtkRenderer
*ren,
72
vtkContourRepresentation
*rep,
73
int
idx1,
int
idx2 );
75
77
80
virtual
int
UpdateNode
(
vtkRenderer
*,
81
vtkContourRepresentation
*,
82
double
* vtkNotUsed(node),
int
vtkNotUsed(idx) );
84
86
88
virtual
void
SetImageData(
vtkImageData
*);
89
vtkGetObjectMacro(ImageData,
vtkImageData
);
91
93
97
vtkGetObjectMacro(Projector,
vtkProjectedTerrainPath
);
99
100
protected
:
101
vtkTerrainContourLineInterpolator
();
102
~
vtkTerrainContourLineInterpolator
();
103
104
vtkImageData
*
ImageData
;
// height field data
105
vtkProjectedTerrainPath
*
Projector
;
106
107
private
:
108
vtkTerrainContourLineInterpolator
(
const
vtkTerrainContourLineInterpolator
&);
//Not implemented
109
void
operator=(
const
vtkTerrainContourLineInterpolator
&);
//Not implemented
110
};
111
112
#endif
Generated on Fri Aug 2 2013 12:20:04 for VTK by
1.8.4