VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkGPUInfoList.h
"
32
33
#include <d3d9.h>
// DirectX, HMONITOR
34
35
class
VTK_RENDERING_EXPORT
vtkDirectXGPUInfoList
:
public
vtkGPUInfoList
36
{
37
public
:
38
static
vtkDirectXGPUInfoList
*
New
();
39
vtkTypeMacro(
vtkDirectXGPUInfoList
,
vtkGPUInfoList
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
44
virtual
void
Probe
();
45
46
protected
:
48
49
vtkDirectXGPUInfoList
();
50
virtual
~
vtkDirectXGPUInfoList
();
52
54
57
bool
ProbeInfoWithDXGI(HMONITOR m,
58
vtkGPUInfo
*
info
);
60
62
64
void
ProbeInfoWithWMI(HMONITOR m,
65
vtkGPUInfo
*
info
);
67
69
72
bool
GetDeviceIDFromHMonitor(HMONITOR hm,
73
WCHAR *strDeviceID,
74
int
cchDeviceID);
76
77
private
:
78
vtkDirectXGPUInfoList
(
const
vtkDirectXGPUInfoList
&);
// Not implemented.
79
void
operator=(
const
vtkDirectXGPUInfoList
&);
// Not implemented.
80
};
81
82
#endif
Generated on Sun Sep 9 2012 13:03:44 for VTK by
1.8.1.2