VTK
dox/Rendering/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 "vtkObject.h"
00032 
00033 class VTK_RENDERING_EXPORT vtkGPUInfo : public vtkObject
00034 {
00035 public:
00036   static vtkGPUInfo* New();
00037   vtkTypeMacro(vtkGPUInfo, vtkObject);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039   
00041 
00045   vtkSetMacro(DedicatedVideoMemory,vtkIdType);
00046   vtkGetMacro(DedicatedVideoMemory,vtkIdType);
00048   
00050 
00054   vtkSetMacro(DedicatedSystemMemory,vtkIdType);
00055   vtkGetMacro(DedicatedSystemMemory,vtkIdType);
00057   
00059 
00062   vtkSetMacro(SharedSystemMemory,vtkIdType);
00063   vtkGetMacro(SharedSystemMemory,vtkIdType);
00065   
00066 protected:
00067   vtkGPUInfo();
00068   ~vtkGPUInfo();
00069 
00070   vtkIdType DedicatedVideoMemory;
00071   vtkIdType DedicatedSystemMemory;
00072   vtkIdType SharedSystemMemory;
00073   
00074 private:
00075   vtkGPUInfo(const vtkGPUInfo&); // Not implemented.
00076   void operator=(const vtkGPUInfo&); // Not implemented.
00077 };
00078 
00079 #endif