VTK
vtkGeoProjectionSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoProjectionSource.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 vtkGeoProjectionSource_h
32 #define vtkGeoProjectionSource_h
33 
34 #include "vtkGeovisCoreModule.h" // For export macro
35 #include "vtkGeoSource.h"
36 
38 class vtkGeoTerrainNode;
39 class vtkMutexLock;
40 
41 #if !defined(VTK_LEGACY_REMOVE)
42 class VTKGEOVISCORE_EXPORT vtkGeoProjectionSource : public vtkGeoSource
43 {
44 public:
45  static vtkGeoProjectionSource *New();
47  void PrintSelf( ostream& os, vtkIndent indent ) override;
48 
50  ~vtkGeoProjectionSource() override;
51 
53 
56  bool FetchRoot(vtkGeoTreeNode* root) override;
57  bool FetchChild(vtkGeoTreeNode* node, int index, vtkGeoTreeNode* child) override;
59 
61 
64  vtkGetMacro(Projection, int);
65  virtual void SetProjection(int projection);
67 
69 
72  vtkGetMacro(MinCellsPerNode, int);
73  vtkSetMacro(MinCellsPerNode, int);
75 
80 
81 protected:
82  void RefineAndComputeError(vtkGeoTerrainNode* node);
83 
86  virtual void SetTransform(vtkAbstractTransform* transform);
89 
90 private:
92  void operator=(const vtkGeoProjectionSource&) = delete;
93 };
94 
95 #endif //VTK_LEGACY_REMOVE
96 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkAbstractTransform * GetTransform()
Return the projection transformation used by this source.
Definition: vtkGeoSource.h:100
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
superclass for all geometric transformations
Stores data for a patch of the globe.
vtkAbstractTransform * Transform
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
mutual exclusion locking class
Definition: vtkMutexLock.h:80
virtual bool FetchRoot(vtkGeoTreeNode *root)=0
Blocking access methods to be implemented in subclasses.
A 2D geographic geometry source.