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 -------------------------------------------------------------------------*/
33 #ifndef vtkGeoAlignedImageRepresentation_h
34 #define vtkGeoAlignedImageRepresentation_h
35 
36 #include "vtkGeovisCoreModule.h" // For export macro
37 #include "vtkDataRepresentation.h"
38 
39 class vtkGeoImageNode;
40 class vtkGeoSource;
42 
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
52  virtual vtkGeoImageNode* GetBestImageForBounds(double bounds[4]);
53 
55 
58  { return this->GeoSource; }
59  virtual void SetSource(vtkGeoSource* source);
61 
66  void SaveDatabase(const char* path);
67 
68 protected:
71 
73 
74  void SetGeoSource(vtkGeoSource* source);
77 
80 
82  void Initialize();
83 
85  void PrintTree(ostream& os, vtkIndent indent, vtkGeoImageNode* root);
86 
88 
89 private:
91  void operator=(const vtkGeoAlignedImageRepresentation&); // Not implemented
92 };
93 
94 #endif
A node in a multi-resolution image tree.
A multi-resolution geographic data source.
Definition: vtkGeoSource.h:56
a simple class to control print indentation
Definition: vtkIndent.h:38
The superclass for all representations.
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKGEOVISCORE_EXPORT
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
static vtkDataRepresentation * New()
Manages a list of vtkGeoTreeNodes.