VTK  9.1.0
vtkPHardwareSelector.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPHardwareSelector.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=========================================================================*/
30#ifndef vtkPHardwareSelector_h
31#define vtkPHardwareSelector_h
32
34#include "vtkRenderingParallelModule.h" // For export macro
35
36class VTKRENDERINGPARALLEL_EXPORT vtkPHardwareSelector : public vtkOpenGLHardwareSelector
37{
38public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
44
49 vtkSetMacro(ProcessIsRoot, bool);
50 vtkGetMacro(ProcessIsRoot, bool);
51 vtkBooleanMacro(ProcessIsRoot, bool);
53
60 bool CaptureBuffers() override;
61
62protected:
65
67 void EndRender();
68
70
71private:
73 void operator=(const vtkPHardwareSelector&) = delete;
74
75 class vtkObserver;
76 friend class vtkObserver;
77 vtkObserver* Observer;
78};
79
80#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
implements the device specific code of vtkOpenGLHardwareSelector.
vtkHardwareSelector useful for parallel rendering.
bool CaptureBuffers() override
Overridden to only allow the superclass implementation on the root node.
~vtkPHardwareSelector() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPHardwareSelector * New()