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-------------------------------------------------------------------------*/
34#ifndef vtkGeoProjectionSource_h
35#define vtkGeoProjectionSource_h
36
37#include "vtkGeovisCoreModule.h" // For export macro
38#include "vtkGeoSource.h"
39
42class vtkMutexLock;
43
44class VTKGEOVISCORE_EXPORT vtkGeoProjectionSource : public vtkGeoSource
45{
46public:
49 virtual void PrintSelf( ostream& os, vtkIndent indent );
50
53
55
58 virtual bool FetchRoot(vtkGeoTreeNode* root);
59 virtual bool FetchChild(vtkGeoTreeNode* node, int index, vtkGeoTreeNode* child);
61
63
66 vtkGetMacro(Projection, int);
67 virtual void SetProjection(int projection);
69
71
74 vtkGetMacro(MinCellsPerNode, int);
75 vtkSetMacro(MinCellsPerNode, int);
77
82
83protected:
85
88 virtual void SetTransform(vtkAbstractTransform* transform);
91
92private:
93 vtkGeoProjectionSource(const vtkGeoProjectionSource&) VTK_DELETE_FUNCTION;
94 void operator=(const vtkGeoProjectionSource&) VTK_DELETE_FUNCTION;
95};
96
97#endif
superclass for all geometric transformations
A 2D geographic geometry source.
virtual bool FetchRoot(vtkGeoTreeNode *root)
Blocking methods for sources with low latency.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetTransform(vtkAbstractTransform *transform)
virtual bool FetchChild(vtkGeoTreeNode *node, int index, vtkGeoTreeNode *child)
virtual void SetProjection(int projection)
virtual vtkAbstractTransform * GetTransform()
Return the projection transformation used by this 2D terrain.
static vtkGeoProjectionSource * New()
void RefineAndComputeError(vtkGeoTerrainNode *node)
vtkAbstractTransform * Transform
A multi-resolution geographic data source.
Definition: vtkGeoSource.h:58
Stores data for a patch of the globe.
a simple class to control print indentation
Definition: vtkIndent.h:40
mutual exclusion locking class
Definition: vtkMutexLock.h:88
@ index
Definition: vtkX3D.h:246
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.