Go to the documentation of this file.
33 #ifndef vtkGeoInteractorStyle_h
34 #define vtkGeoInteractorStyle_h
36 #include "vtkGeovisCoreModule.h"
99 double &wx,
double &wy,
double &wz);
101 double &lon,
double &lat);
103 double &lon,
double &lat);
106 double intersection[3]);
117 vtkGetMacro(LockHeading,
bool);
140 int RubberBandExtent[4];
152 int StartPosition[2];
virtual void OnChar()
OnChar is triggered when an ASCII key is pressed.
int ViewportToWorld(double x, double y, double &wx, double &wy, double &wz)
void ViewportToLongLat(double x, double y, double &lon, double &lat)
superclass for callback/observer methods
virtual void OnMiddleButtonUp()
virtual void OnRightButtonUp()
bool InRubberBandRectangle(int x, int y)
vtkSmartPointer< vtkGeoCamera > GeoCamera
virtual void Dolly(double)
int RubberBandExtentEnabled
virtual void OnMiddleButtonDown()
void WorldToLongLat(double wx, double wy, double wz, double &lon, double &lat)
virtual void SetInteractor(vtkRenderWindowInteractor *interactor)
Set/Get the Interactor wrapper being controlled by this object.
void GetPanCenter(double &px, double &py)
int GetRayIntersection(double origin[3], double direction[3], double intersection[3])
dynamic, self-adjusting array of unsigned char
virtual void OnEnter()
Event bindings.
abstract base class for most VTK objects
virtual void OnLeftButtonUp()
vtkUnsignedCharArray * PixelArray
void DisableRubberBandRedraw()
virtual void OnMouseMove()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
vtkGeoCamera * GetGeoCamera()
void ResetCameraClippingRange()
Called after camera properties are modified.
virtual void OnLeftButtonDown()
a simple class to control print indentation
void EnableRubberBandRedraw()
a virtual camera for 3D rendering
Geo interface to a camera.
platform-independent render window interaction including picking and frame rate control.
vtkSmartPointer< vtkCompassWidget > CompassWidget
virtual void RubberBandZoom()
void WidgetInteraction(vtkObject *caller)
Called when the sub widgets have an interaction.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual void OnRightButtonDown()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSmartPointer< vtkCommand > EventCommand
int DraggingRubberBandBoxState
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
interactive manipulation of the camera
void StartState(int newstate)
utility routines used by state changes
abstract specification for renderers
void ResetCamera()
This can be used to set the camera to the standard view of the earth.
virtual void SetCurrentRenderer(vtkRenderer *)
Override to make the renderer use this camera subclass.
static vtkGeoInteractorStyle * New()
void KeepCameraAboveGround(vtkCamera *camera)