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 -------------------------------------------------------------------------*/
31 #ifndef vtkGeoAlignedImageRepresentation_h
32 #define vtkGeoAlignedImageRepresentation_h
33 
34 #include "vtkGeovisCoreModule.h" // For export macro
35 #include "vtkDataRepresentation.h"
36 
37 class vtkGeoImageNode;
38 class vtkGeoSource;
40 
41 #if !defined(VTK_LEGACY_REMOVE)
42 class VTKGEOVISCORE_EXPORT vtkGeoAlignedImageRepresentation : public vtkDataRepresentation
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
53  virtual vtkGeoImageNode* GetBestImageForBounds(double bounds[4]);
54 
60  { return this->GeoSource; }
61  virtual void SetSource(vtkGeoSource* source);
62 
70  void SaveDatabase(const char* path);
71 
72 protected:
75 
77 
80  void SetGeoSource(vtkGeoSource* source);
83 
88 
92  void Initialize();
93 
97  void PrintTree(ostream& os, vtkIndent indent, vtkGeoImageNode* root);
98 
100 
101 private:
103  void operator=(const vtkGeoAlignedImageRepresentation&) = delete;
104 };
105 
106 #endif //VTK_LEGACY_REMOVE
107 #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:55
virtual vtkGeoSource * GetSource()
The source for this representation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
The superclass for all representations.
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.