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 "vtkHardwareSelector.h"
33 
35 {
36 public:
37  static vtkPHardwareSelector* New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
45  vtkSetMacro(ProcessIsRoot, bool);
46  vtkGetMacro(ProcessIsRoot, bool);
47  vtkBooleanMacro(ProcessIsRoot, bool);
49 
54  virtual bool CaptureBuffers();
55 
56 //BTX
57 protected:
60 
61  void StartRender();
62  void EndRender();
63 
65 
66 private:
67  vtkPHardwareSelector(const vtkPHardwareSelector&); // Not implemented
68  void operator=(const vtkPHardwareSelector&); // Not implemented
69 
70  class vtkObserver;
71  friend class vtkObserver;
72  vtkObserver* Observer;
73 //ETX
74 };
75 
76 #endif