Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSystemInformation Class Reference

#include <Base/Logic/vtkSystemInformation.h>

Inheritance diagram for vtkSystemInformation:
Inheritance graph
[legend]
Collaboration diagram for vtkSystemInformation:
Collaboration graph
[legend]

Public Types

enum  RenderingCapabilitiesMask {
  NONE = 0, ONSCREEN_RENDERING = 0x01, HEADLESS_RENDERING_USES_OSMESA = 0x04, HEADLESS_RENDERING_USES_EGL = 0x08,
  HEADLESS_RENDERING = HEADLESS_RENDERING_USES_OSMESA | HEADLESS_RENDERING_USES_EGL, RENDERING = ONSCREEN_RENDERING | HEADLESS_RENDERING, OPENGL = 0x10
}
 
typedef vtkObject Superclass
 

Public Member Functions

int DoesCPUSupportCPUID ()
 
int DoesCPUSupportFeature (long int)
 
unsigned long GetAvailablePhysicalMemory ()
 
unsigned long GetAvailableVirtualMemory ()
 
virtual const char * GetClassName ()
 
const char * GetExtendedProcessorName ()
 
const char * GetFamilyID ()
 
const char * GetHostname ()
 
int GetLogicalProcessorsPerPhysical ()
 
const char * GetModelID ()
 
const char * GetModelName ()
 
unsigned int GetNumberOfLogicalCPU ()
 
unsigned int GetNumberOfPhysicalCPU ()
 
const char * GetOSName ()
 
const char * GetOSPlatform ()
 
const char * GetOSRelease ()
 
const char * GetOSVersion ()
 
int GetProcessorAPICID ()
 
int GetProcessorCacheSize ()
 
int GetProcessorCacheXSize (long int)
 
float GetProcessorClockFrequency ()
 
const char * GetProcessorSerialNumber ()
 
virtual vtkTypeUInt32 GetRenderingCapabilities ()
 
virtual std::string GetRenderingCapabilitiesDetails ()
 
const char * GetSteppingCode ()
 
unsigned long GetTotalPhysicalMemory ()
 
unsigned long GetTotalVirtualMemory ()
 
const char * GetTypeID ()
 
const char * GetVendorID ()
 
const char * GetVendorString ()
 
int Is64Bits ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void RunCPUCheck ()
 
void RunMemoryCheck ()
 
void RunOSCheck ()
 
void RunRenderingCheck ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkSystemInformationNew ()
 
static vtkSystemInformationSafeDownCast (vtkObject *o)
 

Protected Member Functions

vtkSmartPointer< vtkRenderWindow > NewOffscreenRenderWindow ()
 
void operator= (const vtkSystemInformation &)
 
 vtkSystemInformation ()
 
 vtkSystemInformation (const vtkSystemInformation &)
 
 ~vtkSystemInformation () override
 

Protected Attributes

vtkTypeUInt32 RenderingCapabilities
 
std::string RenderingCapabilitiesDetails
 
std::string StringHolder
 
vtksys::SystemInformation SystemInformation
 

Detailed Description

Definition at line 19 of file vtkSystemInformation.h.

Member Typedef Documentation

◆ Superclass

Definition at line 23 of file vtkSystemInformation.h.

Member Enumeration Documentation

◆ RenderingCapabilitiesMask

Enumerator
NONE 
ONSCREEN_RENDERING 

Indicates if onscreen rendering is possible.

HEADLESS_RENDERING_USES_OSMESA 

Indicates if headless rendering using OSMesa is possible.

HEADLESS_RENDERING_USES_EGL 

Indicates if headless rendering using EGL is possible.

HEADLESS_RENDERING 

Indicates if any headless rendering is possible.

RENDERING 

Indicates if any rendering is possible.

OPENGL 

If rendering is possible, this indicates that that OpenGL version is adequate for basic rendering requirements. This flag will only be set if RENDERING is set too.

Definition at line 67 of file vtkSystemInformation.h.

Constructor & Destructor Documentation

◆ vtkSystemInformation() [1/2]

vtkSystemInformation::vtkSystemInformation ( )
protected

◆ ~vtkSystemInformation()

vtkSystemInformation::~vtkSystemInformation ( )
overrideprotected

◆ vtkSystemInformation() [2/2]

vtkSystemInformation::vtkSystemInformation ( const vtkSystemInformation )
protected

Member Function Documentation

◆ DoesCPUSupportCPUID()

int vtkSystemInformation::DoesCPUSupportCPUID ( )

◆ DoesCPUSupportFeature()

int vtkSystemInformation::DoesCPUSupportFeature ( long  int)

◆ GetAvailablePhysicalMemory()

unsigned long vtkSystemInformation::GetAvailablePhysicalMemory ( )

◆ GetAvailableVirtualMemory()

unsigned long vtkSystemInformation::GetAvailableVirtualMemory ( )

