VTK
dox
Rendering
OpenGL2
vtkDummyGPUInfoList.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkDummyGPUInfoList.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
26
#ifndef vtkDummyGPUInfoList_h
27
#define vtkDummyGPUInfoList_h
28
29
#include "vtkRenderingOpenGL2Module.h"
// For export macro
30
#include "
vtkGPUInfoList.h
"
31
32
class
VTKRENDERINGOPENGL2_EXPORT
vtkDummyGPUInfoList
:
public
vtkGPUInfoList
33
{
34
public
:
35
static
vtkDummyGPUInfoList
*
New
();
36
vtkTypeMacro(
vtkDummyGPUInfoList
,
vtkGPUInfoList
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
38
43
void
Probe
()
override
;
44
45
protected
:
47
50
vtkDummyGPUInfoList
();
51
~
vtkDummyGPUInfoList
()
override
;
53
54
private
:
55
vtkDummyGPUInfoList
(
const
vtkDummyGPUInfoList
&) =
delete
;
56
void
operator=(
const
vtkDummyGPUInfoList
&) =
delete
;
57
};
58
59
#endif
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:36
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkGPUInfoList::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGPUInfoList::New
static vtkGPUInfoList * New()
vtkDummyGPUInfoList
Do thing during Probe()
Definition:
vtkDummyGPUInfoList.h:32
vtkGPUInfoList.h
Generated by
1.8.16