VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Geovis
vtkGeoProjectionSource.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGeoProjectionSource.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
-------------------------------------------------------------------------*/
33
#include "
vtkGeoSource.h
"
34
35
class
vtkAbstractTransform
;
36
class
vtkGeoTerrainNode
;
37
class
vtkMutexLock
;
38
39
class
VTK_GEOVIS_EXPORT
vtkGeoProjectionSource
:
public
vtkGeoSource
40
{
41
public
:
42
static
vtkGeoProjectionSource
*
New
();
43
vtkTypeMacro(
vtkGeoProjectionSource
,
vtkGeoSource
);
44
virtual
void
PrintSelf
( ostream& os,
vtkIndent
indent );
45
46
vtkGeoProjectionSource
();
47
~
vtkGeoProjectionSource
();
48
50
51
virtual
bool
FetchRoot
(
vtkGeoTreeNode
* root);
52
virtual
bool
FetchChild
(
vtkGeoTreeNode
* node,
int
index
,
vtkGeoTreeNode
* child);
54
56
57
vtkGetMacro(Projection,
int
);
58
virtual
void
SetProjection(
int
projection);
60
62
63
vtkGetMacro(MinCellsPerNode,
int
);
64
vtkSetMacro(MinCellsPerNode,
int
);
66
68
virtual
vtkAbstractTransform
*
GetTransform
();
69
70
protected
:
71
void
RefineAndComputeError(
vtkGeoTerrainNode
* node);
72
73
int
Projection
;
74
int
MinCellsPerNode
;
75
virtual
void
SetTransform(
vtkAbstractTransform
* transform);
76
vtkMutexLock
*
TransformLock
;
77
vtkAbstractTransform
*
Transform
;
78
79
private
:
80
vtkGeoProjectionSource
(
const
vtkGeoProjectionSource
&);
// Not implemented
81
void
operator=(
const
vtkGeoProjectionSource
&);
// Not implemented
82
};
83
Generated on Wed Nov 21 2012 21:33:47 for VTK by
1.8.2