vtkGeoView Class Reference

#include <vtkGeoView.h>

Inheritance diagram for vtkGeoView:

Inheritance graph
[legend]
Collaboration diagram for vtkGeoView:

Collaboration graph
[legend]

List of all members.


Detailed Description

A 3D geospatial view.

vtkGeoView is a 3D globe view. The globe may contain a multi-resolution geometry source (vtkGeoTerrain), multiple multi-resolution image sources (vtkGeoAlignedImageRepresentation), as well as other representations such as vtkGeoGraphRepresentation. At a minimum, the view must have a terrain and one image representation. The view uses vtkGeoInteractorStyle to orbit, zoom, and tilt the view, and contains a vtkCompassWidget for manipulating the camera.

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:
vtkGeoTerrain vtkGeoAlignedImageRepresentation vtkGeoSource
Tests:
vtkGeoView (Tests)

Definition at line 61 of file vtkGeoView.h.


Public Types

typedef vtkRenderView Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkGeoAlignedImageRepresentationAddDefaultImageRepresentation (vtkImageData *image)
virtual void SetupRenderWindow (vtkRenderWindow *win)
virtual void PrepareForRendering ()
void BuildLowResEarth (double origin[3])
virtual void ApplyViewTheme (vtkViewTheme *theme)
vtkGeoInteractorStyleGetGeoInteractorStyle ()
virtual void SetGeoInteractorStyle (vtkGeoInteractorStyle *style)
virtual void SetLockHeading (bool lock)
virtual bool GetLockHeading ()
virtual void LockHeadingOn ()
virtual void LockHeadingOff ()
virtual void SetTerrain (vtkGeoTerrain *terrain)
virtual vtkGeoTerrainGetTerrain ()

Static Public Member Functions

static vtkGeoViewNew ()
static int IsTypeOf (const char *type)
static vtkGeoViewSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGeoView ()
 ~vtkGeoView ()

Protected Attributes

vtkRenderWindowRenderWindow
vtkGlobeSourceLowResEarthSource
vtkPolyDataMapperLowResEarthMapper
vtkActorLowResEarthActor
vtkAssemblyAssembly
vtkGeoTerrainTerrain

Member Typedef Documentation

Reimplemented from vtkRenderView.

Definition at line 65 of file vtkGeoView.h.


Constructor & Destructor Documentation

vtkGeoView::vtkGeoView (  )  [protected]

vtkGeoView::~vtkGeoView (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkRenderView.

virtual const char* vtkGeoView::GetClassName (  )  [virtual]

Reimplemented from vtkRenderView.

static int vtkGeoView::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkRenderView.

virtual int vtkGeoView::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkRenderView.

static vtkGeoView* vtkGeoView::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkRenderView.

void vtkGeoView::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.

vtkGeoAlignedImageRepresentation* vtkGeoView::AddDefaultImageRepresentation ( vtkImageData image  ) 

Adds an image representation with a simple terrain model using the image in the specified file as the globe terrain.

virtual void vtkGeoView::SetupRenderWindow ( vtkRenderWindow win  )  [virtual]

Set up a render window to use this view. The superclass adds the renderer to the render window. Subclasses should override this to set interactor, etc.

Reimplemented from vtkRenderView.

virtual void vtkGeoView::PrepareForRendering (  )  [virtual]

Prepares the view for rendering.

Reimplemented from vtkRenderView.

void vtkGeoView::BuildLowResEarth ( double  origin[3]  ) 

Rebuild low-res earth source; call after (re)setting origin.

virtual void vtkGeoView::SetLockHeading ( bool  lock  )  [virtual]

Whether the view locks the heading when panning. Default is off.

virtual bool vtkGeoView::GetLockHeading (  )  [virtual]

Whether the view locks the heading when panning. Default is off.

virtual void vtkGeoView::LockHeadingOn (  )  [virtual]

Whether the view locks the heading when panning. Default is off.

virtual void vtkGeoView::LockHeadingOff (  )  [virtual]

Whether the view locks the heading when panning. Default is off.

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

Apply a view theme to the view.

Reimplemented from vtkRenderView.

vtkGeoInteractorStyle* vtkGeoView::GetGeoInteractorStyle (  ) 

Convenience method for obtaining the internal interactor style.

virtual void vtkGeoView::SetGeoInteractorStyle ( vtkGeoInteractorStyle style  )  [virtual]

Method to change the interactor style.

virtual void vtkGeoView::SetTerrain ( vtkGeoTerrain terrain  )  [virtual]

The terrain (geometry) model for this earth view.

virtual vtkGeoTerrain* vtkGeoView::GetTerrain (  )  [virtual]

The terrain (geometry) model for this earth view.


Member Data Documentation

Definition at line 109 of file vtkGeoView.h.

Definition at line 110 of file vtkGeoView.h.

Definition at line 111 of file vtkGeoView.h.

Definition at line 112 of file vtkGeoView.h.

Definition at line 113 of file vtkGeoView.h.

Definition at line 114 of file vtkGeoView.h.


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

Generated on Wed Jun 3 19:05:40 2009 for VTK by  doxygen 1.5.6