VTK  9.1.0
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 "vtkGPUInfoList.h"
30#include "vtkRenderingOpenGL2Module.h" // For export macro
31
32class VTKRENDERINGOPENGL2_EXPORT vtkDummyGPUInfoList : public vtkGPUInfoList
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
43 void Probe() override;
44
45protected:
47
53
54private:
56 void operator=(const vtkDummyGPUInfoList&) = delete;
57};
58
59#endif
Do thing during Probe()
static vtkDummyGPUInfoList * New()
vtkDummyGPUInfoList()
Default constructor.
void Probe() override
Build the list of vtkInfoGPU if not done yet.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkDummyGPUInfoList() override
Default constructor.
Stores the list of GPUs VRAM information.
a simple class to control print indentation
Definition: vtkIndent.h:113