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 -------------------------------------------------------------------------*/
33 #ifndef vtkGeoProjectionSource_h
34 #define vtkGeoProjectionSource_h
35 
36 #include "vtkGeovisCoreModule.h" // For export macro
37 #include "vtkGeoSource.h"
38 
40 class vtkGeoTerrainNode;
41 class vtkMutexLock;
42 
44 {
45 public:
46  static vtkGeoProjectionSource *New();
48  virtual void PrintSelf( ostream& os, vtkIndent indent );
49 
52 
54 
55  virtual bool FetchRoot(vtkGeoTreeNode* root);
56  virtual bool FetchChild(vtkGeoTreeNode* node, int index, vtkGeoTreeNode* child);
58 
60 
61  vtkGetMacro(Projection, int);
62  virtual void SetProjection(int projection);
64 
66 
67  vtkGetMacro(MinCellsPerNode, int);
68  vtkSetMacro(MinCellsPerNode, int);
70 
73 
74 protected:
75  void RefineAndComputeError(vtkGeoTerrainNode* node);
76 
79  virtual void SetTransform(vtkAbstractTransform* transform);
82 
83 private:
84  vtkGeoProjectionSource(const vtkGeoProjectionSource&); // Not implemented
85  void operator=(const vtkGeoProjectionSource&); // Not implemented
86 };
87 
88 #endif
virtual vtkAbstractTransform * GetTransform()
Definition: vtkGeoSource.h:91
A multi-resolution geographic data source.
Definition: vtkGeoSource.h:56
virtual bool FetchChild(vtkGeoTreeNode *node, int index, vtkGeoTreeNode *child)=0
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
superclass for all geometric transformations
#define VTKGEOVISCORE_EXPORT
Stores data for a patch of the globe.
vtkAbstractTransform * Transform
static vtkObject * New()
mutual exclusion locking class
Definition: vtkMutexLock.h:86
virtual bool FetchRoot(vtkGeoTreeNode *root)=0
A 2D geographic geometry source.