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 =========================================================================*/
26 #ifndef vtkOpenGLHardwareSelector_h
27 #define vtkOpenGLHardwareSelector_h
28 
29 #include "vtkRenderingOpenGLModule.h" // For export macro
30 #include "vtkHardwareSelector.h"
31 
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
42  virtual void BeginRenderProp()
45 
46  virtual void EndRenderProp()
48 
49 protected:
51  virtual ~vtkOpenGLHardwareSelector();
52 
53  // Called internally before and after each prop is rendered
54  // for device specific configuration/preparation etc.
55  virtual void BeginRenderProp(vtkRenderWindow *);
56  virtual void EndRenderProp(vtkRenderWindow *);
57 
58  // for internal state
59  class vtkInternals;
60  vtkInternals* Internals;
61 
62 private:
63  vtkOpenGLHardwareSelector(const vtkOpenGLHardwareSelector&); // Not implemented.
64  void operator=(const vtkOpenGLHardwareSelector&); // Not implemented.
65 };
66 
67 #endif
implements the device specific code of vtkOpenGLHardwareSelector.
virtual void EndRenderProp()
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
static vtkHardwareSelector * New()
virtual void BeginRenderProp()
create a window for renderers to draw into
manager for OpenGL-based selection.