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