VTK
vtkOpenGLHardwareSupport.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLHardwareSupport.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 vtkOpenGLHardwareSupport_h
30 #define vtkOpenGLHardwareSupport_h
31 
32 #include "vtkRenderingOpenGLModule.h" // For export macro
33 #include "vtkObject.h"
34 
36 
37 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLHardwareSupport :
38  public vtkObject //: public vtkHardwareSupport
39 {
40 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
44  static vtkOpenGLHardwareSupport *New();
45 
49  int GetNumberOfFixedTextureUnits();
50 
55  int GetNumberOfTextureUnits();
56 
60  bool GetSupportsMultiTexturing();
61 
63 
67  vtkGetObjectMacro(ExtensionManager, vtkOpenGLExtensionManager);
68  void SetExtensionManager(vtkOpenGLExtensionManager* extensionManager);
70 
71 protected:
74 
75 private:
76  vtkOpenGLHardwareSupport(const vtkOpenGLHardwareSupport&) VTK_DELETE_FUNCTION;
77  void operator=(const vtkOpenGLHardwareSupport&) VTK_DELETE_FUNCTION;
78 
79  bool ExtensionManagerSet();
80 
81  vtkOpenGLExtensionManager* ExtensionManager;
82 };
83 
84 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
Interface class for querying and using OpenGL extensions.
OpenGL rendering window.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...