VTK
|
Stores GPU VRAM information. More...
#include <vtkGPUInfo.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkGPUInfo * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetDedicatedVideoMemory (vtkIdType) |
virtual vtkIdType | GetDedicatedVideoMemory () |
virtual void | SetDedicatedSystemMemory (vtkIdType) |
virtual vtkIdType | GetDedicatedSystemMemory () |
virtual void | SetSharedSystemMemory (vtkIdType) |
virtual vtkIdType | GetSharedSystemMemory () |
Static Public Member Functions | |
static vtkGPUInfo * | New () |
static int | IsTypeOf (const char *type) |
static vtkGPUInfo * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkGPUInfo () | |
~vtkGPUInfo () | |
Protected Attributes | |
vtkIdType | DedicatedVideoMemory |
vtkIdType | DedicatedSystemMemory |
vtkIdType | SharedSystemMemory |
Stores GPU VRAM information.
vtkGPUInfo stores information about GPU Video RAM. An host can have several GPUs. The values are set by vtkGPUInfoList.
Definition at line 34 of file vtkGPUInfo.h.
typedef vtkObject vtkGPUInfo::Superclass |
Reimplemented from vtkObject.
Definition at line 38 of file vtkGPUInfo.h.
vtkGPUInfo::vtkGPUInfo | ( | ) | [protected] |
vtkGPUInfo::~vtkGPUInfo | ( | ) | [protected] |
static vtkGPUInfo* vtkGPUInfo::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkGPUInfo::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkGPUInfo::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkGPUInfo* vtkGPUInfo::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkGPUInfo::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
vtkGPUInfo* vtkGPUInfo::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
void vtkGPUInfo::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
virtual void vtkGPUInfo::SetDedicatedVideoMemory | ( | vtkIdType | ) | [virtual] |
Set/Get dedicated video memory in bytes. Initial value is 0. Usually the fastest one. If it is not null, it should be take into account first and DedicatedSystemMemory or SharedSystemMemory should be ignored.
virtual vtkIdType vtkGPUInfo::GetDedicatedVideoMemory | ( | ) | [virtual] |
Set/Get dedicated video memory in bytes. Initial value is 0. Usually the fastest one. If it is not null, it should be take into account first and DedicatedSystemMemory or SharedSystemMemory should be ignored.
virtual void vtkGPUInfo::SetDedicatedSystemMemory | ( | vtkIdType | ) | [virtual] |
Set/Get dedicated system memory in bytes. Initial value is 0. This is slow memory. If it is not null, this value should be taken into account only if there is no DedicatedVideoMemory and SharedSystemMemory should be ignored.
virtual vtkIdType vtkGPUInfo::GetDedicatedSystemMemory | ( | ) | [virtual] |
Set/Get dedicated system memory in bytes. Initial value is 0. This is slow memory. If it is not null, this value should be taken into account only if there is no DedicatedVideoMemory and SharedSystemMemory should be ignored.
virtual void vtkGPUInfo::SetSharedSystemMemory | ( | vtkIdType | ) | [virtual] |
Set/Get shared system memory in bytes. Initial value is 0. Slowest memory. This value should be taken into account only if there is neither DedicatedVideoMemory nor DedicatedSystemMemory.
virtual vtkIdType vtkGPUInfo::GetSharedSystemMemory | ( | ) | [virtual] |
Set/Get shared system memory in bytes. Initial value is 0. Slowest memory. This value should be taken into account only if there is neither DedicatedVideoMemory nor DedicatedSystemMemory.
vtkIdType vtkGPUInfo::DedicatedVideoMemory [protected] |
Definition at line 71 of file vtkGPUInfo.h.
vtkIdType vtkGPUInfo::DedicatedSystemMemory [protected] |
Definition at line 72 of file vtkGPUInfo.h.
vtkIdType vtkGPUInfo::SharedSystemMemory [protected] |
Definition at line 73 of file vtkGPUInfo.h.