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 class VTKGEOVISCORE_EXPORT vtkGeoProjectionSource : public vtkGeoSource
42 {
43 public:
44  static vtkGeoProjectionSource *New();
46  void PrintSelf( ostream& os, vtkIndent indent ) VTK_OVERRIDE;
47 
49  ~vtkGeoProjectionSource() VTK_OVERRIDE;
50 
52 
55  bool FetchRoot(vtkGeoTreeNode* root) VTK_OVERRIDE;
56  bool FetchChild(vtkGeoTreeNode* node, int index, vtkGeoTreeNode* child) VTK_OVERRIDE;
58 
60 
63  vtkGetMacro(Projection, int);
64  virtual void SetProjection(int projection);
66 
68 
71  vtkGetMacro(MinCellsPerNode, int);
72  vtkSetMacro(MinCellsPerNode, int);
74 
78  vtkAbstractTransform* GetTransform() VTK_OVERRIDE;
79 
80 protected:
81  void RefineAndComputeError(vtkGeoTerrainNode* node);
82 
83  int Projection;
84  int MinCellsPerNode;
85  virtual void SetTransform(vtkAbstractTransform* transform);
86  vtkMutexLock* TransformLock;
88 
89 private:
90  vtkGeoProjectionSource(const vtkGeoProjectionSource&) VTK_DELETE_FUNCTION;
91  void operator=(const vtkGeoProjectionSource&) VTK_DELETE_FUNCTION;
92 };
93 
94 #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:54
a simple class to control print indentation
Definition: vtkIndent.h:33
superclass for all geometric transformations
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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...
mutual exclusion locking class
Definition: vtkMutexLock.h:84
A 2D geographic geometry source.
Transform
Definition: ADIOSDefs.h:39