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 =========================================================================*/
29 #ifndef vtkRendererDelegate_h
30 #define vtkRendererDelegate_h
31 
32 #include "vtkRenderingCoreModule.h" // For export macro
33 #include "vtkObject.h"
34 
35 class vtkRenderer;
36 
37 class VTKRENDERINGCORE_EXPORT vtkRendererDelegate : public vtkObject
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
46  virtual void Render(vtkRenderer *r)=0;
47 
49 
53  vtkSetMacro(Used, bool);
54  vtkGetMacro(Used, bool);
55  vtkBooleanMacro(Used, bool);
57 
58 protected:
61 
62  bool Used;
63 
64 private:
65  vtkRendererDelegate(const vtkRendererDelegate&) VTK_DELETE_FUNCTION;
66  void operator=(const vtkRendererDelegate&) VTK_DELETE_FUNCTION;
67 };
68 
69 #endif
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:60
Render the props of a vtkRenderer.
virtual void Render(vtkRenderer *r)=0
Render the props of vtkRenderer if Used is on.
virtual ~vtkRendererDelegate()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.