VTK  9.4.20250102
vtkPHardwareSelector.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
18#ifndef vtkPHardwareSelector_h
19#define vtkPHardwareSelector_h
20
22#include "vtkRenderingParallelModule.h" // For export macro
23
24VTK_ABI_NAMESPACE_BEGIN
25class VTKRENDERINGPARALLEL_EXPORT vtkPHardwareSelector : public vtkOpenGLHardwareSelector
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
33
38 vtkSetMacro(ProcessIsRoot, bool);
39 vtkGetMacro(ProcessIsRoot, bool);
40 vtkBooleanMacro(ProcessIsRoot, bool);
42
49 bool CaptureBuffers() override;
50
51protected:
54
56 void EndRender();
57
59
60private:
62 void operator=(const vtkPHardwareSelector&) = delete;
63
64 class vtkObserver;
65 friend class vtkObserver;
66 vtkObserver* Observer;
67};
68
69VTK_ABI_NAMESPACE_END
70#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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()