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 "vtkRenderingCoreModule.h" // For export macro 00038 #include "vtkObject.h" 00039 00040 class vtkTDxMotionEventInfo; 00041 class vtkRenderer; 00042 class vtkTDxInteractorStyleSettings; 00043 00044 class VTKRENDERINGCORE_EXPORT vtkTDxInteractorStyle : public vtkObject 00045 { 00046 public: 00047 vtkTypeMacro(vtkTDxInteractorStyle,vtkObject); 00048 void PrintSelf(ostream& os, vtkIndent indent); 00049 00050 //BTX 00053 virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo); 00054 00056 virtual void OnButtonPressedEvent(int button); 00057 00059 00060 virtual void OnButtonReleasedEvent(int button); 00061 //ETX 00063 00065 00071 virtual void ProcessEvent(vtkRenderer *renderer, 00072 unsigned long event, 00073 void *calldata); 00075 00077 00079 vtkGetObjectMacro(Settings,vtkTDxInteractorStyleSettings); 00080 virtual void SetSettings(vtkTDxInteractorStyleSettings *settings); 00082 00083 protected: 00084 vtkTDxInteractorStyle(); 00085 virtual ~vtkTDxInteractorStyle(); 00086 00087 vtkTDxInteractorStyleSettings *Settings; 00088 00089 vtkRenderer *Renderer; 00090 00091 private: 00092 vtkTDxInteractorStyle(const vtkTDxInteractorStyle&); // Not implemented. 00093 void operator=(const vtkTDxInteractorStyle&); // Not implemented. 00094 }; 00095 #endif