VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkGPUInfo Class Reference

Stores GPU VRAM information. More...

#include <vtkGPUInfo.h>

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

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkGPUInfoNewInstance () 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 vtkGPUInfoNew ()
static int IsTypeOf (const char *type)
static vtkGPUInfoSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkGPUInfo ()
 ~vtkGPUInfo ()

Protected Attributes

vtkIdType DedicatedVideoMemory
vtkIdType DedicatedSystemMemory
vtkIdType SharedSystemMemory

Detailed Description

Stores GPU VRAM information.

vtkGPUInfo stores information about GPU Video RAM. An host can have several GPUs. The values are set by vtkGPUInfoList.

See also:
vtkGPUInfoList vtkDirectXGPUInfoList vtkCoreGraphicsGPUInfoList
Tests:
vtkGPUInfo (Tests)

Definition at line 34 of file vtkGPUInfo.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 38 of file vtkGPUInfo.h.


Constructor & Destructor Documentation

vtkGPUInfo::vtkGPUInfo ( ) [protected]
vtkGPUInfo::~vtkGPUInfo ( ) [protected]

Member Function Documentation

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.

Reimplemented from vtkObject.

virtual vtkObjectBase* vtkGPUInfo::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkObject.

Reimplemented from vtkObject.

void vtkGPUInfo::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

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.

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.

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.

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.


Member Data Documentation

Definition at line 71 of file vtkGPUInfo.h.

Definition at line 72 of file vtkGPUInfo.h.

Definition at line 73 of file vtkGPUInfo.h.


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