00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkRendererDelegate.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 __vtkRendererDelegate_h 00029 #define __vtkRendererDelegate_h 00030 00031 #include "vtkObject.h" 00032 00033 class vtkRenderer; 00034 00035 class VTK_RENDERING_EXPORT vtkRendererDelegate : public vtkObject 00036 { 00037 public: 00038 vtkTypeMacro(vtkRendererDelegate,vtkObject); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 00042 virtual void Render(vtkRenderer *r)=0; 00043 00045 00047 vtkSetMacro(Used, bool); 00048 vtkGetMacro(Used, bool); 00049 vtkBooleanMacro(Used, bool); 00051 00052 protected: 00053 vtkRendererDelegate(); 00054 virtual ~vtkRendererDelegate(); 00055 00056 bool Used; 00057 00058 private: 00059 vtkRendererDelegate(const vtkRendererDelegate&); // Not implemented. 00060 void operator=(const vtkRendererDelegate&); // Not implemented. 00061 }; 00062 00063 #endif