VTK  9.3.20240418
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 
24 VTK_ABI_NAMESPACE_BEGIN
25 class VTKRENDERINGPARALLEL_EXPORT vtkPHardwareSelector : public vtkOpenGLHardwareSelector
26 {
27 public:
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 
51 protected:
54 
55  void StartRender();
56  void EndRender();
57 
59 
60 private:
62  void operator=(const vtkPHardwareSelector&) = delete;
63 
64  class vtkObserver;
65  friend class vtkObserver;
66  vtkObserver* Observer;
67 };
68 
69 VTK_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
static vtkPHardwareSelector * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.