VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
OpenGL
vtkDirectXGPUInfoList.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkDirectXGPUInfoList.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
=========================================================================*/
15
28
#ifndef __vtkDirectXGPUInfoList_h
29
#define __vtkDirectXGPUInfoList_h
30
31
#include "vtkRenderingOpenGLModule.h"
// For export macro
32
#include "
vtkGPUInfoList.h
"
33
34
#include <d3d9.h>
// DirectX, HMONITOR
35
36
class
VTKRENDERINGOPENGL_EXPORT
vtkDirectXGPUInfoList
:
public
vtkGPUInfoList
37
{
38
public
:
39
static
vtkDirectXGPUInfoList
*
New
();
40
vtkTypeMacro(
vtkDirectXGPUInfoList
,
vtkGPUInfoList
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
45
virtual
void
Probe
();
46
47
protected
:
49
50
vtkDirectXGPUInfoList
();
51
virtual
~
vtkDirectXGPUInfoList
();
53
55
58
bool
ProbeInfoWithDXGI(HMONITOR m,
59
vtkGPUInfo
*
info
);
61
63
65
void
ProbeInfoWithWMI(HMONITOR m,
66
vtkGPUInfo
*
info
);
68
70
73
bool
GetDeviceIDFromHMonitor(HMONITOR hm,
74
WCHAR *strDeviceID,
75
int
cchDeviceID);
77
78
private
:
79
vtkDirectXGPUInfoList
(
const
vtkDirectXGPUInfoList
&);
// Not implemented.
80
void
operator=(
const
vtkDirectXGPUInfoList
&);
// Not implemented.
81
};
82
83
#endif
Generated on Thu May 24 2012 22:22:36 for VTK by
1.8.1