Go to the documentation of this file.
33 #ifndef vtkGeoInteractorStyle_h
34 #define vtkGeoInteractorStyle_h
36 #include "vtkGeovisCoreModule.h"
46 #if !defined(VTK_LEGACY_REMOVE)
72 virtual void RubberBandZoom();
74 void Dolly()
override;
77 void RedrawRectangle();
91 void WidgetInteraction(
vtkObject *caller);
99 int ViewportToWorld(
double x,
double y,
100 double &wx,
double &wy,
double &wz);
101 void WorldToLongLat(
double wx,
double wy,
double wz,
102 double &lon,
double &lat);
103 void ViewportToLongLat(
double x,
double y,
104 double &lon,
double &lat);
105 int GetRayIntersection(
double origin[3],
107 double intersection[3]);
118 vtkGetMacro(LockHeading,
bool);
119 vtkSetMacro(LockHeading,
bool);
120 vtkBooleanMacro(LockHeading,
bool);
126 void ResetCameraClippingRange();
134 void Dolly(
double)
override;
141 int RubberBandExtent[4];
144 void EnableRubberBandRedraw();
145 void DisableRubberBandRedraw();
146 bool InRubberBandRectangle(
int x,
int y);
147 void DrawRectangle();
149 void KeepCameraAboveGround(
vtkCamera* camera);
151 void GetPanCenter(
double &px,
double &py);
153 int StartPosition[2];
171 #endif //VTK_LEGACY_REMOVE
superclass for callback/observer methods
vtkSmartPointer< vtkGeoCamera > GeoCamera
int RubberBandExtentEnabled
static vtkInteractorStyleTrackballCamera * New()
dynamic, self-adjusting array of unsigned char
abstract base class for most VTK objects
void OnLeftButtonUp() override
vtkUnsignedCharArray * PixelArray
void SetInteractor(vtkRenderWindowInteractor *interactor) override
Set/Get the Interactor wrapper being controlled by this object.
void OnChar() override
OnChar is triggered when an ASCII key is pressed.
void OnRightButtonUp() override
virtual void StartState(int newstate)
utility routines used by state changes
a simple class to control print indentation
a virtual camera for 3D rendering
Geo interface to a camera.
platform-independent render window interaction including picking and frame rate control.
void OnRightButtonDown() override
vtkSmartPointer< vtkCompassWidget > CompassWidget
void OnMouseMove() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
vtkSmartPointer< vtkCommand > EventCommand
int DraggingRubberBandBoxState
void OnLeftButtonDown() override
interactive manipulation of the camera
void OnMiddleButtonDown() override
abstract specification for renderers
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void OnMiddleButtonUp() override
virtual void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
virtual void SetCurrentRenderer(vtkRenderer *)