65#ifndef vtkInteractorStyleUnicam_h
66#define vtkInteractorStyleUnicam_h
68#include "vtkInteractionStyleModule.h"
72VTK_ABI_NAMESPACE_BEGIN
101 vtkGetVectorMacro(WorldUpVector,
double, 3);
134 double WorldUpVector[3];
150 double cx,
double cy,
double cz,
double ax,
double ay,
double az,
double angle);
represents an object (geometry & properties) in a rendered scene
a virtual camera for 3D rendering
a simple class to control print indentation
provides Unicam navigation style
void ChooseXY(int X, int Y)
~vtkInteractorStyleUnicam() override
void OnLeftButtonUp() override
Concrete implementation of event bindings.
void NormalizeMouseXY(int X, int Y, double *NX, double *NY)
virtual void OnLeftButtonMove()
Concrete implementation of event bindings.
vtkInteractorStyleUnicam()
vtkWorldPointPicker * InteractionPicker
static vtkInteractorStyleUnicam * New()
void OnMouseMove() override
Concrete implementation of event bindings.
void MyTranslateCamera(double v[3])
void DollyXY(int X, int Y)
void OnLeftButtonDown() override
Concrete implementation of event bindings.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RotateXY(int X, int Y)
void MyRotateCamera(double cx, double cy, double cz, double ax, double ay, double az, double angle)
void SetWorldUpVector(double a[3])
void GetRightVandUpV(double *p, vtkCamera *cam, double *rightV, double *upV)
vtkRenderer * FocusSphereRenderer
void SetWorldUpVector(double x, double y, double z)
void OnTimer() override
OnTimer calls RotateCamera, RotateActor etc which should be overridden by style subclasses.
provide event-driven interface to the rendering window (defines trackball mode)
abstract specification for renderers
find world x,y,z corresponding to display x,y,z