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 "vtkGeoTerrain.h"
39 
41 class vtkAssembly;
42 class vtkCollection;
43 class vtkGeoImageRepresentation;
44 class vtkGeoSource;
45 class vtkGeoTerrainNode;
46 class vtkRenderer;
47 
49 {
50 public:
51  static vtkGeoTerrain2D *New();
53  virtual void PrintSelf(ostream& os, vtkIndent indent);
54 
56 
58  vtkSetMacro(TextureTolerance, double);
59  vtkGetMacro(TextureTolerance, double);
61 
63 
65  vtkSetMacro(LocationTolerance, double);
66  vtkGetMacro(LocationTolerance, double);
68 
70  virtual vtkAbstractTransform* GetTransform();
71 
72 protected:
74  ~vtkGeoTerrain2D();
75 
78 
80  virtual void InitializeNodeAnalysis(vtkRenderer* ren);
81 
84  virtual bool NodeInViewport(vtkGeoTerrainNode* node);
85 
88  virtual int EvaluateNode(vtkGeoTerrainNode* node);
89 
90  double CameraBounds[4];
91  double PixelSize;
92 
93 private:
94  vtkGeoTerrain2D(const vtkGeoTerrain2D&); // Not implemented
95  void operator=(const vtkGeoTerrain2D&); // Not implemented
96 };
97 
98 #endif
virtual int EvaluateNode(vtkGeoTerrainNode *node)
A 3D terrain model for the globe.
Definition: vtkGeoTerrain.h:49
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:55
abstract specification for renderers
Definition: vtkRenderer.h:69
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_GEOVIS_EXPORT
superclass for all geometric transformations
create hierarchies of vtkProp3Ds (transformable props)
Definition: vtkAssembly.h:73
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:51
virtual bool NodeInViewport(vtkGeoTerrainNode *node)
double LocationTolerance
virtual void InitializeNodeAnalysis(vtkRenderer *ren)