A 2D terrain model for the globe.
More...
#include <vtkGeoTerrain2D.h>
A 2D terrain model for the globe.
vtkGeoTerrain2D contains a multi-resolution tree of geometry representing the globe. It uses a vtkGeoSource subclass to generate the terrain, such as vtkGeoProjectionSource. This source must be set before using the terrain in a vtkGeoView2D. The terrain also contains an AddActors() method which updates the set of actors representing the globe given the current camera position.
- Tests:
- vtkGeoTerrain2D (Tests)
Definition at line 49 of file vtkGeoTerrain2D.h.
vtkGeoTerrain2D::vtkGeoTerrain2D |
( |
| ) |
|
|
protected |
vtkGeoTerrain2D::~vtkGeoTerrain2D |
( |
| ) |
|
|
protected |
static int vtkGeoTerrain2D::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkGeoTerrain2D::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkGeoTerrain2D::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
virtual void vtkGeoTerrain2D::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
virtual |
virtual void vtkGeoTerrain2D::SetTextureTolerance |
( |
double |
| ) |
|
|
virtual |
The maximum size of a single texel in pixels. Images will be refined if a texel becomes larger than the tolerance.
virtual double vtkGeoTerrain2D::GetTextureTolerance |
( |
| ) |
|
|
virtual |
The maximum size of a single texel in pixels. Images will be refined if a texel becomes larger than the tolerance.
virtual void vtkGeoTerrain2D::SetLocationTolerance |
( |
double |
| ) |
|
|
virtual |
The maximum allowed deviation of geometry in pixels. Geometry will be refined if the deviation is larger than the tolerance.
virtual double vtkGeoTerrain2D::GetLocationTolerance |
( |
| ) |
|
|
virtual |
The maximum allowed deviation of geometry in pixels. Geometry will be refined if the deviation is larger than the tolerance.
Return the projection transformation used by this 2D terrain.
virtual void vtkGeoTerrain2D::InitializeNodeAnalysis |
( |
vtkRenderer * |
ren | ) |
|
|
protectedvirtual |
AddActors() calls to to evaluate whether a node should be refined (1), coarsened (-1), or remain at the same level (0).
Reimplemented from vtkGeoTerrain.
double vtkGeoTerrain2D::LocationTolerance |
|
protected |
double vtkGeoTerrain2D::TextureTolerance |
|
protected |
double vtkGeoTerrain2D::CameraBounds[4] |
|
protected |
double vtkGeoTerrain2D::PixelSize |
|
protected |
The documentation for this class was generated from the following file: