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
37class VTKRENDERINGOPENGL_EXPORT vtkOpenGLHardwareSupport :
38 public vtkObject //: public vtkHardwareSupport
39{
40public:
42 void PrintSelf(ostream& os, vtkIndent indent);
43
45
50
56
61
63
67 vtkGetObjectMacro(ExtensionManager, vtkOpenGLExtensionManager);
70
71protected:
74
75private:
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.
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.
static vtkOpenGLHardwareSupport * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.