VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Geovis
Core
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 "vtkGeovisCoreModule.h"
// For export macro
34
#include "
vtkGeoSource.h
"
35
36
class
vtkAbstractTransform
;
37
class
vtkGeoTerrainNode
;
38
class
vtkMutexLock
;
39
40
class
VTKGEOVISCORE_EXPORT
vtkGeoProjectionSource
:
public
vtkGeoSource
41
{
42
public
:
43
static
vtkGeoProjectionSource
*
New
();
44
vtkTypeMacro(
vtkGeoProjectionSource
,
vtkGeoSource
);
45
virtual
void
PrintSelf
( ostream& os,
vtkIndent
indent );
46
47
vtkGeoProjectionSource
();
48
~
vtkGeoProjectionSource
();
49
51
52
virtual
bool
FetchRoot
(
vtkGeoTreeNode
* root);
53
virtual
bool
FetchChild
(
vtkGeoTreeNode
* node,
int
index
,
vtkGeoTreeNode
* child);
55
57
58
vtkGetMacro(Projection,
int
);
59
virtual
void
SetProjection(
int
projection);
61
63
64
vtkGetMacro(MinCellsPerNode,
int
);
65
vtkSetMacro(MinCellsPerNode,
int
);
67
69
virtual
vtkAbstractTransform
*
GetTransform
();
70
71
protected
:
72
void
RefineAndComputeError(
vtkGeoTerrainNode
* node);
73
74
int
Projection
;
75
int
MinCellsPerNode
;
76
virtual
void
SetTransform(
vtkAbstractTransform
* transform);
77
vtkMutexLock
*
TransformLock
;
78
vtkAbstractTransform
*
Transform
;
79
80
private
:
81
vtkGeoProjectionSource
(
const
vtkGeoProjectionSource
&);
// Not implemented
82
void
operator=(
const
vtkGeoProjectionSource
&);
// Not implemented
83
};
84
Generated on Thu May 24 2012 22:22:23 for VTK by
1.8.1