VTK
vtkRendererNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRendererNode.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 =========================================================================*/
22 #ifndef vtkRendererNode_h
23 #define vtkRendererNode_h
24 
25 #include "vtkRenderingSceneGraphModule.h" // For export macro
26 #include "vtkViewNode.h"
27 
28 class vtkCollection;
29 
30 class VTKRENDERINGSCENEGRAPH_EXPORT vtkRendererNode :
31  public vtkViewNode
32 {
33 public:
34  static vtkRendererNode* New();
35  vtkTypeMacro(vtkRendererNode, vtkViewNode);
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
41  virtual void Build(bool prepass) override;
42 
46  virtual void Synchronize(bool prepass) override;
47 
48 protected:
50  ~vtkRendererNode();
51 
52  int Size[2];
53 
54 private:
55  vtkRendererNode(const vtkRendererNode&) = delete;
56  void operator=(const vtkRendererNode&) = delete;
57 };
58 
59 #endif
virtual void Build(bool)
Builds myself.
Definition: vtkViewNode.h:54
virtual void Synchronize(bool)
Ensures that my state agrees with my Renderable's.
Definition: vtkViewNode.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkViewNode specialized for vtkRenderers
create and manipulate ordered lists of objects
Definition: vtkCollection.h:48
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
a node within a VTK scene graph
Definition: vtkViewNode.h:37