VTK
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
30
#ifndef vtkGPUInfoList_h
31
#define vtkGPUInfoList_h
32
33
#include "vtkRenderingCoreModule.h"
// For export macro
34
#include "
vtkObject.h
"
35
36
class
vtkGPUInfoListArray
;
// STL Pimpl
37
class
vtkGPUInfo
;
38
39
class
VTKRENDERINGCORE_EXPORT
vtkGPUInfoList
:
public
vtkObject
40
{
41
public
:
42
static
vtkGPUInfoList
*
New
();
43
vtkTypeMacro(
vtkGPUInfoList
,
vtkObject
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
52
virtual
void
Probe() = 0;
53
57
virtual
bool
IsProbed();
58
63
virtual
int
GetNumberOfGPUs();
64
71
virtual
vtkGPUInfo
*GetGPUInfo(
int
i);
72
73
protected
:
75
78
vtkGPUInfoList
();
79
virtual
~
vtkGPUInfoList
();
81
82
bool
Probed
;
83
vtkGPUInfoListArray
*
Array
;
84
85
private
:
86
vtkGPUInfoList
(
const
vtkGPUInfoList
&) VTK_DELETE_FUNCTION;
87
void
operator=(
const
vtkGPUInfoList
&) VTK_DELETE_FUNCTION;
88
};
89
90
#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
vtkGPUInfoList
Stores the list of GPUs VRAM information.
Definition:
vtkGPUInfoList.h:39
vtkGPUInfoList::Array
vtkGPUInfoListArray * Array
Definition:
vtkGPUInfoList.h:83
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
vtkGPUInfoList::Probed
bool Probed
Definition:
vtkGPUInfoList.h:82
vtkGPUInfoListArray
Internal class vtkGPUInfoList.
Definition:
vtkGPUInfoListArray.h:28
vtkGPUInfo
Stores GPU VRAM information.
Definition:
vtkGPUInfo.h:35
Generated by
1.8.17