VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkXRenderWindowTclInteractor.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 =========================================================================*/ 00031 #ifndef __vtkXRenderWindowTclInteractor_h 00032 #define __vtkXRenderWindowTclInteractor_h 00033 00034 #include "vtkRenderingOpenGLModule.h" // For export macro 00035 #include "vtkXRenderWindowInteractor.h" 00036 00037 class vtkXRenderWindowTclInteractorInternals; 00038 00039 class VTKRENDERINGOPENGL_EXPORT vtkXRenderWindowTclInteractor : public vtkXRenderWindowInteractor 00040 { 00041 public: 00042 static vtkXRenderWindowTclInteractor *New(); 00043 vtkTypeMacro(vtkXRenderWindowTclInteractor,vtkXRenderWindowInteractor); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 virtual void Initialize(); 00048 00051 virtual void Initialize(XtAppContext app); 00052 00054 00061 virtual void Enable(); 00062 virtual void Disable(); 00064 00068 virtual void Start(); 00069 00070 protected: 00071 vtkXRenderWindowTclInteractor(); 00072 ~vtkXRenderWindowTclInteractor(); 00073 00075 00077 virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration); 00078 virtual int InternalDestroyTimer(int platformTimerId); 00080 00081 private: 00082 vtkXRenderWindowTclInteractorInternals* Internal; 00083 00084 vtkXRenderWindowTclInteractor(const vtkXRenderWindowTclInteractor&); // Not implemented. 00085 void operator=(const vtkXRenderWindowTclInteractor&); // Not implemented. 00086 }; 00087 00088 #endif