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
38 #include "vtkDataRepresentation.h"
39 
40 class vtkGeoImageNode;
41 class vtkGeoSource;
43 
44 class VTKGEOVISCORE_EXPORT vtkGeoAlignedImageRepresentation : public vtkDataRepresentation
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
55  virtual vtkGeoImageNode* GetBestImageForBounds(double bounds[4]);
56 
62  { return this->GeoSource; }
63  virtual void SetSource(vtkGeoSource* source);
64 
72  void SaveDatabase(const char* path);
73 
74 protected:
77 
79 
82  void SetGeoSource(vtkGeoSource* source);
85 
90 
94  void Initialize();
95 
99  void PrintTree(ostream& os, vtkIndent indent, vtkGeoImageNode* root);
100 
102 
103 private:
105  void operator=(const vtkGeoAlignedImageRepresentation&) VTK_DELETE_FUNCTION;
106 };
107 
108 #endif
vtkGeoSource * GeoSource
The source for creating image nodes.
A node in a multi-resolution image tree.
A multi-resolution geographic data source.
Definition: vtkGeoSource.h:57
virtual vtkGeoSource * GetSource()
The source for this representation.
a simple class to control print indentation
Definition: vtkIndent.h:39
The superclass for all representations.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
static vtkDataRepresentation * New()
Manages a list of vtkGeoTreeNodes.
vtkGeoImageNode * Root
The root of the image tree.