#include <vtkOpenGLHardwareSupport.h>
vtkOpenGLHardwareSupport is an implementation of methods used to query OpenGL and the hardware of what kind of graphics support is available. When VTK supports more than one Graphics API an abstract super class vtkHardwareSupport should be implemented for this class to derive from.
Definition at line 35 of file vtkOpenGLHardwareSupport.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) |
int | GetNumberOfFixedTextureUnits () |
int | GetNumberOfTextureUnits () |
bool | GetSupportsMultiTexturing () |
virtual vtkOpenGLExtensionManager * | GetExtensionManager () |
void | SetExtensionManager (vtkOpenGLExtensionManager *extensionManager) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkOpenGLHardwareSupport * | SafeDownCast (vtkObject *o) |
static vtkOpenGLHardwareSupport * | New () |
Protected Member Functions | |
vtkOpenGLHardwareSupport () | |
~vtkOpenGLHardwareSupport () |
vtkOpenGLHardwareSupport::vtkOpenGLHardwareSupport | ( | ) | [protected] |
vtkOpenGLHardwareSupport::~vtkOpenGLHardwareSupport | ( | ) | [protected] |
virtual const char* vtkOpenGLHardwareSupport::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
static int vtkOpenGLHardwareSupport::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 vtkOpenGLHardwareSupport::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 vtkOpenGLHardwareSupport* vtkOpenGLHardwareSupport::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
void vtkOpenGLHardwareSupport::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
static vtkOpenGLHardwareSupport* vtkOpenGLHardwareSupport::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
int vtkOpenGLHardwareSupport::GetNumberOfFixedTextureUnits | ( | ) |
Return the number of fixed-function texture units.
int vtkOpenGLHardwareSupport::GetNumberOfTextureUnits | ( | ) |
Return the total number of texture image units accessible by a shader program.
bool vtkOpenGLHardwareSupport::GetSupportsMultiTexturing | ( | ) |
Test if MultiTexturing is supported.
virtual vtkOpenGLExtensionManager* vtkOpenGLHardwareSupport::GetExtensionManager | ( | ) | [virtual] |
Set/Get a reference to a vtkRenderWindow which is Required for most methods of this class to work.
void vtkOpenGLHardwareSupport::SetExtensionManager | ( | vtkOpenGLExtensionManager * | extensionManager | ) |
Set/Get a reference to a vtkRenderWindow which is Required for most methods of this class to work.