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:
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
vtkPHardwareSelector::~vtkPHardwareSelector
~vtkPHardwareSelector()
vtkPHardwareSelector::vtkPHardwareSelector
vtkPHardwareSelector()
vtkPHardwareSelector::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPHardwareSelector::New
static vtkPHardwareSelector * New()
vtkOpenGLHardwareSelector
implements the device specific code of vtkOpenGLHardwareSelector.
Definition: vtkOpenGLHardwareSelector.h:34
vtkPHardwareSelector::ProcessIsRoot
bool ProcessIsRoot
Definition: vtkPHardwareSelector.h:69
vtkPHardwareSelector::EndRender
void EndRender()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkPHardwareSelector
vtkHardwareSelector useful for parallel rendering.
Definition: vtkPHardwareSelector.h:37
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkPHardwareSelector::StartRender
void StartRender()
vtkPHardwareSelector::CaptureBuffers
virtual bool CaptureBuffers()
Overridden to only allow the superclass implementation on the root node.