Equalizer  1.4.1
Public Member Functions | Protected Member Functions
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 bool configExit ()
 Exit 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 the output frames.
virtual void frameViewFinish (const eq::uint128_t &frameID)
 Finish updating a destination channel.
virtual void frameClear (const eq::uint128_t &frameID)
 Clear the frame buffer.
virtual bool useOrtho () const
 Select perspective or orthographic rendering.
void clearViewport (const eq::PixelViewport &pvp)

Detailed Description

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


Constructor & Destructor Documentation

Construct a new channel.

Version:
1.0

Reimplemented from eq::Channel.

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

References eq::fabric::Frame::BUFFER_COLOR, eq::FrameData::setBuffers(), and eq::Frame::setFrameData().

+ Here is the call graph for this function:

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

Destruct the channel.

Version:
1.0

Reimplemented from eq::Channel.

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


Member Function Documentation

bool eVolve::Channel::configExit ( ) [protected, virtual]

Exit this channel.

Version:
1.0

Reimplemented from eq::Channel.

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

References eq::Frame::getFrameData().

+ Here is the call graph for this function:

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 61 of file eVolve/channel.cpp.

References eq::Channel::configInit(), and eq::fabric::Channel< Window, Channel >::setNearFar().

+ Here is the call graph for this function:

void eVolve::Channel::frameAssemble ( const eq::uint128_t &  frameID) [protected, virtual]
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 95 of file eVolve/channel.cpp.

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

+ Here is the call 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 146 of file eVolve/channel.cpp.

References eq::Channel::applyBuffer(), eq::Channel::applyFrustum(), eq::Channel::applyHeadTransform(), eq::Channel::applyViewport(), eq::Channel::getPipe(), eq::fabric::Channel< Window, Channel >::getRange(), eq::Channel::getUniqueColor(), and eq::Channel::outlineViewport().

+ Here is the call graph for this function:

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

Read back the rendered frame buffer into the 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 385 of file eVolve/channel.cpp.

References eq::fabric::Frame::BUFFER_COLOR, eq::fabric::Frame::BUFFER_DEPTH, eq::Frame::disableBuffer(), eq::Frame::getFrameData(), eq::Channel::getOutputFrames(), 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 78 of file eVolve/channel.cpp.

References eVolve::BG_COLOR, eVolve::BG_WHITE, and eq::Channel::getUniqueColor().

+ 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 401 of file eVolve/channel.cpp.

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 199 of file eVolve/channel.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Nov 26 2012 14:41:51 for Equalizer 1.4.1 by  doxygen 1.7.6.1