VTK
|
#include <vtkXOpenGLRenderDevice.h>
Public Types | |
typedef vtkAbstractRenderDevice | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkXOpenGLRenderDevice * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual bool | CreateNewWindow (const vtkRecti &geometry, const std::string &name) |
Create a window with the desired geometry. | |
virtual void | MakeCurrent () |
Make the context current so that it can be used by OpenGL. | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkXOpenGLRenderDevice * | SafeDownCast (vtkObjectBase *o) |
static vtkXOpenGLRenderDevice * | New () |
Make a new device, this class is abstract and one of its derived forms will be returned, or NULL if no override has been provided. | |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkXOpenGLRenderDevice () | |
~vtkXOpenGLRenderDevice () | |
Protected Attributes | |
Window | ParentId |
Window | WindowId |
Display * | DisplayId |
Colormap | ColorMap |
bool | OwnDisplay |
bool | OwnWindow |
bool | OffScreenRendering |
bool | Mapped |
double | Borders |
Friends | |
class | vtkXInteractionDevice |
Definition at line 23 of file vtkXOpenGLRenderDevice.h.
Reimplemented from vtkAbstractRenderDevice.
Definition at line 27 of file vtkXOpenGLRenderDevice.h.
vtkXOpenGLRenderDevice::vtkXOpenGLRenderDevice | ( | ) | [protected] |
vtkXOpenGLRenderDevice::~vtkXOpenGLRenderDevice | ( | ) | [protected] |
static int vtkXOpenGLRenderDevice::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 vtkAbstractRenderDevice.
virtual int vtkXOpenGLRenderDevice::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 vtkAbstractRenderDevice.
static vtkXOpenGLRenderDevice* vtkXOpenGLRenderDevice::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkAbstractRenderDevice.
virtual vtkObjectBase* vtkXOpenGLRenderDevice::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkAbstractRenderDevice.
Reimplemented from vtkAbstractRenderDevice.
void vtkXOpenGLRenderDevice::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 vtkAbstractRenderDevice.
static vtkXOpenGLRenderDevice* vtkXOpenGLRenderDevice::New | ( | ) | [static] |
Make a new device, this class is abstract and one of its derived forms will be returned, or NULL if no override has been provided.
Reimplemented from vtkAbstractRenderDevice.
virtual bool vtkXOpenGLRenderDevice::CreateNewWindow | ( | const vtkRecti & | geometry, |
const std::string & | name | ||
) | [virtual] |
Create a window with the desired geometry.
geometry | The geometry in screen coordinates for the window. |
Implements vtkAbstractRenderDevice.
virtual void vtkXOpenGLRenderDevice::MakeCurrent | ( | ) | [virtual] |
Make the context current so that it can be used by OpenGL.
This is an expensive call, and so its use should be minimized to once per render ideally.
Implements vtkAbstractRenderDevice.
friend class vtkXInteractionDevice [friend] |
Definition at line 59 of file vtkXOpenGLRenderDevice.h.
Window vtkXOpenGLRenderDevice::ParentId [protected] |
Definition at line 40 of file vtkXOpenGLRenderDevice.h.
Window vtkXOpenGLRenderDevice::WindowId [protected] |
Definition at line 41 of file vtkXOpenGLRenderDevice.h.
Display* vtkXOpenGLRenderDevice::DisplayId [protected] |
Definition at line 42 of file vtkXOpenGLRenderDevice.h.
Colormap vtkXOpenGLRenderDevice::ColorMap [protected] |
Definition at line 43 of file vtkXOpenGLRenderDevice.h.
bool vtkXOpenGLRenderDevice::OwnDisplay [protected] |
Definition at line 45 of file vtkXOpenGLRenderDevice.h.
bool vtkXOpenGLRenderDevice::OwnWindow [protected] |
Definition at line 46 of file vtkXOpenGLRenderDevice.h.
bool vtkXOpenGLRenderDevice::OffScreenRendering [protected] |
Definition at line 47 of file vtkXOpenGLRenderDevice.h.
bool vtkXOpenGLRenderDevice::Mapped [protected] |
Definition at line 48 of file vtkXOpenGLRenderDevice.h.
double vtkXOpenGLRenderDevice::Borders [protected] |
Definition at line 50 of file vtkXOpenGLRenderDevice.h.