33 #ifndef vtkGeoInteractorStyle_h 34 #define vtkGeoInteractorStyle_h 36 #include "vtkGeovisCoreModule.h" 71 virtual void RubberBandZoom();
73 void Dolly()
override;
76 void RedrawRectangle();
90 void WidgetInteraction(
vtkObject *caller);
98 int ViewportToWorld(
double x,
double y,
99 double &wx,
double &wy,
double &wz);
100 void WorldToLongLat(
double wx,
double wy,
double wz,
101 double &lon,
double &lat);
102 void ViewportToLongLat(
double x,
double y,
103 double &lon,
double &lat);
104 int GetRayIntersection(
double origin[3],
106 double intersection[3]);
117 vtkGetMacro(LockHeading,
bool);
125 void ResetCameraClippingRange();
133 void Dolly(
double)
override;
140 int RubberBandExtent[4];
143 void EnableRubberBandRedraw();
144 void DisableRubberBandRedraw();
145 bool InRubberBandRectangle(
int x,
int y);
146 void DrawRectangle();
148 void KeepCameraAboveGround(
vtkCamera* camera);
150 void GetPanCenter(
double &px,
double &py);
152 int StartPosition[2];
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.