◆ GetClassName()

virtual const char* vtkSystemInformation::GetClassName ( )
virtual

◆ GetExtendedProcessorName()

const char* vtkSystemInformation::GetExtendedProcessorName ( )

◆ GetFamilyID()

const char* vtkSystemInformation::GetFamilyID ( )

◆ GetHostname()

const char* vtkSystemInformation::GetHostname ( )

◆ GetLogicalProcessorsPerPhysical()

int vtkSystemInformation::GetLogicalProcessorsPerPhysical ( )

◆ GetModelID()

const char* vtkSystemInformation::GetModelID ( )

◆ GetModelName()

const char* vtkSystemInformation::GetModelName ( )

◆ GetNumberOfLogicalCPU()

unsigned int vtkSystemInformation::GetNumberOfLogicalCPU ( )

◆ GetNumberOfPhysicalCPU()

unsigned int vtkSystemInformation::GetNumberOfPhysicalCPU ( )

◆ GetOSName()

const char* vtkSystemInformation::GetOSName ( )

◆ GetOSPlatform()

const char* vtkSystemInformation::GetOSPlatform ( )

◆ GetOSRelease()

const char* vtkSystemInformation::GetOSRelease ( )

◆ GetOSVersion()

const char* vtkSystemInformation::GetOSVersion ( )

◆ GetProcessorAPICID()

int vtkSystemInformation::GetProcessorAPICID ( )

◆ GetProcessorCacheSize()

int vtkSystemInformation::GetProcessorCacheSize ( )

◆ GetProcessorCacheXSize()

int vtkSystemInformation::GetProcessorCacheXSize ( long  int)

◆ GetProcessorClockFrequency()

float vtkSystemInformation::GetProcessorClockFrequency ( )

◆ GetProcessorSerialNumber()

const char* vtkSystemInformation::GetProcessorSerialNumber ( )

◆ GetRenderingCapabilities()

virtual vtkTypeUInt32 vtkSystemInformation::GetRenderingCapabilities ( )
virtual

Returns rendering capabilities as bitfield of RenderingCapabilitiesMask values. Value is set by calling RunRenderingCheck().

◆ GetRenderingCapabilitiesDetails()

virtual std::string vtkSystemInformation::GetRenderingCapabilitiesDetails ( )
virtual

Returns string describing rendering capabilities. Value is set by calling RunRenderingCheck().

◆ GetSteppingCode()

const char* vtkSystemInformation::GetSteppingCode ( )

◆ GetTotalPhysicalMemory()

unsigned long vtkSystemInformation::GetTotalPhysicalMemory ( )

◆ GetTotalVirtualMemory()

unsigned long vtkSystemInformation::GetTotalVirtualMemory ( )

◆ GetTypeID()

const char* vtkSystemInformation::GetTypeID ( )

◆ GetVendorID()

const char* vtkSystemInformation::GetVendorID ( )

◆ GetVendorString()

const char* vtkSystemInformation::GetVendorString ( )

◆ Is64Bits()

int vtkSystemInformation::Is64Bits ( )

◆ IsA()

virtual int vtkSystemInformation::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkSystemInformation::IsTypeOf ( const char *  type)
static

◆ New()

static vtkSystemInformation* vtkSystemInformation::New ( )
static

◆ NewOffscreenRenderWindow()

vtkSmartPointer<vtkRenderWindow> vtkSystemInformation::NewOffscreenRenderWindow ( )
protected

◆ operator=()

void vtkSystemInformation::operator= ( const vtkSystemInformation )
protected

◆ PrintSelf()

void vtkSystemInformation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ RunCPUCheck()

void vtkSystemInformation::RunCPUCheck ( )

◆ RunMemoryCheck()

void vtkSystemInformation::RunMemoryCheck ( )

◆ RunOSCheck()

void vtkSystemInformation::RunOSCheck ( )

◆ RunRenderingCheck()

void vtkSystemInformation::RunRenderingCheck ( )

◆ SafeDownCast()

static vtkSystemInformation* vtkSystemInformation::SafeDownCast ( vtkObject *  o)
static

Member Data Documentation

◆ RenderingCapabilities

vtkTypeUInt32 vtkSystemInformation::RenderingCapabilities
protected

Definition at line 107 of file vtkSystemInformation.h.

◆ RenderingCapabilitiesDetails

std::string vtkSystemInformation::RenderingCapabilitiesDetails
protected

Definition at line 108 of file vtkSystemInformation.h.

◆ StringHolder

std::string vtkSystemInformation::StringHolder
protected

Definition at line 106 of file vtkSystemInformation.h.

◆ SystemInformation

vtksys::SystemInformation vtkSystemInformation::SystemInformation
protected

Definition at line 105 of file vtkSystemInformation.h.


The documentation for this class was generated from the following file: