#include <vtkGeoView2D.h>
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.
Definition at line 51 of file vtkGeoView2D.h.
Public Types | |
typedef vtkRenderView | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
vtkGeoView2D () | |
~vtkGeoView2D () | |
virtual vtkGeoTerrain2D * | GetSurface () |
virtual void | SetSurface (vtkGeoTerrain2D *surf) |
virtual vtkAbstractTransform * | GetTransform () |
virtual void | ApplyViewTheme (vtkViewTheme *theme) |
virtual void | Render () |
Static Public Member Functions | |
static vtkGeoView2D * | New () |
static int | IsTypeOf (const char *type) |
static vtkGeoView2D * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
virtual void | PrepareForRendering () |
Protected Attributes | |
vtkGeoTerrain2D * | Surface |
vtkAssembly * | Assembly |
vtkGeoView2D::vtkGeoView2D | ( | ) |
vtkGeoView2D::~vtkGeoView2D | ( | ) |
static vtkGeoView2D* vtkGeoView2D::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkRenderView.
virtual const char* vtkGeoView2D::GetClassName | ( | ) | [virtual] |
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.
static vtkGeoView2D* vtkGeoView2D::SafeDownCast | ( | vtkObject * | o | ) | [static] |
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] |
virtual vtkAbstractTransform* vtkGeoView2D::GetTransform | ( | ) | [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.
vtkGeoTerrain2D* vtkGeoView2D::Surface [protected] |
Definition at line 74 of file vtkGeoView2D.h.
vtkAssembly* vtkGeoView2D::Assembly [protected] |
Definition at line 75 of file vtkGeoView2D.h.