VTK
vtkGPUInfo.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGPUInfo.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 =========================================================================*/
15 
28 #ifndef __vtkGPUInfo_h
29 #define __vtkGPUInfo_h
30 
31 #include "vtkRenderingCoreModule.h" // For export macro
32 #include "vtkObject.h"
33 
34 class VTKRENDERINGCORE_EXPORT vtkGPUInfo : public vtkObject
35 {
36 public:
37  static vtkGPUInfo* New();
38  vtkTypeMacro(vtkGPUInfo, vtkObject);
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
46  vtkSetMacro(DedicatedVideoMemory,vtkIdType);
47  vtkGetMacro(DedicatedVideoMemory,vtkIdType);
49 
51 
55  vtkSetMacro(DedicatedSystemMemory,vtkIdType);
56  vtkGetMacro(DedicatedSystemMemory,vtkIdType);
58 
60 
63  vtkSetMacro(SharedSystemMemory,vtkIdType);
64  vtkGetMacro(SharedSystemMemory,vtkIdType);
66 
67 protected:
68  vtkGPUInfo();
69  ~vtkGPUInfo();
70 
74 
75 private:
76  vtkGPUInfo(const vtkGPUInfo&); // Not implemented.
77  void operator=(const vtkGPUInfo&); // Not implemented.
78 };
79 
80 #endif