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
void OnMiddleButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
abstract base class for most VTK objects
void OnChar() override
OnChar is triggered when an ASCII key is pressed.
void SetInteractor(vtkRenderWindowInteractor *interactor) override
Set/Get the Interactor wrapper being controlled by this object.
int DraggingRubberBandBoxState
abstract specification for renderers
static vtkInteractorStyleTrackballCamera * New()
vtkSmartPointer< vtkCompassWidget > CompassWidget
virtual void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
platform-independent render window interaction including picking and frame rate control.
vtkSmartPointer< vtkGeoCamera > GeoCamera
superclass for callback/observer methods
a simple class to control print indentation
a virtual camera for 3D rendering
void OnMouseMove() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void OnMiddleButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
vtkUnsignedCharArray * PixelArray
virtual void SetCurrentRenderer(vtkRenderer *)
Set/Get the current renderer.
dynamic, self-adjusting array of unsigned char
int RubberBandExtentEnabled
virtual void StartState(int newstate)
utility routines used by state changes
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void OnRightButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
vtkSmartPointer< vtkCommand > EventCommand
void OnRightButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
interactive manipulation of the camera
void OnLeftButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
Geo interface to a camera.
void OnLeftButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.