00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00023 #ifndef __vtkPVTrackballZoom_h
00024 #define __vtkPVTrackballZoom_h
00025
00026 #include "vtkPVCameraManipulator.h"
00027
00028 class VTK_EXPORT vtkPVTrackballZoom : public vtkPVCameraManipulator
00029 {
00030 public:
00031 static vtkPVTrackballZoom *New();
00032 vtkTypeRevisionMacro(vtkPVTrackballZoom, vtkPVCameraManipulator);
00033 void PrintSelf(ostream& os, vtkIndent indent);
00034
00036
00038 virtual void OnMouseMove(int x, int y, vtkRenderer *ren,
00039 vtkRenderWindowInteractor *rwi);
00040 virtual void OnButtonDown(int x, int y, vtkRenderer *ren,
00041 vtkRenderWindowInteractor *rwi);
00042 virtual void OnButtonUp(int x, int y, vtkRenderer *ren,
00043 vtkRenderWindowInteractor *rwi);
00045
00046 protected:
00047 vtkPVTrackballZoom();
00048 ~vtkPVTrackballZoom();
00049
00050 float ZoomScale;
00051
00052 vtkPVTrackballZoom(const vtkPVTrackballZoom&);
00053 void operator=(const vtkPVTrackballZoom&);
00054 };
00055
00056 #endif