33 #ifndef vtkGeoInteractorStyle_h
34 #define vtkGeoInteractorStyle_h
36 #include "vtkGeovisCoreModule.h"
71 virtual void RubberBandZoom();
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 virtual void Dolly(
double);
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];
virtual void SetInteractor(vtkRenderWindowInteractor *interactor)
Set/Get the Interactor wrapper being controlled by this object.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void OnMiddleButtonUp()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
int DraggingRubberBandBoxState
abstract specification for renderers
virtual void OnRightButtonUp()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
static vtkInteractorStyleTrackballCamera * New()
vtkSmartPointer< vtkCompassWidget > CompassWidget
virtual void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
virtual void OnLeftButtonDown()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
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
virtual void OnMiddleButtonDown()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
a virtual camera for 3D rendering
virtual void OnMouseMove()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
virtual void OnRightButtonDown()
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
virtual void OnChar()
OnChar is triggered when an ASCII key is pressed.
vtkSmartPointer< vtkCommand > EventCommand
interactive manipulation of the camera
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void OnLeftButtonUp()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
Geo interface to a camera.