Equalizer 1.0

eVolve::Channel Class Reference

Inheritance diagram for eVolve::Channel:
Collaboration diagram for eVolve::Channel:

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 eq::uint128_t &initID)
 Initialize this channel.
virtual void frameStart (const eq::uint128_t &frameID, const uint32_t frameNumber)
 Start rendering a frame.
virtual void frameDraw (const eq::uint128_t &frameID)
 Draw the scene.
virtual void frameAssemble (const eq::uint128_t &frameID)
 Assemble all input frames.
virtual void frameReadback (const eq::uint128_t &frameID)
 Read back the rendered frame buffer into all output frames.
virtual void frameViewFinish (const eq::uint128_t &frameID)
 Finish updating a destination channel.
virtual bool useOrtho () const
 Select perspective or orthographic rendering.
void clearViewport (const eq::PixelViewport &pvp)
void frameClear (const eq::uint128_t &frameID)
 Clear the frame buffer.

Detailed Description

Definition at line 43 of file share/Equalizer/examples/eVolve/channel.h.


Constructor & Destructor Documentation

Users eile Software eq svn tags Equalizer docs install share Equalizer examples eVolve channel cpp Users eile Software eq svn tags Equalizer docs install share Equalizer examples eVolve channel cpp Users eile Software eq svn tags Equalizer docs install share Equalizer examples eVolve channel cpp Users eile Software eq svn tags Equalizer docs install share Equalizer examples eVolve channel cpp Users eile Software eq svn tags Equalizer docs install share Equalizer examples eVolve channel cpp Users eile Software eq svn tags Equalizer docs install share Equalizer examples eVolve channel cpp Users eile Software eq svn tags Equalizer docs install share Equalizer examples eVolve channel cpp eVolve::Channel::Channel ( eq::Window parent)

Construct a new channel.

Version:
1.0

Reimplemented from eq::Channel.

Definition at line 49 of file eVolve/channel.cpp.

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

Destruct the channel.

Version:
1.0

Reimplemented from eq::Channel.

Definition at line 49 of file share/Equalizer/examples/eVolve/channel.h.


Member Function Documentation

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

Initialize this channel.

Parameters:
initIDthe init identifier.
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 67 of file eVolve/channel.cpp.

References eq::Channel::getUniqueColor().

Here is the call graph for this function:

void eVolve::Channel::frameAssemble ( const eq::uint128_t frameID) [protected, virtual]

Assemble all input frames.

Called 0 to n times during one frame.

Parameters:
frameIDthe per-frame identifier.
See also:
getInputFrames()
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 252 of file eVolve/channel.cpp.

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

Clear the frame buffer.

Called 0 to n times during one frame.

Parameters:
frameIDthe per-frame identifier.
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 89 of file eVolve/channel.cpp.

Referenced by osgScaleViewer::Channel::Channel().

Here is the caller graph for this function:

void eVolve::Channel::frameDraw ( const eq::uint128_t frameID) [protected, virtual]

Draw the scene.

Called 0 to n times during one frame.

Parameters:
frameIDthe per-frame identifier.
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 124 of file eVolve/channel.cpp.

Referenced by osgScaleViewer::Channel::frameClear().

Here is the caller graph for this function:

void eVolve::Channel::frameReadback ( const eq::uint128_t frameID) [protected, virtual]

Read back the rendered frame buffer into all output frames.

Called 0 to n times during one frame.

Parameters:
frameIDthe per-frame identifier.
See also:
getOutputFrames()
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 337 of file eVolve/channel.cpp.

References eq::Frame::BUFFER_COLOR, eq::Frame::BUFFER_DEPTH, eq::Frame::disableBuffer(), and eq::Frame::setQuality().

Here is the call graph for this function:

void eVolve::Channel::frameStart ( const eq::uint128_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:
frameIDthe per-frame identifier.
frameNumberthe frame to start.
See also:
Config::startFrame()
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 83 of file eVolve/channel.cpp.

References eq::fabric::Range::ALL, eq::Channel::applyBuffer(), eq::Channel::applyViewport(), and eq::fabric::Channel< Window, Channel >::getRange().

Here is the call graph for this function:

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

Finish updating a destination channel.

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

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:
frameIDthe per-frame identifier.
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 353 of file eVolve/channel.cpp.

References eq::Channel::applyScreenFrustum(), eq::util::Texture::bind(), eq::util::Texture::getHeight(), eq::util::Texture::getTarget(), eq::util::Texture::getWidth(), and eq::fabric::Channel< Window, Channel >::getWindow().

Here is the call graph for this function:

bool eVolve::Channel::useOrtho ( ) const [protected, virtual]

Select perspective or orthographic rendering.

Influences the behaviour of getFrustum, getHeadTransform and the corresponding apply methods in eq::Channel. Intended to be overwritten by the implementation to select orthographic rendering.

Version:
1.0

Reimplemented from eq::fabric::Channel< Window, Channel >.

Definition at line 172 of file eVolve/channel.cpp.

References eq::Channel::getPipe().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sun May 8 2011 19:11:11 for Equalizer 1.0 by  doxygen 1.7.3