VTK
dox/Rendering/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 "vtkObject.h"
00032 
00033 class vtkRenderWindowInteractor;
00034 
00035 class VTK_RENDERING_EXPORT vtkTDxDevice : public vtkObject
00036 {
00037 public:
00038   vtkTypeMacro(vtkTDxDevice,vtkObject);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00042   bool GetInitialized() const;
00043   
00048   virtual void Close()=0;
00049   
00052   vtkRenderWindowInteractor *GetInteractor() const;
00053   
00057   void SetInteractor(vtkRenderWindowInteractor *i);
00058   
00059 protected:
00061   vtkTDxDevice();
00062   
00066   virtual ~vtkTDxDevice();
00067 
00068   bool Initialized;
00069   vtkRenderWindowInteractor *Interactor;
00070   
00071 private:
00072   vtkTDxDevice(const vtkTDxDevice&);  // Not implemented.
00073   void operator=(const vtkTDxDevice&);  // Not implemented.
00074 };
00075 
00076 #endif