vtkGPUInfo Class Reference

#include <vtkGPUInfo.h>

Inheritance diagram for vtkGPUInfo:

Inheritance graph
[legend]
Collaboration diagram for vtkGPUInfo:

Collaboration graph
[legend]

List of all members.


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 33 of file vtkGPUInfo.h.


Public Types

typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 vtkGPUInfo ()
 ~vtkGPUInfo ()

Protected Attributes

vtkIdType DedicatedVideoMemory
vtkIdType DedicatedSystemMemory
vtkIdType SharedSystemMemory

Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 37 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.

virtual const char* vtkGPUInfo::GetClassName (  )  [virtual]

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 ( vtkObject o  )  [static]

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.

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.


Member Data Documentation

Definition at line 70 of file vtkGPUInfo.h.

Definition at line 71 of file vtkGPUInfo.h.

Definition at line 72 of file vtkGPUInfo.h.


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

Generated on Mon Sep 27 18:26:02 2010 for VTK by  doxygen 1.5.6