VTK
vtkGeoFileImageSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoFileImageSource.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 vtkGeoFileImageSource_h
32 #define vtkGeoFileImageSource_h
33 
34 #include "vtkGeovisCoreModule.h" // For export macro
35 #include "vtkGeoSource.h"
36 #include "vtkSmartPointer.h" // For smart pointer ivars
37 
38 class vtkGeoImageNode;
39 class vtkGeoTreeNode;
40 
41 class VTKGEOVISCORE_EXPORT vtkGeoFileImageSource : public vtkGeoSource
42 {
43 public:
44  static vtkGeoFileImageSource *New();
46  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
47 
49  ~vtkGeoFileImageSource() VTK_OVERRIDE;
50 
54  bool FetchRoot(vtkGeoTreeNode* root) VTK_OVERRIDE;
55 
59  bool FetchChild(vtkGeoTreeNode* node, int index, vtkGeoTreeNode* child) VTK_OVERRIDE;
60 
62 
65  vtkSetStringMacro(Path);
66  vtkGetStringMacro(Path);
68 
69 protected:
70 
71  bool ReadImage(int level, int id, vtkGeoImageNode* node);
72 
73 private:
74  vtkGeoFileImageSource(const vtkGeoFileImageSource&) VTK_DELETE_FUNCTION;
75  void operator=(const vtkGeoFileImageSource&) VTK_DELETE_FUNCTION;
76 
77  char* Path;
78 };
79 
80 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A node in a multi-resolution image tree.
A multi-resolution geographic data source.
Definition: vtkGeoSource.h:54
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
A tiled image source on disk.
Stores data for a patch of the globe.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...