• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Geovis/vtkGeoAlignedImageRepresentation.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkGeoAlignedImageRepresentation.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 /*-------------------------------------------------------------------------
00016   Copyright 2008 Sandia Corporation.
00017   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018   the U.S. Government retains certain rights in this software.
00019 -------------------------------------------------------------------------*/
00033 #ifndef __vtkGeoAlignedImageRepresentation_h
00034 #define __vtkGeoAlignedImageRepresentation_h
00035 
00036 #include "vtkDataRepresentation.h"
00037 
00038 class vtkGeoImageNode;
00039 class vtkGeoSource;
00040 
00041 class VTK_GEOVIS_EXPORT vtkGeoAlignedImageRepresentation : public vtkDataRepresentation
00042 {
00043 public:
00044   static vtkGeoAlignedImageRepresentation *New();
00045   vtkTypeRevisionMacro(vtkGeoAlignedImageRepresentation,vtkDataRepresentation);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00050   virtual vtkGeoImageNode* GetBestImageForBounds(double bounds[4]);
00051 
00053 
00055   virtual vtkGeoSource* GetSource()
00056     { return this->GeoSource; }
00057   virtual void SetSource(vtkGeoSource* source);
00059 
00064   void SaveDatabase(const char* path);
00065 
00066 protected:
00067   vtkGeoAlignedImageRepresentation();
00068   ~vtkGeoAlignedImageRepresentation();
00069 
00071 
00072   void SetGeoSource(vtkGeoSource* source);
00073   vtkGeoSource* GeoSource;
00075 
00077   vtkGeoImageNode* Root;
00078 
00080   void Initialize();
00081 
00083   void PrintTree(ostream& os, vtkIndent indent, vtkGeoImageNode* root);
00084 
00085 private:
00086   vtkGeoAlignedImageRepresentation(const vtkGeoAlignedImageRepresentation&); // Not implemented
00087   void operator=(const vtkGeoAlignedImageRepresentation&); // Not implemented
00088 };
00089 
00090 #endif

Generated by  doxygen 1.7.1