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 "vtkDataRepresentation.h"
37 
38 class vtkGeoImageNode;
39 class vtkGeoSource;
41 
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
51  virtual vtkGeoImageNode* GetBestImageForBounds(double bounds[4]);
52 
54 
56  virtual vtkGeoSource* GetSource()
57  { return this->GeoSource; }
58  virtual void SetSource(vtkGeoSource* source);
60 
65  void SaveDatabase(const char* path);
66 
67 protected:
70 
72 
73  void SetGeoSource(vtkGeoSource* source);
76 
79 
81  void Initialize();
82 
84  void PrintTree(ostream& os, vtkIndent indent, vtkGeoImageNode* root);
85 
87 
88 private:
90  void operator=(const vtkGeoAlignedImageRepresentation&); // Not implemented
91 };
92 
93 #endif