VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
vtkXOpenGLRenderDevice Class Reference

#include <vtkXOpenGLRenderDevice.h>

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

List of all members.

Public Types

typedef vtkAbstractRenderDevice Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXOpenGLRenderDeviceNewInstance () 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 vtkXOpenGLRenderDeviceSafeDownCast (vtkObjectBase *o)
static vtkXOpenGLRenderDeviceNew ()
 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 vtkObjectBaseNewInstanceInternal () 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

Detailed Description

Definition at line 23 of file vtkXOpenGLRenderDevice.h.


Member Typedef Documentation

Reimplemented from vtkAbstractRenderDevice.

Definition at line 27 of file vtkXOpenGLRenderDevice.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.

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.

Returns:
A derived render device, or NULL if no suitable override is set.

Reimplemented from vtkAbstractRenderDevice.

virtual bool vtkXOpenGLRenderDevice::CreateNewWindow ( const vtkRecti geometry,
const std::string &  name 
) [virtual]

Create a window with the desired geometry.

Parameters:
geometryThe geometry in screen coordinates for the window.
Returns:
True on success, false on failure.

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.


Friends And Related Function Documentation

friend class vtkXInteractionDevice [friend]

Definition at line 59 of file vtkXOpenGLRenderDevice.h.


Member Data Documentation

Definition at line 40 of file vtkXOpenGLRenderDevice.h.

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.

Definition at line 45 of file vtkXOpenGLRenderDevice.h.

Definition at line 46 of file vtkXOpenGLRenderDevice.h.

Definition at line 47 of file vtkXOpenGLRenderDevice.h.

Definition at line 48 of file vtkXOpenGLRenderDevice.h.

Definition at line 50 of file vtkXOpenGLRenderDevice.h.


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