Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

GUI/Client/vtkPVTrackballZoom.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVTrackballZoom.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
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&); // Not implemented
00053   void operator=(const vtkPVTrackballZoom&); // Not implemented
00054 };
00055 
00056 #endif

Generated on Tue May 30 12:31:41 2006 for ParaView by doxygen 1.3.5