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
34 #include "vtkOpenGLHardwareSelector.h"
35 
36 class VTKRENDERINGPARALLEL_EXPORT vtkPHardwareSelector : public vtkOpenGLHardwareSelector
37 {
38 public:
39  static vtkPHardwareSelector* New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
49  vtkSetMacro(ProcessIsRoot, bool);
50  vtkGetMacro(ProcessIsRoot, bool);
51  vtkBooleanMacro(ProcessIsRoot, bool);
53 
60  virtual bool CaptureBuffers();
61 
62 protected:
65 
66  void StartRender();
67  void EndRender();
68 
70 
71 private:
72  vtkPHardwareSelector(const vtkPHardwareSelector&) VTK_DELETE_FUNCTION;
73  void operator=(const vtkPHardwareSelector&) VTK_DELETE_FUNCTION;
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.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkOpenGLHardwareSelector * New()
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.