VTK
dox
Rendering
OpenGL
vtkXGPUInfoList.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkXGPUInfoList.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
=========================================================================*/
28
#ifndef vtkXGPUInfoList_h
29
#define vtkXGPUInfoList_h
30
31
#include "vtkRenderingOpenGLModule.h"
// For export macro
32
#include "
vtkGPUInfoList.h
"
33
34
class
VTKRENDERINGOPENGL_EXPORT
vtkXGPUInfoList
:
public
vtkGPUInfoList
35
{
36
public
:
37
static
vtkXGPUInfoList
*
New
();
38
vtkTypeMacro(
vtkXGPUInfoList
,
vtkGPUInfoList
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
45
virtual
void
Probe
();
46
47
protected
:
49
52
vtkXGPUInfoList
();
53
virtual
~
vtkXGPUInfoList
();
55
56
private
:
57
vtkXGPUInfoList
(
const
vtkXGPUInfoList
&) VTK_DELETE_FUNCTION;
58
void
operator=(
const
vtkXGPUInfoList
&) VTK_DELETE_FUNCTION;
59
};
60
61
#endif
vtkGPUInfoList::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkGPUInfoList::Probe
virtual void Probe()=0
Build the list of vtkInfoGPU if not done yet.
vtkGPUInfoList
Stores the list of GPUs VRAM information.
Definition:
vtkGPUInfoList.h:39
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkXGPUInfoList
Get GPUs VRAM information using X server extensions.
Definition:
vtkXGPUInfoList.h:34
vtkGPUInfoList::New
static vtkGPUInfoList * New()
vtkGPUInfoList.h
Generated by
1.8.17