Go to the documentation of this file.
79 #ifndef vtkInteractorStyleUnicam_h
80 #define vtkInteractorStyleUnicam_h
82 #include "vtkInteractionStyleModule.h"
97 #define VTK_UNICAM_NONE 0
98 #define VTK_UNICAM_BUTTON_LEFT 1
99 #define VTK_UNICAM_BUTTON_MIDDLE 2
100 #define VTK_UNICAM_BUTTON_RIGHT 3
103 #define VTK_UNICAM_CAM_INT_ROT 0
104 #define VTK_UNICAM_CAM_INT_CHOOSE 1
105 #define VTK_UNICAM_CAM_INT_PAN 2
106 #define VTK_UNICAM_CAM_INT_DOLLY 3
117 vtkGetVectorMacro(WorldUpVector,
double, 3);
150 double WorldUpVector[3];
166 double ax,
double ay,
double az,
175 double *rightV,
double *upV);
187 #endif // vtkInteractorStyleUnicam_h
void SetWorldUpVector(double a[3])
void OnMouseMove() override
Concrete implementation of event bindings.
void OnTimer() override
OnTimer calls RotateCamera, RotateActor etc which should be overridden by style subclasses.
find world x,y,z corresponding to display x,y,z
vtkRenderer * FocusSphereRenderer
~vtkInteractorStyleUnicam() override
void OnLeftButtonDown() override
static vtkInteractorStyleUnicam * New()
void RotateXY(int X, int Y)
vtkInteractorStyleUnicam()
void MyTranslateCamera(double v[3])
void OnLeftButtonUp() override
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
virtual void OnLeftButtonMove()
void ChooseXY(int X, int Y)
a virtual camera for 3D rendering
void NormalizeMouseXY(int X, int Y, double *NX, double *NY)
provide event-driven interface to the rendering window (defines trackball mode)
void DollyXY(int X, int Y)
void GetRightVandUpV(double *p, vtkCamera *cam, double *rightV, double *upV)
provides Unicam navigation style
abstract specification for renderers
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkWorldPointPicker * InteractionPicker
void SetWorldUpVector(double x, double y, double z)
void MyRotateCamera(double cx, double cy, double cz, double ax, double ay, double az, double angle)