VTK  9.3.20240422
vtkDummyGPUInfoList.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3
14#ifndef vtkDummyGPUInfoList_h
15#define vtkDummyGPUInfoList_h
16
17#include "vtkGPUInfoList.h"
18#include "vtkRenderingOpenGL2Module.h" // For export macro
19
20VTK_ABI_NAMESPACE_BEGIN
21class VTKRENDERINGOPENGL2_EXPORT vtkDummyGPUInfoList : public vtkGPUInfoList
22{
23public:
26 void PrintSelf(ostream& os, vtkIndent indent) override;
27
32 void Probe() override;
33
34protected:
36
42
43private:
45 void operator=(const vtkDummyGPUInfoList&) = delete;
46};
47
48VTK_ABI_NAMESPACE_END
49#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:108