VTK
vtkGeoTerrain2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoTerrain2D.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 -------------------------------------------------------------------------*/
35 #ifndef vtkGeoTerrain2D_h
36 #define vtkGeoTerrain2D_h
37 
38 #include "vtkGeovisCoreModule.h" // For export macro
39 #include "vtkGeoTerrain.h"
40 
42 class vtkAssembly;
43 class vtkCollection;
44 class vtkGeoImageRepresentation;
45 class vtkGeoSource;
46 class vtkGeoTerrainNode;
47 class vtkRenderer;
48 
50 {
51 public:
52  static vtkGeoTerrain2D *New();
54  virtual void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
59  vtkSetMacro(TextureTolerance, double);
60  vtkGetMacro(TextureTolerance, double);
62 
64 
66  vtkSetMacro(LocationTolerance, double);
67  vtkGetMacro(LocationTolerance, double);
69 
71  virtual vtkAbstractTransform* GetTransform();
72 
73 protected:
75  ~vtkGeoTerrain2D();
76 
79 
81  virtual void InitializeNodeAnalysis(vtkRenderer* ren);
82 
85  virtual bool NodeInViewport(vtkGeoTerrainNode* node);
86 
89  virtual int EvaluateNode(vtkGeoTerrainNode* node);
90 
91  double CameraBounds[4];
92  double PixelSize;
93 
94 private:
95  vtkGeoTerrain2D(const vtkGeoTerrain2D&); // Not implemented
96  void operator=(const vtkGeoTerrain2D&); // Not implemented
97 };
98 
99 #endif
virtual int EvaluateNode(vtkGeoTerrainNode *node)
A 3D terrain model for the globe.
Definition: vtkGeoTerrain.h:50
A 2D terrain model for the globe.
virtual void PrintSelf(ostream &os, vtkIndent indent)
static vtkGeoTerrain * New()
A multi-resolution geographic data source.
Definition: vtkGeoSource.h:56
abstract specification for renderers
Definition: vtkRenderer.h:63
a simple class to control print indentation
Definition: vtkIndent.h:38
superclass for all geometric transformations
#define VTKGEOVISCORE_EXPORT
create hierarchies of vtkProp3Ds (transformable props)
Definition: vtkAssembly.h:74
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:52
virtual bool NodeInViewport(vtkGeoTerrainNode *node)
double LocationTolerance
virtual void InitializeNodeAnalysis(vtkRenderer *ren)