|
VTK
|
A 3D geospatial view. More...
#include <vtkGeoView.h>
Public Types | |
| typedef vtkRenderView | Superclass |
Public Types inherited from vtkRenderView | |
| 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 |
Public Types inherited from vtkRenderViewBase | |
| typedef vtkView | Superclass |
Public Types inherited from vtkView | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkGeoView * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| vtkGeoAlignedImageRepresentation * | AddDefaultImageRepresentation (vtkImageData *image) |
| virtual void | PrepareForRendering () |
| void | BuildLowResEarth (double origin[3]) |
| vtkGeoInteractorStyle * | GetGeoInteractorStyle () |
| virtual void | SetGeoInteractorStyle (vtkGeoInteractorStyle *style) |
| virtual void | Render () |
| virtual void | SetLockHeading (bool lock) |
| virtual bool | GetLockHeading () |
| virtual void | LockHeadingOn () |
| virtual void | LockHeadingOff () |
| virtual void | SetTerrain (vtkGeoTerrain *terrain) |
| virtual vtkGeoTerrain * | GetTerrain () |
Public Member Functions inherited from vtkRenderView | |
| 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 | ApplyViewTheme (vtkViewTheme *theme) |
| virtual void | AddLabels (vtkAlgorithmOutput *conn) |
| virtual void | RemoveLabels (vtkAlgorithmOutput *conn) |
| virtual void | SetInteractionModeTo2D () |
| virtual void | SetInteractionModeTo3D () |
| virtual void | SetTransform (vtkAbstractTransform *transform) |
| virtual vtkAbstractTransform * | GetTransform () |
| 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 () |
Public Member Functions inherited from vtkRenderViewBase | |
| 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 () |
Public Member Functions inherited from vtkView | |
| 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 vtkGeoView * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkGeoView * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkRenderView | |
| static vtkRenderView * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkRenderView * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkRenderViewBase | |
| static vtkRenderViewBase * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkRenderViewBase * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkView | |
| static vtkView * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkView * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkGeoView () | |
| ~vtkGeoView () | |
Protected Member Functions inherited from vtkRenderView | |
| 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 () | |
Protected Member Functions inherited from vtkRenderViewBase | |
| vtkRenderViewBase () | |
| ~vtkRenderViewBase () | |
Protected Member Functions inherited from vtkView | |
| 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 | |
| vtkGlobeSource * | LowResEarthSource |
| vtkPolyDataMapper * | LowResEarthMapper |
| vtkActor * | LowResEarthActor |
| vtkAssembly * | Assembly |
| vtkGeoTerrain * | Terrain |
| int | UsingMesaDrivers |
Protected Attributes inherited from vtkRenderView | |
| 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 |
Protected Attributes inherited from vtkRenderViewBase | |
| vtkSmartPointer< vtkRenderer > | Renderer |
| vtkSmartPointer< vtkRenderWindow > | RenderWindow |
Protected Attributes inherited from vtkView | |
| bool | ReuseSingleRepresentation |
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 vtkRenderedGraphRepresentation. 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.
Definition at line 64 of file vtkGeoView.h.
| typedef vtkRenderView vtkGeoView::Superclass |
Definition at line 68 of file vtkGeoView.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented from vtkRenderView.
|
static |
|
protectedvirtual |
Reimplemented from vtkRenderView.
| vtkGeoView* vtkGeoView::NewInstance | ( | ) | const |
| void vtkGeoView::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
| 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 |
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 |
Whether the view locks the heading when panning. Default is off.
|
virtual |
Whether the view locks the heading when panning. Default is off.
|
virtual |
Whether the view locks the heading when panning. Default is off.
|
virtual |
Whether the view locks the heading when panning. Default is off.
| vtkGeoInteractorStyle* vtkGeoView::GetGeoInteractorStyle | ( | ) |
Convenience method for obtaining the internal interactor style.
|
virtual |
Method to change the interactor style.
|
virtual |
The terrain (geometry) model for this earth view.
|
virtual |
The terrain (geometry) model for this earth view.
|
virtual |
Update and render the view.
Reimplemented from vtkRenderView.
|
protected |
Definition at line 107 of file vtkGeoView.h.
|
protected |
Definition at line 108 of file vtkGeoView.h.
|
protected |
Definition at line 109 of file vtkGeoView.h.
|
protected |
Definition at line 110 of file vtkGeoView.h.
|
protected |
Definition at line 111 of file vtkGeoView.h.
|
protected |
Definition at line 113 of file vtkGeoView.h.
1.8.6