VTK
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 
33 #include "vtkRenderingParallelModule.h" // For export macro
35 
36 class VTKRENDERINGPARALLEL_EXPORT vtkPHardwareSelector : public vtkOpenGLHardwareSelector
37 {
38 public:
39  static vtkPHardwareSelector* New();
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 
62 protected:
64  ~vtkPHardwareSelector() override;
65 
66  void StartRender();
67  void EndRender();
68 
70 
71 private:
73  void operator=(const vtkPHardwareSelector&) = delete;
74 
75  class vtkObserver;
76  friend class vtkObserver;
77  vtkObserver* Observer;
78 
79 };
80 
81 #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:39
static vtkOpenGLHardwareSelector * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.