VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
Core
vtkGPUInfoList.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGPUInfoList.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
29
#ifndef __vtkGPUInfoList_h
30
#define __vtkGPUInfoList_h
31
32
#include "vtkRenderingCoreModule.h"
// For export macro
33
#include "
vtkObject.h
"
34
35
class
vtkGPUInfoListArray
;
// STL Pimpl
36
class
vtkGPUInfo
;
37
38
class
VTKRENDERINGCORE_EXPORT
vtkGPUInfoList
:
public
vtkObject
39
{
40
public
:
41
static
vtkGPUInfoList
*
New
();
42
vtkTypeMacro(
vtkGPUInfoList
,
vtkObject
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
48
virtual
void
Probe()=0;
49
52
virtual
bool
IsProbed();
53
55
virtual
int
GetNumberOfGPUs();
56
60
virtual
vtkGPUInfo
*GetGPUInfo(
int
i);
61
62
protected
:
64
65
vtkGPUInfoList
();
66
virtual
~
vtkGPUInfoList
();
68
69
bool
Probed
;
70
vtkGPUInfoListArray
*
Array
;
71
72
private
:
73
vtkGPUInfoList
(
const
vtkGPUInfoList
&);
// Not implemented.
74
void
operator=(
const
vtkGPUInfoList
&);
// Not implemented.
75
};
76
77
#endif
Generated on Thu May 24 2012 22:22:34 for VTK by
1.8.1