65 #ifndef vtkInteractorStyleUnicam_h
66 #define vtkInteractorStyleUnicam_h
68 #include "vtkInteractionStyleModule.h"
71 VTK_ABI_NAMESPACE_BEGIN
98 void SetWorldUpVector(
double x,
double y,
double z);
99 vtkGetVectorMacro(WorldUpVector,
double, 3);
108 virtual void OnLeftButtonMove();
132 double WorldUpVector[3];
140 void ChooseXY(
int X,
int Y);
141 void RotateXY(
int X,
int Y);
142 void DollyXY(
int X,
int Y);
143 void PanXY(
int X,
int Y);
146 void MyTranslateCamera(
double v[3]);
148 double cx,
double cy,
double cz,
double ax,
double ay,
double az,
double angle);
155 void GetRightVandUpV(
double* p,
vtkCamera* cam,
double* rightV,
double* upV);
158 void NormalizeMouseXY(
int X,
int Y,
double* NX,
double* NY);
161 double WindowAspect();
168 VTK_ABI_NAMESPACE_END
169 #endif // vtkInteractorStyleUnicam_h
virtual void OnLeftButtonDown()
represents an object (geometry & properties) in a rendered scene
virtual void OnLeftButtonUp()
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
abstract specification for renderers
vtkWorldPointPicker * InteractionPicker
virtual void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
a simple class to control print indentation
a virtual camera for 3D rendering
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetWorldUpVector(double a[3])
provides Unicam navigation style
provide event-driven interface to the rendering window (defines trackball mode)
vtkRenderer * FocusSphereRenderer
find world x,y,z corresponding to display x,y,z
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.