VTK
dox/Rendering/Core/vtkRendererDelegate.h
Go to the documentation of this file.
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 "vtkRenderingCoreModule.h" // For export macro
00032 #include "vtkObject.h"
00033 
00034 class vtkRenderer;
00035 
00036 class VTKRENDERINGCORE_EXPORT vtkRendererDelegate : public vtkObject
00037 {
00038 public:
00039   vtkTypeMacro(vtkRendererDelegate,vtkObject);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00043   virtual void Render(vtkRenderer *r)=0;
00044 
00046 
00048   vtkSetMacro(Used, bool);
00049   vtkGetMacro(Used, bool);
00050   vtkBooleanMacro(Used, bool);
00052 
00053 protected:
00054   vtkRendererDelegate();
00055   virtual ~vtkRendererDelegate();
00056 
00057   bool Used;
00058 
00059 private:
00060   vtkRendererDelegate(const vtkRendererDelegate&);  // Not implemented.
00061   void operator=(const vtkRendererDelegate&);  // Not implemented.
00062 };
00063 
00064 #endif