VTK
vtkRendererDelegate.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRendererDelegate.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
28 #ifndef __vtkRendererDelegate_h
29 #define __vtkRendererDelegate_h
30 
31 #include "vtkRenderingCoreModule.h" // For export macro
32 #include "vtkObject.h"
33 
34 class vtkRenderer;
35 
36 class VTKRENDERINGCORE_EXPORT vtkRendererDelegate : public vtkObject
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43  virtual void Render(vtkRenderer *r)=0;
44 
46 
48  vtkSetMacro(Used, bool);
49  vtkGetMacro(Used, bool);
50  vtkBooleanMacro(Used, bool);
52 
53 protected:
55  virtual ~vtkRendererDelegate();
56 
57  bool Used;
58 
59 private:
60  vtkRendererDelegate(const vtkRendererDelegate&); // Not implemented.
61  void operator=(const vtkRendererDelegate&); // Not implemented.
62 };
63 
64 #endif