23 #ifndef vtkPVJoystickFly_h 24 #define vtkPVJoystickFly_h 27 #include "vtkPVVTKExtensionsRenderingModule.h" 35 void PrintSelf(ostream& os, vtkIndent indent);
42 virtual void OnMouseMove(
int x,
int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi);
43 virtual void OnButtonDown(
int x,
int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi);
44 virtual void OnButtonUp(
int x,
int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi);
51 vtkSetClampMacro(FlySpeed,
double, 1, 30);
52 vtkGetMacro(FlySpeed,
double);
65 double CameraXAxis[3];
66 double CameraYAxis[3];
67 double CameraZAxis[3];
69 void Fly(vtkRenderer* ren, vtkRenderWindowInteractor* rwi,
double scale,
double speed);
70 void ComputeCameraAxes(vtkRenderer*);
Abstraction of style away from button.
Fly camera towards or away from the object.
virtual void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
void PrintSelf(ostream &os, vtkIndent indent)