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 "vtkObject.h"
32 
34 {
35 public:
36  static vtkGPUInfo* New();
37  vtkTypeMacro(vtkGPUInfo, vtkObject);
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
45  vtkSetMacro(DedicatedVideoMemory,vtkIdType);
46  vtkGetMacro(DedicatedVideoMemory,vtkIdType);
48 
50 
54  vtkSetMacro(DedicatedSystemMemory,vtkIdType);
55  vtkGetMacro(DedicatedSystemMemory,vtkIdType);
57 
59 
62  vtkSetMacro(SharedSystemMemory,vtkIdType);
63  vtkGetMacro(SharedSystemMemory,vtkIdType);
65 
66 protected:
67  vtkGPUInfo();
68  ~vtkGPUInfo();
69 
73 
74 private:
75  vtkGPUInfo(const vtkGPUInfo&); // Not implemented.
76  void operator=(const vtkGPUInfo&); // Not implemented.
77 };
78 
79 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:60
vtkIdType DedicatedSystemMemory
Definition: vtkGPUInfo.h:71
int vtkIdType
Definition: vtkType.h:255
vtkIdType DedicatedVideoMemory
Definition: vtkGPUInfo.h:70
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_RENDERING_EXPORT
Stores GPU VRAM information.
Definition: vtkGPUInfo.h:33
vtkIdType SharedSystemMemory
Definition: vtkGPUInfo.h:72
static vtkObject * New()