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

GUI/Client/vtkPVTrackballRotate.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVTrackballRotate.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 =========================================================================*/
00022 #ifndef __vtkPVTrackballRotate_h
00023 #define __vtkPVTrackballRotate_h
00024 
00025 #include "vtkPVCameraManipulator.h"
00026 
00027 class VTK_EXPORT vtkPVTrackballRotate : public vtkPVCameraManipulator
00028 {
00029 public:
00030   static vtkPVTrackballRotate *New();
00031   vtkTypeRevisionMacro(vtkPVTrackballRotate, vtkPVCameraManipulator);
00032   void PrintSelf(ostream& os, vtkIndent indent);
00033   
00035 
00037   virtual void OnMouseMove(int x, int y, vtkRenderer *ren,
00038                            vtkRenderWindowInteractor *rwi);
00039   virtual void OnButtonDown(int x, int y, vtkRenderer *ren,
00040                             vtkRenderWindowInteractor *rwi);
00041   virtual void OnButtonUp(int x, int y, vtkRenderer *ren,
00042                           vtkRenderWindowInteractor *rwi);
00044 
00046 
00047   vtkSetVector3Macro(Center, float);
00048   vtkGetVector3Macro(Center, float);
00050   
00051 protected:
00052   vtkPVTrackballRotate();
00053   ~vtkPVTrackballRotate();
00054 
00055   float Center[3];
00056   float DisplayCenter[2];
00057 
00058   vtkPVTrackballRotate(const vtkPVTrackballRotate&); // Not implemented
00059   void operator=(const vtkPVTrackballRotate&); // Not implemented
00060 };
00061 
00062 #endif

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