VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkObject.h
"
32
33
class
vtkOpenGLExtensionManager
;
34
35
class
VTK_RENDERING_EXPORT
vtkOpenGLHardwareSupport
:
public
vtkObject
//: public vtkHardwareSupport
36
{
37
public
:
38
vtkTypeMacro(
vtkOpenGLHardwareSupport
,
vtkObject
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
41
static
vtkOpenGLHardwareSupport
*
New
();
42
44
int
GetNumberOfFixedTextureUnits();
45
48
int
GetNumberOfTextureUnits();
49
51
bool
GetSupportsMultiTexturing();
52
54
56
vtkGetObjectMacro(ExtensionManager,
vtkOpenGLExtensionManager
);
57
void
SetExtensionManager(
vtkOpenGLExtensionManager
* extensionManager);
59
60
protected
:
61
vtkOpenGLHardwareSupport
();
62
~
vtkOpenGLHardwareSupport
();
63
64
private
:
65
vtkOpenGLHardwareSupport
(
const
vtkOpenGLHardwareSupport
&);
// Not implemented.
66
void
operator=(
const
vtkOpenGLHardwareSupport
&);
// Not implemented.
67
68
bool
ExtensionManagerSet();
69
70
vtkOpenGLExtensionManager
* ExtensionManager;
71
};
72
73
#endif
Generated on Wed May 30 2012 13:22:22 for VTK by
1.8.1