VTK
dox
Rendering
OpenGL
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
35
class
vtkOpenGLExtensionManager
;
36
37
class
VTKRENDERINGOPENGL_EXPORT
vtkOpenGLHardwareSupport
:
38
public
vtkObject
//: public vtkHardwareSupport
39
{
40
public
:
41
vtkTypeMacro(
vtkOpenGLHardwareSupport
,
vtkObject
);
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
:
72
vtkOpenGLHardwareSupport
();
73
~
vtkOpenGLHardwareSupport
();
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
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkOpenGLExtensionManager
Interface class for querying and using OpenGL extensions.
vtkOpenGLHardwareSupport
OpenGL rendering window.
Definition:
vtkOpenGLHardwareSupport.h:37
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
Generated by
1.8.16