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
vtkXGPUInfoList::vtkXGPUInfoList
vtkXGPUInfoList()
vtkXGPUInfoList::New
static vtkXGPUInfoList * New()
vtkRenderingOpenGLModule.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkGPUInfoList
Stores the list of GPUs VRAM information.
Definition: vtkGPUInfoList.h:39
vtkXGPUInfoList::Probe
virtual void Probe()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkXGPUInfoList::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkXGPUInfoList::~vtkXGPUInfoList
virtual ~vtkXGPUInfoList()
vtkXGPUInfoList
Get GPUs VRAM information using X server extensions.
Definition: vtkXGPUInfoList.h:34
vtkGPUInfoList.h
VTKRENDERINGOPENGL_EXPORT
#define VTKRENDERINGOPENGL_EXPORT
Definition: vtkRenderingOpenGLModule.h:15