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 
72 
73 protected:
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
vtkGeoTerrain2D
A 2D terrain model for the globe.
Definition: vtkGeoTerrain2D.h:50
vtkAbstractTransform
superclass for all geometric transformations
Definition: vtkAbstractTransform.h:50
vtkGeoTerrain2D::TextureTolerance
double TextureTolerance
Definition: vtkGeoTerrain2D.h:78
vtkGeoTerrain2D::GetTransform
virtual vtkAbstractTransform * GetTransform()
vtkGeoTerrain
A 3D terrain model for the globe.
Definition: vtkGeoTerrain.h:51
vtkGeovisCoreModule.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkGeoTerrain2D::PixelSize
double PixelSize
Definition: vtkGeoTerrain2D.h:92
vtkGeoTerrain2D::EvaluateNode
virtual int EvaluateNode(vtkGeoTerrainNode *node)
vtkGeoTerrain2D::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkGeoTerrain2D::NodeInViewport
virtual bool NodeInViewport(vtkGeoTerrainNode *node)
vtkCollection
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:53
vtkGeoTerrainNode
Definition: vtkGeoTerrainNode.h:40
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGeoTerrain2D::vtkGeoTerrain2D
vtkGeoTerrain2D()
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkGeoTerrain2D::LocationTolerance
double LocationTolerance
Definition: vtkGeoTerrain2D.h:77
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
VTKGEOVISCORE_EXPORT
#define VTKGEOVISCORE_EXPORT
Definition: vtkGeovisCoreModule.h:15
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkGeoTerrain2D::~vtkGeoTerrain2D
~vtkGeoTerrain2D()
vtkGeoTerrain2D::New
static vtkGeoTerrain2D * New()
vtkGeoTerrain2D::InitializeNodeAnalysis
virtual void InitializeNodeAnalysis(vtkRenderer *ren)
vtkGeoSource
A multi-resolution geographic data source.
Definition: vtkGeoSource.h:57
vtkGeoTerrain.h
vtkAssembly
create hierarchies of vtkProp3Ds (transformable props)
Definition: vtkAssembly.h:75