33 #ifndef vtkGeoInteractorStyle_h
34 #define vtkGeoInteractorStyle_h
36 #include "vtkGeovisCoreModule.h"
99 double &wx,
double &wy,
double &wz);
101 double &lon,
double &lat);
103 double &lon,
double &lat);
106 double intersection[3]);
117 vtkGetMacro(LockHeading,
bool);
140 int RubberBandExtent[4];
152 int StartPosition[2];
a virtual camera for 3D rendering
superclass for callback/observer methods
Geo interface to a camera.
virtual void OnMiddleButtonUp()
virtual void RubberBandZoom()
void GetPanCenter(double &px, double &py)
vtkUnsignedCharArray * PixelArray
int RubberBandExtentEnabled
int GetRayIntersection(double origin[3], double direction[3], double intersection[3])
virtual void Dolly(double)
int DraggingRubberBandBoxState
void WidgetInteraction(vtkObject *caller)
Called when the sub widgets have an interaction.
void ResetCameraClippingRange()
Called after camera properties are modified.
void StartState(int newstate)
utility routines used by state changes
virtual void OnLeftButtonUp()
virtual void OnMouseMove()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
vtkGeoCamera * GetGeoCamera()
int ViewportToWorld(double x, double y, double &wx, double &wy, double &wz)
static vtkGeoInteractorStyle * New()
void KeepCameraAboveGround(vtkCamera *camera)
void WorldToLongLat(double wx, double wy, double wz, double &lon, double &lat)
virtual void OnLeftButtonDown()
virtual void OnRightButtonDown()
void DisableRubberBandRedraw()
virtual void OnEnter()
Event bindings.
virtual void OnChar()
OnChar is triggered when an ASCII key is pressed.
virtual void OnMiddleButtonDown()
virtual void SetInteractor(vtkRenderWindowInteractor *interactor)
Set/Get the Interactor wrapper being controlled by this object.
virtual void OnRightButtonUp()
void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
bool InRubberBandRectangle(int x, int y)
vtkSmartPointer< vtkCommand > EventCommand
void ResetCamera()
This can be used to set the camera to the standard view of the earth.
vtkSmartPointer< vtkCompassWidget > CompassWidget
void ViewportToLongLat(double x, double y, double &lon, double &lat)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void EnableRubberBandRedraw()
vtkSmartPointer< vtkGeoCamera > GeoCamera
virtual void SetCurrentRenderer(vtkRenderer *)
Override to make the renderer use this camera subclass.
a simple class to control print indentation
interactive manipulation of the camera
abstract base class for most VTK objects
platform-independent render window interaction including picking and frame rate control.
abstract specification for renderers
dynamic, self-adjusting array of unsigned char
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.