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 =========================================================================*/
29 #ifndef vtkPHardwareSelector_h
30 #define vtkPHardwareSelector_h
31 
32 #include "vtkRenderingParallelModule.h" // For export macro
33 #include "vtkOpenGLHardwareSelector.h"
34 
35 class VTKRENDERINGPARALLEL_EXPORT vtkPHardwareSelector : public vtkOpenGLHardwareSelector
36 {
37 public:
38  static vtkPHardwareSelector* New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
46  vtkSetMacro(ProcessIsRoot, bool);
47  vtkGetMacro(ProcessIsRoot, bool);
48  vtkBooleanMacro(ProcessIsRoot, bool);
50 
55  virtual bool CaptureBuffers();
56 
57 //BTX
58 protected:
61 
62  void StartRender();
63  void EndRender();
64 
66 
67 private:
68  vtkPHardwareSelector(const vtkPHardwareSelector&); // Not implemented
69  void operator=(const vtkPHardwareSelector&); // Not implemented
70 
71  class vtkObserver;
72  friend class vtkObserver;
73  vtkObserver* Observer;
74 //ETX
75 };
76 
77 #endif
vtkHardwareSelector useful for parallel rendering.
implements the device specific code of vtkOpenGLHardwareSelector.
virtual bool CaptureBuffers()
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
static vtkOpenGLHardwareSelector * New()