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 =========================================================================*/
28 #ifndef vtkOpenGLHardwareSupport_h
29 #define vtkOpenGLHardwareSupport_h
30 
31 #include "vtkRenderingOpenGLModule.h" // For export macro
32 #include "vtkObject.h"
33 
35 
37  public vtkObject //: public vtkHardwareSupport
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
43  static vtkOpenGLHardwareSupport *New();
44 
46  int GetNumberOfFixedTextureUnits();
47 
50  int GetNumberOfTextureUnits();
51 
53  bool GetSupportsMultiTexturing();
54 
56 
58  vtkGetObjectMacro(ExtensionManager, vtkOpenGLExtensionManager);
59  void SetExtensionManager(vtkOpenGLExtensionManager* extensionManager);
61 
62 protected:
65 
66 private:
67  vtkOpenGLHardwareSupport(const vtkOpenGLHardwareSupport&); // Not implemented.
68  void operator=(const vtkOpenGLHardwareSupport&); // Not implemented.
69 
70  bool ExtensionManagerSet();
71 
72  vtkOpenGLExtensionManager* ExtensionManager;
73 };
74 
75 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:61
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT
Interface class for querying and using OpenGL extensions.
OpenGL rendering window.
static vtkObject * New()