VTK  9.2.6
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
31class vtkCollection;
32
33class VTKRENDERINGSCENEGRAPH_EXPORT vtkRendererNode : public vtkViewNode
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
43 void Build(bool prepass) override;
44
48 vtkGetVector2Macro(Size, int);
49 vtkSetVector2Macro(Size, int);
50
54 vtkGetVector4Macro(Viewport, double);
55 vtkSetVector4Macro(Viewport, double);
56
60 vtkGetVector2Macro(Scale, int);
61 vtkSetVector2Macro(Scale, int);
62
63protected:
65 ~vtkRendererNode() override;
66
67 int Size[2];
68 double Viewport[4];
69 int Scale[2];
70
71private:
72 vtkRendererNode(const vtkRendererNode&) = delete;
73 void operator=(const vtkRendererNode&) = delete;
74};
75
76#endif
create and manipulate ordered lists of objects
a simple class to control print indentation
Definition vtkIndent.h:40
vtkViewNode specialized for vtkRenderers
~vtkRendererNode() override
static vtkRendererNode * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Build(bool prepass) override
Build containers for our child nodes.
a node within a VTK scene graph
Definition vtkViewNode.h:42