VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTDxInteractorStyle.h 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 =========================================================================*/ 00034 #ifndef __vtkTDxInteractorStyle_h 00035 #define __vtkTDxInteractorStyle_h 00036 00037 #include "vtkObject.h" 00038 00039 class vtkTDxMotionEventInfo; 00040 class vtkRenderer; 00041 class vtkTDxInteractorStyleSettings; 00042 00043 class VTK_RENDERING_EXPORT vtkTDxInteractorStyle : public vtkObject 00044 { 00045 public: 00046 vtkTypeMacro(vtkTDxInteractorStyle,vtkObject); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00048 00049 //BTX 00052 virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo); 00053 00055 virtual void OnButtonPressedEvent(int button); 00056 00058 00059 virtual void OnButtonReleasedEvent(int button); 00060 //ETX 00062 00064 00070 virtual void ProcessEvent(vtkRenderer *renderer, 00071 unsigned long event, 00072 void *calldata); 00074 00076 00078 vtkGetObjectMacro(Settings,vtkTDxInteractorStyleSettings); 00079 virtual void SetSettings(vtkTDxInteractorStyleSettings *settings); 00081 00082 protected: 00083 vtkTDxInteractorStyle(); 00084 virtual ~vtkTDxInteractorStyle(); 00085 00086 vtkTDxInteractorStyleSettings *Settings; 00087 00088 vtkRenderer *Renderer; 00089 00090 private: 00091 vtkTDxInteractorStyle(const vtkTDxInteractorStyle&); // Not implemented. 00092 void operator=(const vtkTDxInteractorStyle&); // Not implemented. 00093 }; 00094 #endif