VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Geovis
vtkGeoAlignedImageRepresentation.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGeoAlignedImageRepresentation.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
#ifndef __vtkGeoAlignedImageRepresentation_h
34
#define __vtkGeoAlignedImageRepresentation_h
35
36
#include "
vtkDataRepresentation.h
"
37
38
class
vtkGeoImageNode
;
39
class
vtkGeoSource
;
40
class
vtkGeoTreeNodeCache
;
41
42
class
VTK_GEOVIS_EXPORT
vtkGeoAlignedImageRepresentation
:
public
vtkDataRepresentation
43
{
44
public
:
45
static
vtkGeoAlignedImageRepresentation
*
New
();
46
vtkTypeMacro(
vtkGeoAlignedImageRepresentation
,
vtkDataRepresentation
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent);
48
51
virtual
vtkGeoImageNode
* GetBestImageForBounds(
double
bounds[4]);
52
54
56
virtual
vtkGeoSource
* GetSource()
57
{
return
this->GeoSource; }
58
virtual
void
SetSource(
vtkGeoSource
*
source
);
60
65
void
SaveDatabase(
const
char
* path);
66
67
protected
:
68
vtkGeoAlignedImageRepresentation
();
69
~
vtkGeoAlignedImageRepresentation
();
70
72
73
void
SetGeoSource(
vtkGeoSource
*
source
);
74
vtkGeoSource
*
GeoSource
;
76
78
vtkGeoImageNode
*
Root
;
79
81
void
Initialize();
82
84
void
PrintTree(ostream& os,
vtkIndent
indent,
vtkGeoImageNode
* root);
85
86
vtkGeoTreeNodeCache
*
Cache
;
87
88
private
:
89
vtkGeoAlignedImageRepresentation
(
const
vtkGeoAlignedImageRepresentation
&);
// Not implemented
90
void
operator=(
const
vtkGeoAlignedImageRepresentation
&);
// Not implemented
91
};
92
93
#endif
Generated on Wed May 30 2012 13:21:58 for VTK by
1.8.1