VTK  9.3.1
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:
28  static vtkPHardwareSelector* New();
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:
53  ~vtkPHardwareSelector() override;
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
vtkHardwareSelector useful for parallel rendering.
implements the device specific code of vtkOpenGLHardwareSelector.
virtual bool CaptureBuffers()
It is possible to use the vtkHardwareSelector for a custom picking.
a simple class to control print indentation
Definition: vtkIndent.h:28
static vtkOpenGLHardwareSelector * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.