A 2D geospatial view. More...
#include <vtkGeoView2D.h>
Public Types | |
typedef vtkRenderView | Superclass |
![]() | |
enum | { INTERACTION_MODE_2D, INTERACTION_MODE_3D, INTERACTION_MODE_UNKNOWN } |
enum | { SURFACE = 0, FRUSTUM = 1 } |
enum | { NO_OVERLAP, ALL } |
enum | { FREETYPE, QT } |
typedef vtkRenderViewBase | Superclass |
![]() | |
typedef vtkView | Superclass |
![]() | |
typedef vtkObject | 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 () |
![]() | |
vtkRenderView * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetInteractor (vtkRenderWindowInteractor *interactor) |
virtual void | SetInteractorStyle (vtkInteractorObserver *style) |
virtual vtkInteractorObserver * | GetInteractorStyle () |
virtual void | SetRenderWindow (vtkRenderWindow *win) |
void | SetInteractionMode (int mode) |
virtual int | GetInteractionMode () |
virtual void | AddLabels (vtkAlgorithmOutput *conn) |
virtual void | RemoveLabels (vtkAlgorithmOutput *conn) |
virtual void | SetInteractionModeTo2D () |
virtual void | SetInteractionModeTo3D () |
virtual void | SetTransform (vtkAbstractTransform *transform) |
virtual void | SetDisplayHoverText (bool b) |
virtual bool | GetDisplayHoverText () |
virtual void | DisplayHoverTextOn () |
virtual void | DisplayHoverTextOff () |
virtual void | SetSelectionMode (int) |
virtual int | GetSelectionMode () |
void | SetSelectionModeToSurface () |
void | SetSelectionModeToFrustum () |
virtual void | SetIconTexture (vtkTexture *texture) |
virtual vtkTexture * | GetIconTexture () |
virtual void | SetIconSize (int, int) |
void | SetIconSize (int[2]) |
virtual int * | GetIconSize () |
virtual void | GetIconSize (int &, int &) |
virtual void | GetIconSize (int[2]) |
virtual void | SetDisplaySize (int, int) |
void | SetDisplaySize (int[2]) |
int * | GetDisplaySize () |
void | GetDisplaySize (int &dsx, int &dsy) |
virtual void | SetLabelPlacementMode (int mode) |
virtual int | GetLabelPlacementMode () |
virtual void | SetLabelPlacementModeToNoOverlap () |
virtual void | SetLabelPlacementModeToAll () |
virtual void | SetLabelRenderMode (int mode) |
virtual int | GetLabelRenderMode () |
virtual void | SetLabelRenderModeToFreetype () |
virtual void | SetLabelRenderModeToQt () |
void | SetRenderOnMouseMove (bool b) |
virtual bool | GetRenderOnMouseMove () |
virtual void | RenderOnMouseMoveOn () |
virtual void | RenderOnMouseMoveOff () |
![]() | |
vtkRenderViewBase * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkRenderer * | GetRenderer () |
virtual void | SetRenderer (vtkRenderer *ren) |
virtual vtkRenderWindow * | GetRenderWindow () |
virtual void | ResetCamera () |
virtual void | ResetCameraClippingRange () |
virtual vtkRenderWindowInteractor * | GetInteractor () |
![]() | |
vtkView * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddRepresentation (vtkDataRepresentation *rep) |
void | SetRepresentation (vtkDataRepresentation *rep) |
vtkDataRepresentation * | AddRepresentationFromInputConnection (vtkAlgorithmOutput *conn) |
vtkDataRepresentation * | SetRepresentationFromInputConnection (vtkAlgorithmOutput *conn) |
vtkDataRepresentation * | AddRepresentationFromInput (vtkDataObject *input) |
vtkDataRepresentation * | SetRepresentationFromInput (vtkDataObject *input) |
void | RemoveRepresentation (vtkDataRepresentation *rep) |
void | RemoveRepresentation (vtkAlgorithmOutput *rep) |
void | RemoveAllRepresentations () |
int | GetNumberOfRepresentations () |
vtkDataRepresentation * | GetRepresentation (int index=0) |
bool | IsRepresentationPresent (vtkDataRepresentation *rep) |
virtual void | Update () |
virtual void | ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme)) |
vtkCommand * | GetObserver () |
void | RegisterProgress (vtkObject *algorithm, const char *message=NULL) |
void | UnRegisterProgress (vtkObject *algorithm) |
Static Public Member Functions | |
static vtkGeoView2D * | New () |
static int | IsTypeOf (const char *type) |
static vtkGeoView2D * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkRenderView * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderView * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkRenderViewBase * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderViewBase * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkView * | New () |
static int | IsTypeOf (const char *type) |
static vtkView * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
virtual void | PrepareForRendering () |
![]() | |
virtual void | UpdateHoverText () |
virtual void | UpdateHoverWidgetState () |
void | UpdatePickRender () |
virtual void | ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData) |
virtual void | GenerateSelection (void *callData, vtkSelection *selection) |
vtkRenderView () | |
~vtkRenderView () | |
![]() | |
vtkRenderViewBase () | |
~vtkRenderViewBase () | |
![]() | |
vtkView () | |
~vtkView () | |
virtual vtkDataRepresentation * | CreateDefaultRepresentation (vtkAlgorithmOutput *conn) |
virtual void | AddRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep)) |
virtual void | RemoveRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep)) |
virtual void | SetReuseSingleRepresentation (bool) |
virtual bool | GetReuseSingleRepresentation () |
virtual void | ReuseSingleRepresentationOn () |
virtual void | ReuseSingleRepresentationOff () |
Protected Attributes | |
vtkGeoTerrain2D * | Surface |
vtkAssembly * | Assembly |
![]() | |
int | SelectionMode |
int | LabelRenderMode |
bool | DisplayHoverText |
bool | Interacting |
bool | InHoverTextRender |
bool | InPickRender |
bool | PickRenderNeedsUpdate |
vtkAbstractTransform * | Transform |
vtkTexture * | IconTexture |
int | IconSize [2] |
int | DisplaySize [2] |
int | InteractionMode |
bool | RenderOnMouseMove |
vtkSmartPointer< vtkRenderer > | LabelRenderer |
vtkSmartPointer < vtkBalloonRepresentation > | Balloon |
vtkSmartPointer < vtkLabelPlacementMapper > | LabelPlacementMapper |
vtkSmartPointer < vtkTexturedActor2D > | LabelActor |
vtkSmartPointer< vtkHoverWidget > | HoverWidget |
vtkSmartPointer < vtkHardwareSelector > | Selector |
![]() | |
vtkSmartPointer< vtkRenderer > | Renderer |
vtkSmartPointer< vtkRenderWindow > | RenderWindow |
![]() | |
bool | ReuseSingleRepresentation |
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.
Definition at line 56 of file vtkGeoView2D.h.
vtkGeoView2D::vtkGeoView2D | ( | ) |
vtkGeoView2D::~vtkGeoView2D | ( | ) |
|
static |
|
static |
|
virtual |
Reimplemented from vtkRenderView.
|
static |
|
protectedvirtual |
Reimplemented from vtkRenderView.
vtkGeoView2D* vtkGeoView2D::NewInstance | ( | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns the transform associated with the surface.
Reimplemented from vtkRenderView.
|
virtual |
Apply the view theme to this view.
Reimplemented from vtkRenderView.
|
virtual |
Update and render the view.
Reimplemented from vtkRenderView.
|
protectedvirtual |
Called by the view when the renderer is about to render.
Reimplemented from vtkRenderView.
|
protected |
Definition at line 75 of file vtkGeoView2D.h.
|
protected |
Definition at line 76 of file vtkGeoView2D.h.