Slicer
5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Toggle main menu visibility
Main Page
Related Pages
Classes
Class Index
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
Enumerations
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
a
e
f
i
m
o
p
r
s
w
Namespaces
Namespace List
Namespace Members
All
_
a
c
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
Functions
Variables
a
c
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
c
e
i
l
n
p
q
r
s
t
v
Variables
Typedefs
a
d
g
i
l
m
n
p
q
r
s
t
v
Enumerations
Enumerator
Macros
b
c
d
e
f
g
i
m
o
p
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
Base
Logic
vtkSystemInformation.h
Go to the documentation of this file.
1
#ifndef __vtkSystemInformation_h
2
#define __vtkSystemInformation_h
3
4
// SlicerLogic includes
5
#include "
vtkSlicerBaseLogic.h
"
6
7
// VTK includes
8
#include <vtkObject.h>
9
#include <vtkSmartPointer.h>
10
11
class
vtkRenderWindow;
12
13
// VTKSYS includes
14
#include <vtksys/SystemInformation.hxx>
15
16
// STD includes
17
#include <string>
18
19
class
VTK_SLICER_BASE_LOGIC_EXPORT
vtkSystemInformation
:
public
vtkObject
20
{
21
public
:
22
static
vtkSystemInformation
*
New
();
23
vtkTypeMacro(
vtkSystemInformation
,vtkObject);
24
void
PrintSelf
(ostream& os, vtkIndent indent)
override
;
25
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
);
41
42
const
char
*
GetOSName
();
43
const
char
*
GetHostname
();
44
const
char
*
GetOSRelease
();
45
const
char
*
GetOSVersion
();
46
const
char
*
GetOSPlatform
();
47
48
int
Is64Bits
();
49
50
unsigned
int
GetNumberOfLogicalCPU
();
// per physical cpu
51
unsigned
int
GetNumberOfPhysicalCPU
();
52
53
int
DoesCPUSupportCPUID
();
54
55
// Retrieve memory information in megabyte.
56
unsigned
long
GetTotalVirtualMemory
();
57
unsigned
long
GetAvailableVirtualMemory
();
58
unsigned
long
GetTotalPhysicalMemory
();
59
unsigned
long
GetAvailablePhysicalMemory
();
60
61
// Run the different checks
62
void
RunCPUCheck
();
63
void
RunOSCheck
();
64
void
RunMemoryCheck
();
65
void
RunRenderingCheck
();
66
67
enum
RenderingCapabilitiesMask
68
{
69
NONE
= 0,
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
,
83
OPENGL
= 0x10,
84
};
67
enum
RenderingCapabilitiesMask
{
…
};
85
88
vtkGetMacro(
RenderingCapabilities
, vtkTypeUInt32);
89
92
vtkGetMacro(
RenderingCapabilitiesDetails
, std::string);
93
94
protected
:
95
96
vtkSmartPointer<vtkRenderWindow>
NewOffscreenRenderWindow
();
97
98
vtkSystemInformation
();
99
~vtkSystemInformation
()
override
;
100
vtkSystemInformation
(
const
vtkSystemInformation
&);
101
void
operator=
(
const
vtkSystemInformation
&);
102
103
//private:
104
105
vtksys::SystemInformation
SystemInformation
;
106
std::string
StringHolder
;
107
vtkTypeUInt32
RenderingCapabilities
;
108
std::string
RenderingCapabilitiesDetails
;
109
};
19
class
VTK_SLICER_BASE_LOGIC_EXPORT
vtkSystemInformation
:
public
vtkObject {
…
};
110
#endif
vtkSystemInformation::GetProcessorClockFrequency
float GetProcessorClockFrequency()
vtkSystemInformation::operator=
void operator=(const vtkSystemInformation &)
vtkSystemInformation::vtkSystemInformation
vtkSystemInformation(const vtkSystemInformation &)
vtkSystemInformation::GetProcessorSerialNumber
const char * GetProcessorSerialNumber()
vtkSystemInformation::GetNumberOfPhysicalCPU
unsigned int GetNumberOfPhysicalCPU()
vtkSystemInformation::GetOSName
const char * GetOSName()
vtkSystemInformation::GetOSVersion
const char * GetOSVersion()
vtkSystemInformation::GetAvailablePhysicalMemory
unsigned long GetAvailablePhysicalMemory()
vtkSystemInformation::GetOSPlatform
const char * GetOSPlatform()
vtkSystemInformation::GetLogicalProcessorsPerPhysical
int GetLogicalProcessorsPerPhysical()
vtkSystemInformation::RunMemoryCheck
void RunMemoryCheck()
vtkSystemInformation::GetExtendedProcessorName
const char * GetExtendedProcessorName()
vtkSystemInformation::GetProcessorCacheSize
int GetProcessorCacheSize()
vtkSystemInformation::SystemInformation
vtksys::SystemInformation SystemInformation
Definition
vtkSystemInformation.h:105
vtkSystemInformation::GetHostname
const char * GetHostname()
vtkSystemInformation::GetOSRelease
const char * GetOSRelease()
vtkSystemInformation::Is64Bits
int Is64Bits()
vtkSystemInformation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSystemInformation::RenderingCapabilitiesMask
RenderingCapabilitiesMask
Definition
vtkSystemInformation.h:68
vtkSystemInformation::RENDERING
@ RENDERING
Indicates if any rendering is possible.
Definition
vtkSystemInformation.h:79
vtkSystemInformation::ONSCREEN_RENDERING
@ ONSCREEN_RENDERING
Indicates if onscreen rendering is possible.
Definition
vtkSystemInformation.h:71
vtkSystemInformation::HEADLESS_RENDERING_USES_OSMESA
@ HEADLESS_RENDERING_USES_OSMESA
Indicates if headless rendering using OSMesa is possible.
Definition
vtkSystemInformation.h:73
vtkSystemInformation::NONE
@ NONE
Definition
vtkSystemInformation.h:69
vtkSystemInformation::HEADLESS_RENDERING_USES_EGL
@ HEADLESS_RENDERING_USES_EGL
Indicates if headless rendering using EGL is possible.
Definition
vtkSystemInformation.h:75
vtkSystemInformation::OPENGL
@ OPENGL
Definition
vtkSystemInformation.h:83
vtkSystemInformation::HEADLESS_RENDERING
@ HEADLESS_RENDERING
Indicates if any headless rendering is possible.
Definition
vtkSystemInformation.h:77
vtkSystemInformation::RunOSCheck
void RunOSCheck()
vtkSystemInformation::GetModelID
const char * GetModelID()
vtkSystemInformation::GetSteppingCode
const char * GetSteppingCode()
vtkSystemInformation::GetFamilyID
const char * GetFamilyID()
vtkSystemInformation::GetProcessorCacheXSize
int GetProcessorCacheXSize(long int)
vtkSystemInformation::RunCPUCheck
void RunCPUCheck()
vtkSystemInformation::vtkSystemInformation
vtkSystemInformation()
vtkSystemInformation::GetTotalVirtualMemory
unsigned long GetTotalVirtualMemory()
vtkSystemInformation::GetProcessorAPICID
int GetProcessorAPICID()
vtkSystemInformation::New
static vtkSystemInformation * New()
vtkSystemInformation::GetTypeID
const char * GetTypeID()
vtkSystemInformation::RunRenderingCheck
void RunRenderingCheck()
vtkSystemInformation::DoesCPUSupportFeature
int DoesCPUSupportFeature(long int)
vtkSystemInformation::StringHolder
std::string StringHolder
Definition
vtkSystemInformation.h:106
vtkSystemInformation::GetNumberOfLogicalCPU
unsigned int GetNumberOfLogicalCPU()
vtkSystemInformation::NewOffscreenRenderWindow
vtkSmartPointer< vtkRenderWindow > NewOffscreenRenderWindow()
vtkSystemInformation::GetModelName
const char * GetModelName()
vtkSystemInformation::RenderingCapabilities
vtkTypeUInt32 RenderingCapabilities
Definition
vtkSystemInformation.h:107
vtkSystemInformation::GetTotalPhysicalMemory
unsigned long GetTotalPhysicalMemory()
vtkSystemInformation::DoesCPUSupportCPUID
int DoesCPUSupportCPUID()
vtkSystemInformation::GetVendorString
const char * GetVendorString()
vtkSystemInformation::GetAvailableVirtualMemory
unsigned long GetAvailableVirtualMemory()
vtkSystemInformation::RenderingCapabilitiesDetails
std::string RenderingCapabilitiesDetails
Definition
vtkSystemInformation.h:108
vtkSystemInformation::~vtkSystemInformation
~vtkSystemInformation() override
vtkSystemInformation::GetVendorID
const char * GetVendorID()
vtkSlicerBaseLogic.h
Generated on Sun Mar 16 2025 03:15:10 for Slicer by
1.13.0