Go to the documentation of this file.
79 #ifndef vtkInteractorStyleUnicam_h
80 #define vtkInteractorStyleUnicam_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
146 double WorldUpVector[3];
162 double ax,
double ay,
double az,
171 double *rightV,
double *upV);
183 #endif // vtkInteractorStyleUnicam_h
void SetWorldUpVector(double a[3])
virtual void OnLeftButtonDown()
find world x,y,z corresponding to display x,y,z
vtkRenderer * FocusSphereRenderer
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
static vtkInteractorStyleUnicam * New()
#define vtkGetVectorMacro(name, type, count)
void RotateXY(int X, int Y)
vtkInteractorStyleUnicam()
#define VTKINTERACTIONSTYLE_EXPORT
virtual void OnMouseMove()
void MyTranslateCamera(double v[3])
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
virtual ~vtkInteractorStyleUnicam()
void NormalizeMouseXY(int X, int Y, double *NX, double *NY)
virtual void OnLeftButtonUp()
GLboolean GLboolean GLboolean GLboolean a
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)
GLint GLint GLint GLint GLint GLint y
void PrintSelf(ostream &os, vtkIndent indent)
provides Unicam navigation style
abstract specification for renderers
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)