00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkTDxInteractorStyle.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/ 00031 #ifndef __vtkTDxInteractorStyle_h 00032 #define __vtkTDxInteractorStyle_h 00033 00034 #include "vtkObject.h" 00035 00036 class vtkTDxMotionEventInfo; 00037 class vtkRenderer; 00038 class vtkTDxInteractorStyleSettings; 00039 00040 class VTK_RENDERING_EXPORT vtkTDxInteractorStyle : public vtkObject 00041 { 00042 public: 00043 vtkTypeRevisionMacro(vtkTDxInteractorStyle,vtkObject); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00046 //BTX 00049 virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo); 00050 00052 virtual void OnButtonPressedEvent(int button); 00053 00055 00056 virtual void OnButtonReleasedEvent(int button); 00057 //ETX 00059 00061 00067 virtual void ProcessEvent(vtkRenderer *renderer, 00068 unsigned long event, 00069 void *calldata); 00071 00073 00075 vtkGetObjectMacro(Settings,vtkTDxInteractorStyleSettings); 00076 virtual void SetSettings(vtkTDxInteractorStyleSettings *settings); 00078 00079 protected: 00080 vtkTDxInteractorStyle(); 00081 virtual ~vtkTDxInteractorStyle(); 00082 00083 vtkTDxInteractorStyleSettings *Settings; 00084 00085 vtkRenderer *Renderer; 00086 00087 private: 00088 vtkTDxInteractorStyle(const vtkTDxInteractorStyle&); // Not implemented. 00089 void operator=(const vtkTDxInteractorStyle&); // Not implemented. 00090 }; 00091 #endif