VTK
dox/Rendering/OpenGL/vtkTDxDevice.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkTDxDevice.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 =========================================================================*/
00028 #ifndef __vtkTDxDevice_h
00029 #define __vtkTDxDevice_h
00030 
00031 #include "vtkRenderingOpenGLModule.h" // For export macro
00032 #include "vtkObject.h"
00033 
00034 class vtkRenderWindowInteractor;
00035 
00036 class VTKRENDERINGOPENGL_EXPORT vtkTDxDevice : public vtkObject
00037 {
00038 public:
00039   vtkTypeMacro(vtkTDxDevice,vtkObject);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00043   bool GetInitialized() const;
00044 
00049   virtual void Close()=0;
00050 
00053   vtkRenderWindowInteractor *GetInteractor() const;
00054 
00058   void SetInteractor(vtkRenderWindowInteractor *i);
00059 
00060 protected:
00062   vtkTDxDevice();
00063 
00067   virtual ~vtkTDxDevice();
00068 
00069   bool Initialized;
00070   vtkRenderWindowInteractor *Interactor;
00071 
00072 private:
00073   vtkTDxDevice(const vtkTDxDevice&);  // Not implemented.
00074   void operator=(const vtkTDxDevice&);  // Not implemented.
00075 };
00076 
00077 #endif