VTK
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-------------------------------------------------------------------------*/
34#ifndef vtkGeoAlignedImageRepresentation_h
35#define vtkGeoAlignedImageRepresentation_h
36
37#include "vtkGeovisCoreModule.h" // For export macro
39
40class vtkGeoImageNode;
41class vtkGeoSource;
43
45{
46public:
49 void PrintSelf(ostream& os, vtkIndent indent);
50
55 virtual vtkGeoImageNode* GetBestImageForBounds(double bounds[4]);
56
62 { return this->GeoSource; }
64
72 void SaveDatabase(const char* path);
73
74protected:
77
79
85
90
94 void Initialize();
95
99 void PrintTree(ostream& os, vtkIndent indent, vtkGeoImageNode* root);
100
102
103private:
105 void operator=(const vtkGeoAlignedImageRepresentation&) VTK_DELETE_FUNCTION;
106};
107
108#endif
The superclass for all representations.
static vtkGeoAlignedImageRepresentation * New()
virtual void SetSource(vtkGeoSource *source)
vtkGeoImageNode * Root
The root of the image tree.
void Initialize()
Initialize the representation with the current source.
virtual vtkGeoSource * GetSource()
The source for this representation.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual vtkGeoImageNode * GetBestImageForBounds(double bounds[4])
Retrieve the most refined image patch that covers the specified latitude and longitude bounds (lat-mi...
void SetGeoSource(vtkGeoSource *source)
The source for creating image nodes.
void PrintTree(ostream &os, vtkIndent indent, vtkGeoImageNode *root)
Print information about the image tree.
void SaveDatabase(const char *path)
Serialize the database to the specified directory.
A node in a multi-resolution image tree.
A multi-resolution geographic data source.
Definition: vtkGeoSource.h:58
Manages a list of vtkGeoTreeNodes.
a simple class to control print indentation
Definition: vtkIndent.h:40
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)