eVolve::Channel Class Reference

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

List of all members.

Public Member Functions

 Channel (eq::Window *parent)
 Construct a new channel.

Protected Member Functions

virtual ~Channel ()
 Destruct the channel.
virtual bool configInit (const uint32_t initID)
 Initialize this channel.
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.
virtual void frameAssemble (const uint32_t frameID)
 Assemble input frames.
virtual void frameReadback (const uint32_t frameID)
 Read back the rendered scene.
virtual void frameViewFinish (const uint32_t frameID)
 Finish updating a destination channel.
virtual void applyFrustum () const
 Applies the perspective or orthographic frustum.
void clearViewport (const eq::PixelViewport &pvp)
void frameClear (const uint32_t frameID)
 Clear the frame buffer.

Detailed Description

Definition at line 32 of file examples/eVolve/channel.h.


Constructor & Destructor Documentation

eVolve::Channel::Channel ( eq::Window parent  ) 

Construct a new channel.

Reimplemented from eq::Channel.

Definition at line 35 of file examples/eVolve/channel.cpp.

References eq::Frame::BUFFER_COLOR, and eq::Frame::setData().

Here is the call graph for this function:

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

Destruct the channel.

Reimplemented from eq::Channel.

Definition at line 38 of file examples/eVolve/channel.h.


Member Function Documentation

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

Initialize this channel.

Parameters:
initID the init identifier.

Reimplemented from eq::Channel.

Definition at line 53 of file examples/eVolve/channel.cpp.

References eq::Channel::configInit(), EQINFO, eq::Channel::getUniqueColor(), and eq::Channel::setNearFar().

Here is the call graph for this function:

void eVolve::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 71 of file examples/eVolve/channel.cpp.

void eVolve::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 112 of file examples/eVolve/channel.cpp.

References eq::Channel::applyBuffer(), applyFrustum(), eq::Channel::applyHeadTransform(), eq::Channel::applyViewport(), eq::Channel::getPipe(), eq::Channel::getRange(), and eq::Channel::outlineViewport().

Here is the call graph for this function:

void eVolve::Channel::frameAssemble ( const uint32_t  frameID  )  [protected, virtual]
void eVolve::Channel::frameReadback ( const uint32_t  frameID  )  [protected, virtual]

Read back the rendered scene.

Called 0 to n times during one frame.

Parameters:
frameID the per-frame identifier.
See also:
getOutputFrames

Reimplemented from eq::Channel.

Definition at line 331 of file examples/eVolve/channel.cpp.

References eq::Frame::BUFFER_DEPTH, and eq::Channel::getOutputFrames().

Here is the call graph for this function:

void eVolve::Channel::frameViewFinish ( const uint32_t  frameID  )  [protected, virtual]

Finish updating a destination channel.

Called once on each destination channel before frameFinish, e.g., channels which are defined by a view/segment intersection, updating a part of a display.

This is typically used to do operations on the output channel after it has been fully updated, e.g., to draw a 2D overlay.

Parameters:
frameID the per-frame identifier.

Reimplemented from eq::Channel.

Definition at line 344 of file examples/eVolve/channel.cpp.

void eVolve::Channel::applyFrustum (  )  const [protected, virtual]

Applies the perspective or orthographic frustum.

Reimplemented from eq::Channel.

Definition at line 166 of file examples/eVolve/channel.cpp.

References eq::Channel::applyOrtho().

Referenced by frameDraw().

Here is the call graph for this function:

Here is the caller graph for this function:

void eVolve::Channel::frameClear ( const uint32_t  frameID  )  [protected, virtual]

Clear the frame buffer.

Called 0 to n times during one frame.

Parameters:
frameID the per-frame identifier.

Reimplemented from eq::Channel.

Definition at line 77 of file examples/eVolve/channel.cpp.

References eq::Channel::applyBuffer(), eq::Channel::applyViewport(), and eq::Channel::getRange().

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