33 #ifndef vtkGeoInteractorStyle_h 34 #define vtkGeoInteractorStyle_h 36 #include "vtkGeovisCoreModule.h" 60 void OnLeave() VTK_OVERRIDE;
61 void OnMouseMove() VTK_OVERRIDE;
62 void OnLeftButtonUp() VTK_OVERRIDE;
63 void OnMiddleButtonUp() VTK_OVERRIDE;
64 void OnRightButtonUp() VTK_OVERRIDE;
65 void OnLeftButtonDown() VTK_OVERRIDE;
66 void OnMiddleButtonDown() VTK_OVERRIDE;
67 void OnRightButtonDown() VTK_OVERRIDE;
68 void OnChar() VTK_OVERRIDE;
71 virtual
void RubberBandZoom();
72 void Pan() VTK_OVERRIDE;
73 void Dolly() VTK_OVERRIDE;
76 void RedrawRectangle();
79 void StartState(
int newstate) VTK_OVERRIDE;
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]);
111 void SetCurrentRenderer(
vtkRenderer*) VTK_OVERRIDE;
117 vtkGetMacro(LockHeading,
bool);
125 void ResetCameraClippingRange();
129 ~vtkGeoInteractorStyle() VTK_OVERRIDE;
133 void Dolly(
double) VTK_OVERRIDE;
135 void OnTimer() VTK_OVERRIDE;
140 int RubberBandExtent[4];
141 int RubberBandExtentEnabled;
142 int RenderCallbackTag;
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];
154 int DraggingRubberBandBoxState;
167 vtkGeoInteractorStyle(const vtkGeoInteractorStyle&) VTK_DELETE_FUNCTION;
168 void operator=(const vtkGeoInteractorStyle&) VTK_DELETE_FUNCTION;
abstract base class for most VTK objects
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.
static vtkInteractorStyleTrackballCamera * New()
platform-independent render window interaction including picking and frame rate control.
superclass for callback/observer methods
a simple class to control print indentation
a virtual camera for 3D rendering
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
dynamic, self-adjusting array of unsigned char
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
interactive manipulation of the camera
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Geo interface to a camera.