26 #ifndef vtkCameraManipulator_h 27 #define vtkCameraManipulator_h 29 #include "vtkObject.h" 30 #include "vtkPVVTKExtensionsRenderingModule.h" 34 class vtkRenderWindowInteractor;
41 void PrintSelf(ostream& os, vtkIndent indent);
48 virtual void StartInteraction();
49 virtual void EndInteraction();
52 virtual void OnMouseMove(
int x,
int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren);
53 virtual void OnButtonDown(
int x,
int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren);
54 virtual void OnButtonUp(
int x,
int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren);
62 virtual void OnKeyUp(vtkRenderWindowInteractor* iren);
63 virtual void OnKeyDown(vtkRenderWindowInteractor* iren);
72 vtkSetMacro(Button,
int);
73 vtkGetMacro(Button,
int);
74 vtkSetMacro(Shift,
int);
75 vtkGetMacro(Shift,
int);
76 vtkBooleanMacro(Shift,
int);
77 vtkSetMacro(Control,
int);
78 vtkGetMacro(Control,
int);
79 vtkBooleanMacro(Control,
int);
86 vtkSetVector3Macro(Center,
double);
87 vtkGetVector3Macro(Center,
double);
94 vtkSetMacro(RotationFactor,
double);
95 vtkGetMacro(RotationFactor,
double);
102 vtkSetStringMacro(ManipulatorName);
103 vtkGetStringMacro(ManipulatorName);
126 double DisplayCenter[2];
127 void ComputeDisplayCenter(vtkRenderer* ren);
Helper class for Camera Manipulators.
Abstraction of style away from button.
vtkCameraManipulatorGUIHelper * GUIHelper