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 
34 class VTKRENDERINGOPENGL_EXPORT vtkXGPUInfoList : public vtkGPUInfoList
35 {
36 public:
37  static vtkXGPUInfoList* New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
45  virtual void Probe();
46 
47 protected:
49 
53  virtual ~vtkXGPUInfoList();
55 
56 private:
57  vtkXGPUInfoList(const vtkXGPUInfoList&) VTK_DELETE_FUNCTION;
58  void operator=(const vtkXGPUInfoList&) VTK_DELETE_FUNCTION;
59 };
60 
61 #endif
vtkXGPUInfoList::vtkXGPUInfoList
vtkXGPUInfoList()
Default constructor.
vtkXGPUInfoList::New
static vtkXGPUInfoList * New()
vtkGPUInfoList
Stores the list of GPUs VRAM information.
Definition: vtkGPUInfoList.h:40
vtkXGPUInfoList::Probe
virtual void Probe()
Build the list of vtkInfoGPU if not done yet.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkXGPUInfoList::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkXGPUInfoList::~vtkXGPUInfoList
virtual ~vtkXGPUInfoList()
vtkXGPUInfoList
Get GPUs VRAM information using X server extensions.
Definition: vtkXGPUInfoList.h:35
vtkGPUInfoList.h