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 =========================================================================*/
25 #ifndef vtkRendererNode_h
26 #define vtkRendererNode_h
27 
28 #include "vtkRenderingSceneGraphModule.h" // For export macro
29 #include "vtkViewNode.h"
30 
31 class vtkCollection;
32 
33 class VTKRENDERINGSCENEGRAPH_EXPORT vtkRendererNode :
34  public vtkViewNode
35 {
36 public:
37  static vtkRendererNode* New();
38  vtkTypeMacro(vtkRendererNode, vtkViewNode);
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
44  virtual void Build(bool prepass) override;
45 
49  virtual void Synchronize(bool prepass) override;
50 
51 protected:
53  ~vtkRendererNode();
54 
55  int Size[2];
56 
57 private:
58  vtkRendererNode(const vtkRendererNode&) = delete;
59  void operator=(const vtkRendererNode&) = delete;
60 };
61 
62 #endif
virtual void Build(bool)
Builds myself.
Definition: vtkViewNode.h:57
virtual void Synchronize(bool)
Ensures that my state agrees with my Renderable's.
Definition: vtkViewNode.h:62
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:39
vtkViewNode specialized for vtkRenderers
create and manipulate ordered lists of objects
Definition: vtkCollection.h:51
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:40