VTK
vtkGeoGlobeSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoGlobeSource.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 -------------------------------------------------------------------------*/
29 #ifndef vtkGeoGlobeSource_h
30 #define vtkGeoGlobeSource_h
31 
32 #include "vtkGeovisCoreModule.h" // For export macro
33 #include "vtkGeoSource.h"
34 
35 class vtkGeoTerrainNode;
36 
37 #if !defined(VTK_LEGACY_REMOVE)
38 class VTKGEOVISCORE_EXPORT vtkGeoGlobeSource : public vtkGeoSource
39 {
40 public:
41  static vtkGeoGlobeSource *New();
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
48  bool FetchRoot(vtkGeoTreeNode* root) override;
49 
53  bool FetchChild(vtkGeoTreeNode* node, int index, vtkGeoTreeNode* child) override;
54 
55 protected:
57  ~vtkGeoGlobeSource() override;
58 
59 private:
60  vtkGeoGlobeSource(const vtkGeoGlobeSource&) = delete;
61  void operator=(const vtkGeoGlobeSource&) = delete;
62 };
63 
64 #endif //VTK_LEGACY_REMOVE
65 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A multi-resolution geographic data source.
Definition: vtkGeoSource.h:55
virtual bool FetchChild(vtkGeoTreeNode *node, int index, vtkGeoTreeNode *child)=0
Blocking access methods to be implemented in subclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
Spherical globe source.
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...
virtual bool FetchRoot(vtkGeoTreeNode *root)=0
Blocking access methods to be implemented in subclasses.