Go to the documentation of this file.
33 #ifndef vtkGeoInteractorStyle_h
34 #define vtkGeoInteractorStyle_h
36 #include "vtkGeovisCoreModule.h"
46 #if !defined(VTK_LEGACY_REMOVE)
100 double &wx,
double &wy,
double &wz);
102 double &lon,
double &lat);
104 double &lon,
double &lat);
107 double intersection[3]);
118 vtkGetMacro(LockHeading,
bool);
119 vtkSetMacro(LockHeading,
bool);
120 vtkBooleanMacro(LockHeading,
bool);
141 int RubberBandExtent[4];
153 int StartPosition[2];
171 #endif //VTK_LEGACY_REMOVE
int ViewportToWorld(double x, double y, double &wx, double &wy, double &wz)
void ViewportToLongLat(double x, double y, double &lon, double &lat)
superclass for callback/observer methods
void SetCurrentRenderer(vtkRenderer *) override
Override to make the renderer use this camera subclass.
bool InRubberBandRectangle(int x, int y)
vtkSmartPointer< vtkGeoCamera > GeoCamera
int RubberBandExtentEnabled
void WorldToLongLat(double wx, double wy, double wz, double &lon, double &lat)
void GetPanCenter(double &px, double &py)
int GetRayIntersection(double origin[3], double direction[3], double intersection[3])
dynamic, self-adjusting array of unsigned char
abstract base class for most VTK objects
void OnTimer() override
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
~vtkGeoInteractorStyle() override
vtkUnsignedCharArray * PixelArray
void OnRightButtonDown() override
void DisableRubberBandRedraw()
vtkGeoCamera * GetGeoCamera()
void OnMiddleButtonUp() override
void OnRightButtonUp() override
void OnChar() override
Sets up the keypress-i event.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void StartState(int newstate) override
utility routines used by state changes
void SetInteractor(vtkRenderWindowInteractor *interactor) override
Set/Get the Interactor wrapper being controlled by this object.
void ResetCameraClippingRange()
Called after camera properties are modified.
void OnLeftButtonDown() override
a simple class to control print indentation
void EnableRubberBandRedraw()
a virtual camera for 3D rendering
void OnEnter() override
Event bindings.
Geo interface to a camera.
platform-independent render window interaction including picking and frame rate control.
vtkSmartPointer< vtkCompassWidget > CompassWidget
virtual void RubberBandZoom()
void WidgetInteraction(vtkObject *caller)
Called when the sub widgets have an interaction.
void OnLeftButtonUp() override
vtkSmartPointer< vtkCommand > EventCommand
void OnMiddleButtonDown() override
int DraggingRubberBandBoxState
interactive manipulation of the camera
abstract specification for renderers
void ResetCamera()
This can be used to set the camera to the standard view of the earth.
void OnMouseMove() override
Generic event bindings can be overridden in subclasses.
void Dolly(double) override
static vtkGeoInteractorStyle * New()
void KeepCameraAboveGround(vtkCamera *camera)