VTK
vtkXGPUInfoList.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXGPUInfoList.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=========================================================================*/
28#ifndef vtkXGPUInfoList_h
29#define vtkXGPUInfoList_h
30
31#include "vtkRenderingOpenGLModule.h" // For export macro
32#include "vtkGPUInfoList.h"
33
34class VTKRENDERINGOPENGL_EXPORT vtkXGPUInfoList : public vtkGPUInfoList
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent);
40
45 virtual void Probe();
46
47protected:
49
55
56private:
57 vtkXGPUInfoList(const vtkXGPUInfoList&) VTK_DELETE_FUNCTION;
58 void operator=(const vtkXGPUInfoList&) VTK_DELETE_FUNCTION;
59};
60
61#endif
Stores the list of GPUs VRAM information.
a simple class to control print indentation
Definition: vtkIndent.h:40
Get GPUs VRAM information using X server extensions.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual ~vtkXGPUInfoList()
virtual void Probe()
Build the list of vtkInfoGPU if not done yet.
vtkXGPUInfoList()
Default constructor.
static vtkXGPUInfoList * New()