eqPly::Window Class Reference

A window represent an OpenGL drawable and context. More...

#include <window.h>

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

List of all members.

Public Member Functions

 Window (eq::Pipe *parent)
 Construct a new window.
void getLogoTexture (GLuint &id, eq::Vector2i &size) const
VertexBufferStategetState ()

Protected Member Functions

virtual ~Window ()
 Destruct the window.
virtual bool configInitOSWindow (const uint32_t initID)
 Initialize the OS-specific window.
virtual bool configInitGL (const uint32_t initID)
 Initialize the OpenGL state for this window.
virtual bool configExitGL ()
 De-initialize the OpenGL state for this window.
virtual void frameStart (const uint32_t frameID, const uint32_t frameNumber)
 Start rendering a frame.

Detailed Description

A window represent an OpenGL drawable and context.

Manages OpenGL-specific data, i.e., it creates the logo texture during initialization and holds a state object for GL object creation. It initializes the OpenGL state and draws the statistics overlay.

Definition at line 35 of file examples/eqPly/window.h.


Constructor & Destructor Documentation

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

Construct a new window.

Reimplemented from eq::Window.

Definition at line 38 of file examples/eqPly/window.h.

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

Destruct the window.

Reimplemented from eq::Window.

Definition at line 47 of file examples/eqPly/window.h.


Member Function Documentation

bool eqPly::Window::configInitOSWindow ( const uint32_t  initID  )  [protected, virtual]

Initialize the OS-specific window.

See also:
setOSWindow()

Reimplemented from eq::Window.

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

References eq::AUTO, eq::Window::configExitOSWindow(), eq::Window::configInitOSWindow(), eq::Window::getDrawableConfig(), eq::Window::IATTR_PLANES_ACCUM, and eq::Window::setIAttribute().

Here is the call graph for this function:

bool eqPly::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 65 of file examples/eqPly/window.cpp.

References eq::Window::configInitGL(), eq::Window::getConfig(), and eq::Window::getObjectManager().

Here is the call graph for this function:

bool eqPly::Window::configExitGL (  )  [protected, virtual]

De-initialize the OpenGL state for this window.

Reimplemented from eq::Window.

Definition at line 89 of file examples/eqPly/window.cpp.

void eqPly::Window::frameStart ( const uint32_t  frameID,
const uint32_t  frameNumber 
) [protected, virtual]

Start rendering a frame.

Called once at the beginning of each frame, to do per-frame updates of window-specific data. This method has to call startFrame().

Parameters:
frameID the per-frame identifier.
frameNumber the frame to start.
See also:
Config::beginFrame()

Reimplemented from eq::Window.

Definition at line 205 of file examples/eqPly/window.cpp.

References eq::Window::getPipe().

Here is the call graph for this function:


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