VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkGeoView2D Class Reference

A 2D geospatial view. More...

#include <vtkGeoView2D.h>

Inheritance diagram for vtkGeoView2D:
Inheritance graph
[legend]
Collaboration diagram for vtkGeoView2D:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkRenderView Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkGeoView2DNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
 vtkGeoView2D ()
 ~vtkGeoView2D ()
virtual vtkGeoTerrain2DGetSurface ()
virtual void SetSurface (vtkGeoTerrain2D *surf)
virtual vtkAbstractTransformGetTransform ()
virtual void ApplyViewTheme (vtkViewTheme *theme)
virtual void Render ()

Static Public Member Functions

static vtkGeoView2DNew ()
static int IsTypeOf (const char *type)
static vtkGeoView2DSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
virtual void PrepareForRendering ()

Protected Attributes

vtkGeoTerrain2DSurface
vtkAssemblyAssembly

Detailed Description

A 2D geospatial view.

vtkGeoView is a 2D globe view. The globe may contain a multi-resolution geometry source (vtkGeoTerrain2D), multiple multi-resolution image sources (vtkGeoAlignedImageRepresentation), as well as other representations such as vtkGeoGraphRepresentation2D. At a minimum, the view must have a terrain and one image representation. By default, you may select in the view with the left mouse button, pan with the middle button, and zoom with the right mouse button or scroll wheel.

Each terrain or image representation contains a vtkGeoSource subclass which generates geometry or imagery at multiple resolutions. As the camera position changes, the terrain and/or image representations may ask its vtkGeoSource to refine the geometry. This refinement is performed on a separate thread, and the data is added to the view when it becomes available.

See also:
vtkGeoTerrain2D vtkGeoAlignedImageRepresentation vtkGeoSource
Tests:
vtkGeoView2D (Tests)

Definition at line 52 of file vtkGeoView2D.h.


Member Typedef Documentation

Reimplemented from vtkRenderView.

Definition at line 56 of file vtkGeoView2D.h.


Constructor & Destructor Documentation


Member Function Documentation

static vtkGeoView2D* vtkGeoView2D::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkRenderView.

static int vtkGeoView2D::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderView.

virtual int vtkGeoView2D::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderView.

Reimplemented from vtkRenderView.

virtual vtkObjectBase* vtkGeoView2D::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkRenderView.

Reimplemented from vtkRenderView.

virtual void vtkGeoView2D::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkRenderView.

virtual vtkGeoTerrain2D* vtkGeoView2D::GetSurface ( ) [virtual]
virtual void vtkGeoView2D::SetSurface ( vtkGeoTerrain2D surf) [virtual]

Returns the transform associated with the surface.

Reimplemented from vtkRenderView.

virtual void vtkGeoView2D::ApplyViewTheme ( vtkViewTheme theme) [virtual]

Apply the view theme to this view.

Reimplemented from vtkRenderView.

virtual void vtkGeoView2D::Render ( ) [virtual]

Update and render the view.

Reimplemented from vtkRenderView.

virtual void vtkGeoView2D::PrepareForRendering ( ) [protected, virtual]

Called by the view when the renderer is about to render.

Reimplemented from vtkRenderView.


Member Data Documentation

Definition at line 75 of file vtkGeoView2D.h.

Definition at line 76 of file vtkGeoView2D.h.


The documentation for this class was generated from the following file: