VTK
|
A 2D geospatial view. More...
#include <vtkGeoView2D.h>
Public Types | |
typedef vtkRenderView | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkGeoView2D * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
virtual void | PrepareForRendering () |
Protected Attributes | |
vtkGeoTerrain2D * | Surface |
vtkAssembly * | Assembly |
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.
Definition at line 52 of file vtkGeoView2D.h.
Reimplemented from vtkRenderView.
Definition at line 56 of file vtkGeoView2D.h.
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.
static vtkGeoView2D* vtkGeoView2D::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkRenderView.
virtual vtkObjectBase* vtkGeoView2D::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkRenderView.
vtkGeoView2D* vtkGeoView2D::NewInstance | ( | ) | const |
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 75 of file vtkGeoView2D.h.
vtkAssembly* vtkGeoView2D::Assembly [protected] |
Definition at line 76 of file vtkGeoView2D.h.