VTK
dox/Rendering/Core/vtkGPUInfo.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkGPUInfo.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 
00028 #ifndef __vtkGPUInfo_h
00029 #define __vtkGPUInfo_h
00030 
00031 #include "vtkRenderingCoreModule.h" // For export macro
00032 #include "vtkObject.h"
00033 
00034 class VTKRENDERINGCORE_EXPORT vtkGPUInfo : public vtkObject
00035 {
00036 public:
00037   static vtkGPUInfo* New();
00038   vtkTypeMacro(vtkGPUInfo, vtkObject);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00042 
00046   vtkSetMacro(DedicatedVideoMemory, vtkIdType);
00047   vtkGetMacro(DedicatedVideoMemory, vtkIdType);
00049 
00051 
00055   vtkSetMacro(DedicatedSystemMemory, vtkIdType);
00056   vtkGetMacro(DedicatedSystemMemory, vtkIdType);
00058 
00060 
00063   vtkSetMacro(SharedSystemMemory, vtkIdType);
00064   vtkGetMacro(SharedSystemMemory, vtkIdType);
00066 
00067 protected:
00068   vtkGPUInfo();
00069   ~vtkGPUInfo();
00070 
00071   vtkIdType DedicatedVideoMemory;
00072   vtkIdType DedicatedSystemMemory;
00073   vtkIdType SharedSystemMemory;
00074 
00075 private:
00076   vtkGPUInfo(const vtkGPUInfo&); // Not implemented.
00077   void operator=(const vtkGPUInfo&); // Not implemented.
00078 };
00079 
00080 #endif