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

Servers/Filters/vtkPVGenericRenderWindowInteractor.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVGenericRenderWindowInteractor.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 =========================================================================*/
00019 #ifndef __vtkPVGenericRenderWindowInteractor_h
00020 #define __vtkPVGenericRenderWindowInteractor_h
00021 
00022 #include "vtkRenderWindowInteractor.h"
00023 
00024 class vtkPVRenderViewProxy;
00025 class vtkRenderer;
00026 
00027 class VTK_EXPORT vtkPVGenericRenderWindowInteractor : public vtkRenderWindowInteractor
00028 {
00029 public:
00030   static vtkPVGenericRenderWindowInteractor *New();
00031   vtkTypeRevisionMacro(vtkPVGenericRenderWindowInteractor, vtkRenderWindowInteractor);
00032   void PrintSelf(ostream& os, vtkIndent indent);
00033   
00034   void SetPVRenderView(vtkPVRenderViewProxy *view);
00035   vtkGetObjectMacro(PVRenderView, vtkPVRenderViewProxy);
00036 
00040   virtual void ConfigureEvent();
00041 
00043 
00046   void SetRenderer(vtkRenderer *view);
00047   vtkGetObjectMacro(Renderer,vtkRenderer);
00048   virtual vtkRenderer *FindPokedRenderer(int,int);
00050 
00052   void SetMoveEventInformationFlipY(int x, int y);
00053 
00055 
00061   void SetInteractiveRenderEnabled(int);
00062   vtkGetMacro(InteractiveRenderEnabled,int);
00063   vtkBooleanMacro(InteractiveRenderEnabled,int);
00064   virtual void Render();
00066 
00068 
00069   virtual void OnLeftPress(int x, int y, int control, int shift);
00070   virtual void OnMiddlePress(int x, int y, int control, int shift);
00071   virtual void OnRightPress(int x, int y, int control, int shift);
00072   virtual void OnLeftRelease(int x, int y, int control, int shift);
00073   virtual void OnMiddleRelease(int x, int y, int control, int shift);
00074   virtual void OnRightRelease(int x, int y, int control, int shift);
00075   virtual void OnMove(int x, int y);
00076   virtual void OnKeyPress(char keyCode, int x, int y);
00078 
00079 protected:
00080   vtkPVGenericRenderWindowInteractor();
00081   ~vtkPVGenericRenderWindowInteractor();
00082 
00083   vtkPVRenderViewProxy *PVRenderView;
00084   int InteractiveRenderEnabled;
00085   vtkRenderer* Renderer;
00086 
00087 private:
00088   vtkPVGenericRenderWindowInteractor(const vtkPVGenericRenderWindowInteractor&); // Not implemented
00089   void operator=(const vtkPVGenericRenderWindowInteractor&); // Not implemented
00090 };
00091 
00092 #endif

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