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 =========================================================================*/
27 #ifndef vtkXGPUInfoList_h
28 #define vtkXGPUInfoList_h
29 
30 #include "vtkRenderingOpenGLModule.h" // For export macro
31 #include "vtkGPUInfoList.h"
32 
34 {
35 public:
36  static vtkXGPUInfoList* New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
42  virtual void Probe();
43 
44 protected:
46 
48  virtual ~vtkXGPUInfoList();
50 
51 private:
52  vtkXGPUInfoList(const vtkXGPUInfoList&); // Not implemented.
53  void operator=(const vtkXGPUInfoList&); // Not implemented.
54 };
55 
56 #endif
Stores the list of GPUs VRAM information.
virtual void Probe()=0
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT
Get GPUs VRAM information using X server extensions.
static vtkGPUInfoList * New()
void PrintSelf(ostream &os, vtkIndent indent)