1 #ifndef __vtkSystemInformation_h 2 #define __vtkSystemInformation_h 9 #include <vtkSmartPointer.h> 11 class vtkRenderWindow;
14 #include <vtksys/SystemInformation.hxx> 24 void PrintSelf(ostream& os, vtkIndent indent)
override;
26 const char * GetVendorString();
27 const char * GetVendorID();
28 const char * GetTypeID();
29 const char * GetFamilyID();
30 const char * GetModelName();
31 const char * GetModelID();
32 const char * GetSteppingCode();
33 const char * GetExtendedProcessorName();
34 const char * GetProcessorSerialNumber();
35 int GetProcessorCacheSize();
36 int GetLogicalProcessorsPerPhysical();
37 float GetProcessorClockFrequency();
38 int GetProcessorAPICID();
39 int GetProcessorCacheXSize(
long int);
40 int DoesCPUSupportFeature(
long int);
42 const char * GetOSName();
43 const char * GetHostname();
44 const char * GetOSRelease();
45 const char * GetOSVersion();
46 const char * GetOSPlatform();
50 unsigned int GetNumberOfLogicalCPU();
51 unsigned int GetNumberOfPhysicalCPU();
53 int DoesCPUSupportCPUID();
56 unsigned long GetTotalVirtualMemory();
57 unsigned long GetAvailableVirtualMemory();
58 unsigned long GetTotalPhysicalMemory();
59 unsigned long GetAvailablePhysicalMemory();
64 void RunMemoryCheck();
65 void RunRenderingCheck();
71 ONSCREEN_RENDERING = 0x01,
73 HEADLESS_RENDERING_USES_OSMESA = 0x04,
75 HEADLESS_RENDERING_USES_EGL = 0x08,
77 HEADLESS_RENDERING = HEADLESS_RENDERING_USES_OSMESA | HEADLESS_RENDERING_USES_EGL,
79 RENDERING = ONSCREEN_RENDERING | HEADLESS_RENDERING,
88 vtkGetMacro(RenderingCapabilities, vtkTypeUInt32);
92 vtkGetMacro(RenderingCapabilitiesDetails, std::string);
96 vtkSmartPointer<vtkRenderWindow> NewOffscreenRenderWindow();