VTK
vtkOpenGLHardwareSelector.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLHardwareSelector.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 =========================================================================*/
27 #ifndef vtkOpenGLHardwareSelector_h
28 #define vtkOpenGLHardwareSelector_h
29 
30 #include "vtkRenderingOpenGLModule.h" // For export macro
31 #include "vtkHardwareSelector.h"
32 
33 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLHardwareSelector : public vtkHardwareSelector
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
44  void BeginRenderProp() VTK_OVERRIDE
46 
47  void EndRenderProp() VTK_OVERRIDE
49 
50 protected:
52  ~vtkOpenGLHardwareSelector() VTK_OVERRIDE;
53 
54  // Called internally before and after each prop is rendered
55  // for device specific configuration/preparation etc.
56  void BeginRenderProp(vtkRenderWindow *) VTK_OVERRIDE;
57  void EndRenderProp(vtkRenderWindow *) VTK_OVERRIDE;
58 
59  // for internal state
60  class vtkInternals;
61  vtkInternals* Internals;
62 
63 private:
64  vtkOpenGLHardwareSelector(const vtkOpenGLHardwareSelector&) VTK_DELETE_FUNCTION;
65  void operator=(const vtkOpenGLHardwareSelector&) VTK_DELETE_FUNCTION;
66 };
67 
68 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
implements the device specific code of vtkOpenGLHardwareSelector.
void EndRenderProp() override
Called by the mapper (vtkHardwareSelectionPolyDataPainter) before and after rendering each prop...
virtual void EndRenderProp()
Called by the mapper (vtkHardwareSelectionPolyDataPainter) before and after rendering each prop...
a simple class to control print indentation
Definition: vtkIndent.h:33
static vtkHardwareSelector * New()
virtual void BeginRenderProp()
Called by the mapper (vtkHardwareSelectionPolyDataPainter) before and after rendering each prop...
create a window for renderers to draw into
void BeginRenderProp() override
Called by the mapper (vtkHardwareSelectionPolyDataPainter) before and after rendering each prop...
manager for OpenGL-based selection.