VTK
dox/Rendering/Tk/vtkXRenderWindowTclInteractor.h
Go to the documentation of this file.
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 "vtkXRenderWindowInteractor.h"
00035 
00036 class vtkXRenderWindowTclInteractorInternals;
00037 
00038 class vtkXRenderWindowTclInteractor : public vtkXRenderWindowInteractor
00039 {
00040 public:
00041   static vtkXRenderWindowTclInteractor *New();
00042   vtkTypeMacro(vtkXRenderWindowTclInteractor,vtkXRenderWindowInteractor);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00046   virtual void Initialize();
00047 
00050   virtual void Initialize(XtAppContext app);
00051 
00053 
00060   virtual void Enable();
00061   virtual void Disable();
00063 
00067   virtual void Start();
00068 
00069 protected:
00070   vtkXRenderWindowTclInteractor();
00071   ~vtkXRenderWindowTclInteractor();
00072 
00074 
00076   virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration);
00077   virtual int InternalDestroyTimer(int platformTimerId);
00079 
00080 private:
00081   vtkXRenderWindowTclInteractorInternals* Internal;
00082 
00083   vtkXRenderWindowTclInteractor(const vtkXRenderWindowTclInteractor&);  // Not implemented.
00084   void operator=(const vtkXRenderWindowTclInteractor&);  // Not implemented.
00085 };
00086 
00087 #endif