VTK
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
31class VTKRENDERINGOPENGL_EXPORT vtkCoreGraphicsGPUInfoList : public vtkGPUInfoList
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent);
37
42 virtual void Probe();
43
44protected:
46
52
53private:
55 void operator=(const vtkCoreGraphicsGPUInfoList&) VTK_DELETE_FUNCTION;
56};
57
58#endif
Get GPUs VRAM information using CoreGraphics.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void Probe()
Build the list of vtkInfoGPU if not done yet.
vtkCoreGraphicsGPUInfoList()
Default constructor.
virtual ~vtkCoreGraphicsGPUInfoList()
static vtkCoreGraphicsGPUInfoList * New()
Stores the list of GPUs VRAM information.
a simple class to control print indentation
Definition: vtkIndent.h:40