35 #ifndef __vtkGeoInteractorStyle_h
36 #define __vtkGeoInteractorStyle_h
38 #include "vtkGeovisCoreModule.h"
40 #include "vtkSmartPointer.h"
46 class vtkUnsignedCharArray;
55 void PrintSelf(ostream& os, vtkIndent indent);
59 virtual void OnEnter();
60 virtual void OnLeave();
68 virtual void OnChar();
71 virtual void RubberBandZoom();
76 void RedrawRectangle();
79 void StartState(
int newstate);
88 void WidgetInteraction(vtkObject *caller);
92 virtual void SetInteractor(vtkRenderWindowInteractor *interactor);
94 int ViewportToWorld(
double x,
double y,
95 double &wx,
double &wy,
double &wz);
96 void WorldToLongLat(
double wx,
double wy,
double wz,
97 double &lon,
double &lat);
98 void ViewportToLongLat(
double x,
double y,
99 double &lon,
double &lat);
100 int GetRayIntersection(
double origin[3],
102 double intersection[3]);
105 virtual void SetCurrentRenderer(vtkRenderer*);
109 vtkGetMacro(LockHeading,
bool);
110 vtkSetMacro(LockHeading,
bool);
111 vtkBooleanMacro(LockHeading,
bool);
115 void ResetCameraClippingRange();
123 virtual void Dolly(
double);
130 int RubberBandExtent[4];
133 void EnableRubberBandRedraw();
134 void DisableRubberBandRedraw();
135 bool InRubberBandRectangle(
int x,
int y);
136 void DrawRectangle();
138 void KeepCameraAboveGround(vtkCamera* camera);
140 void GetPanCenter(
double &px,
double &py);
142 int StartPosition[2];
void PrintSelf(ostream &os, vtkIndent indent)
virtual void OnMiddleButtonUp()
int DraggingRubberBandBoxState
virtual void OnRightButtonUp()
static vtkInteractorStyleTrackballCamera * New()
vtkSmartPointer< vtkCompassWidget > CompassWidget
virtual void OnLeftButtonDown()
vtkSmartPointer< vtkGeoCamera > GeoCamera
virtual void OnMiddleButtonDown()
virtual void OnMouseMove()
virtual void OnRightButtonDown()
vtkUnsignedCharArray * PixelArray
int RubberBandExtentEnabled
vtkSmartPointer< vtkCommand > EventCommand
interactive manipulation of the camera
virtual void OnLeftButtonUp()
Geo interface to a camera.