eVolve::Window Class Reference

Inheritance diagram for eVolve::Window:
Inheritance graph
[legend]
Collaboration diagram for eVolve::Window:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Window (eq::Pipe *parent)
 Construct a new window.
GLuint getDisplayList (const void *key)
GLuint newDisplayList (const void *key)
void getLogoTexture (GLuint &id, eq::Vector2i &size) const
GLEWContext * glewGetContext ()
 Get the GLEW context for this window.

Protected Member Functions

virtual ~Window ()
 Destruct the window.
virtual bool configInit (const uint32_t initID)
 Initialize this window.
virtual bool configInitGL (const uint32_t initID)
 Initialize the OpenGL state for this window.
virtual void swapBuffers ()
 Swap the front and back buffer of the window.

Detailed Description

Definition at line 25 of file examples/eVolve/window.h.


Constructor & Destructor Documentation

eVolve::Window::Window ( eq::Pipe parent  )  [inline]

Construct a new window.

Reimplemented from eq::Window.

Definition at line 28 of file examples/eVolve/window.h.

virtual eVolve::Window::~Window (  )  [inline, protected, virtual]

Destruct the window.

Reimplemented from eq::Window.

Definition at line 43 of file examples/eVolve/window.h.


Member Function Documentation

GLEWContext* eVolve::Window::glewGetContext (  )  [inline]

Get the GLEW context for this window.

The glew context is initialized during window initialization, and provides access to OpenGL extensions. This function does not follow the Equalizer naming conventions, since GLEW uses a function of this name to automatically resolve OpenGL function entry points. Therefore, any supported GL function can be called directly from an initialized Window.

Returns:
the extended OpenGL function table for the window's OpenGL context.

Reimplemented from eq::Window.

Definition at line 39 of file examples/eVolve/window.h.

References eq::Window::getObjectManager().

Referenced by configInitGL().

Here is the call graph for this function:

Here is the caller graph for this function:

bool eVolve::Window::configInit ( const uint32_t  initID  )  [protected, virtual]

Initialize this window.

Parameters:
initID the init identifier.

Reimplemented from eq::Window.

Definition at line 26 of file examples/eVolve/window.cpp.

References eq::Window::IATTR_PLANES_ALPHA, and eq::Window::setIAttribute().

Here is the call graph for this function:

bool eVolve::Window::configInitGL ( const uint32_t  initID  )  [protected, virtual]

Initialize the OpenGL state for this window.

Parameters:
initID the init identifier.
Returns:
true if the initialization was successful, false if not.

Reimplemented from eq::Window.

Definition at line 34 of file examples/eVolve/window.cpp.

References eq::Window::getPipe(), glewGetContext(), eq::Window::setErrorMessage(), and swapBuffers().

Here is the call graph for this function:

void eVolve::Window::swapBuffers (  )  [protected, virtual]

Swap the front and back buffer of the window.

Reimplemented from eq::Window.

Definition at line 122 of file examples/eVolve/window.cpp.

References eq::Window::getChannels(), and eq::Window::getPipe().

Referenced by configInitGL().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:16:00 2010 for Equalizer 0.9.1 by  doxygen 1.6.1