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 class VTKGEOVISCORE_EXPORT vtkGeoAlignedImageRepresentation : public vtkDataRepresentation
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
52  virtual vtkGeoImageNode* GetBestImageForBounds(double bounds[4]);
53 
59  { return this->GeoSource; }
60  virtual void SetSource(vtkGeoSource* source);
61 
69  void SaveDatabase(const char* path);
70 
71 protected:
74 
76 
79  void SetGeoSource(vtkGeoSource* source);
82 
87 
91  void Initialize();
92 
96  void PrintTree(ostream& os, vtkIndent indent, vtkGeoImageNode* root);
97 
99 
100 private:
102  void operator=(const vtkGeoAlignedImageRepresentation&) = delete;
103 };
104 
105 #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:54
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:33
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.