eqPixelBench::Channel Class Reference

Inheritance diagram for eqPixelBench::Channel:
Inheritance graph
[legend]
Collaboration diagram for eqPixelBench::Channel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Channel (eq::Window *parent)
 Construct a new channel.
virtual ~Channel ()
 Destruct the channel.

Protected Member Functions

virtual void frameStart (const uint32_t frameID, const uint32_t frameNumber)
 Start rendering a frame.
virtual void frameDraw (const uint32_t frameID)
 Draw the scene.
ConfigEvent _createConfigEvent ()

Detailed Description

Definition at line 27 of file examples/eqPixelBench/channel.h.


Constructor & Destructor Documentation

eqPixelBench::Channel::Channel ( eq::Window parent  ) 

Construct a new channel.

Reimplemented from eq::Channel.

Definition at line 73 of file examples/eqPixelBench/channel.cpp.

References eq::FrameData::newImage(), and eq::Frame::setData().

Here is the call graph for this function:

virtual eqPixelBench::Channel::~Channel (  )  [inline, virtual]

Destruct the channel.

Reimplemented from eq::Channel.

Definition at line 31 of file examples/eqPixelBench/channel.h.


Member Function Documentation

void eqPixelBench::Channel::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 channel-specific data. This method has to call startFrame().

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

Reimplemented from eq::Channel.

Definition at line 83 of file examples/eqPixelBench/channel.cpp.

References eqPixelBench::Config::getClock(), eq::Channel::getConfig(), eq::Channel::getName(), eq::base::Clock::getTimef(), and eq::Config::sendEvent().

Here is the call graph for this function:

void eqPixelBench::Channel::frameDraw ( const uint32_t  frameID  )  [protected, virtual]

Draw the scene.

Called 0 to n times during one frame.

Parameters:
frameID the per-frame identifier.

Reimplemented from eq::Channel.

Definition at line 111 of file examples/eqPixelBench/channel.cpp.

References eq::Channel::applyBuffer(), eq::Channel::applyFrustum(), eq::Channel::applyHeadTransform(), eq::Channel::applyViewport(), eq::Channel::resetAssemblyState(), and eq::Channel::setupAssemblyState().

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:21 2010 for Equalizer 0.9.1 by  doxygen 1.6.1