VTK
dox
Rendering
OpenGL
vtkCoreGraphicsGPUInfoList.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCoreGraphicsGPUInfoList.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
=========================================================================*/
25
#ifndef vtkCoreGraphicsGPUInfoList_h
26
#define vtkCoreGraphicsGPUInfoList_h
27
28
#include "vtkRenderingOpenGLModule.h"
// For export macro
29
#include "
vtkGPUInfoList.h
"
30
31
class
VTKRENDERINGOPENGL_EXPORT
vtkCoreGraphicsGPUInfoList
:
public
vtkGPUInfoList
32
{
33
public
:
34
static
vtkCoreGraphicsGPUInfoList
*
New
();
35
vtkTypeMacro(
vtkCoreGraphicsGPUInfoList
,
vtkGPUInfoList
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent);
37
42
virtual
void
Probe
();
43
44
protected
:
46
49
vtkCoreGraphicsGPUInfoList
();
50
virtual
~
vtkCoreGraphicsGPUInfoList
();
52
53
private
:
54
vtkCoreGraphicsGPUInfoList
(
const
vtkCoreGraphicsGPUInfoList
&) VTK_DELETE_FUNCTION;
55
void
operator=(
const
vtkCoreGraphicsGPUInfoList
&) VTK_DELETE_FUNCTION;
56
};
57
58
#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
vtkGPUInfoList::New
static vtkGPUInfoList * New()
vtkCoreGraphicsGPUInfoList
Get GPUs VRAM information using CoreGraphics.
Definition:
vtkCoreGraphicsGPUInfoList.h:31
vtkGPUInfoList.h
Generated by
1.8.17