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 "vtkObject.h"
32 
33 class vtkRenderer;
34 
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42  virtual void Render(vtkRenderer *r)=0;
43 
45 
47  vtkSetMacro(Used, bool);
48  vtkGetMacro(Used, bool);
49  vtkBooleanMacro(Used, bool);
51 
52 protected:
54  virtual ~vtkRendererDelegate();
55 
56  bool Used;
57 
58 private:
59  vtkRendererDelegate(const vtkRendererDelegate&); // Not implemented.
60  void operator=(const vtkRendererDelegate&); // Not implemented.
61 };
62 
63 #endif