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 
45 
50 
56 
61 
63 
67  vtkGetObjectMacro(ExtensionManager, vtkOpenGLExtensionManager);
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
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:60
Interface class for querying and using OpenGL extensions.
OpenGL rendering window.
static vtkOpenGLHardwareSupport * New()
bool GetSupportsMultiTexturing()
Test if MultiTexturing is supported.
int GetNumberOfFixedTextureUnits()
Return the number of fixed-function texture units.
void SetExtensionManager(vtkOpenGLExtensionManager *extensionManager)
int GetNumberOfTextureUnits()
Return the total number of texture image units accessible by a shader program.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.