VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Geovis
vtkGeoTerrain2D.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGeoTerrain2D.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
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
35
#ifndef __vtkGeoTerrain2D_h
36
#define __vtkGeoTerrain2D_h
37
38
#include "
vtkGeoTerrain.h
"
39
40
class
vtkAbstractTransform
;
41
class
vtkAssembly
;
42
class
vtkCollection
;
43
class
vtkGeoImageRepresentation;
44
class
vtkGeoSource
;
45
class
vtkGeoTerrainNode
;
46
class
vtkRenderer
;
47
48
class
VTK_GEOVIS_EXPORT
vtkGeoTerrain2D
:
public
vtkGeoTerrain
49
{
50
public
:
51
static
vtkGeoTerrain2D
*
New
();
52
vtkTypeMacro(
vtkGeoTerrain2D
,
vtkGeoTerrain
);
53
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
54
56
58
vtkSetMacro(TextureTolerance,
double
);
59
vtkGetMacro(TextureTolerance,
double
);
61
63
65
vtkSetMacro(LocationTolerance,
double
);
66
vtkGetMacro(LocationTolerance,
double
);
68
70
virtual
vtkAbstractTransform
* GetTransform();
71
72
protected
:
73
vtkGeoTerrain2D
();
74
~
vtkGeoTerrain2D
();
75
76
double
LocationTolerance
;
77
double
TextureTolerance
;
78
80
virtual
void
InitializeNodeAnalysis
(
vtkRenderer
* ren);
81
84
virtual
bool
NodeInViewport
(
vtkGeoTerrainNode
* node);
85
88
virtual
int
EvaluateNode
(
vtkGeoTerrainNode
* node);
89
90
double
CameraBounds[4];
91
double
PixelSize
;
92
93
private
:
94
vtkGeoTerrain2D
(
const
vtkGeoTerrain2D
&);
// Not implemented
95
void
operator=(
const
vtkGeoTerrain2D
&);
// Not implemented
96
};
97
98
#endif
Generated on Wed Nov 21 2012 21:33:47 for VTK by
1.8.2