Equalizer 1.0
|
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. |
Definition at line 43 of file share/Equalizer/examples/eVolve/channel.h.
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.
Reimplemented from eq::Channel.
Definition at line 49 of file eVolve/channel.cpp.
virtual eVolve::Channel::~Channel | ( | ) | [inline, protected, virtual] |
Destruct the channel.
Reimplemented from eq::Channel.
Definition at line 49 of file share/Equalizer/examples/eVolve/channel.h.
bool eVolve::Channel::configInit | ( | const eq::uint128_t & | initID | ) | [protected, virtual] |
Initialize this channel.
initID | the init identifier. |
Reimplemented from eq::Channel.
Definition at line 67 of file eVolve/channel.cpp.
References eq::Channel::getUniqueColor().
void eVolve::Channel::frameAssemble | ( | const eq::uint128_t & | frameID | ) | [protected, virtual] |
Assemble all input frames.
Called 0 to n times during one frame.
frameID | the per-frame identifier. |
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.
frameID | the per-frame identifier. |
Reimplemented from eq::Channel.
Definition at line 89 of file eVolve/channel.cpp.
Referenced by osgScaleViewer::Channel::Channel().
void eVolve::Channel::frameDraw | ( | const eq::uint128_t & | frameID | ) | [protected, virtual] |
Draw the scene.
Called 0 to n times during one frame.
frameID | the per-frame identifier. |
Reimplemented from eq::Channel.
Definition at line 124 of file eVolve/channel.cpp.
Referenced by osgScaleViewer::Channel::frameClear().
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.
frameID | the per-frame identifier. |
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().
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().
frameID | the per-frame identifier. |
frameNumber | the frame to start. |
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().
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.
frameID | the per-frame identifier. |
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().
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.
Reimplemented from eq::fabric::Channel< Window, Channel >.
Definition at line 172 of file eVolve/channel.cpp.
References eq::Channel::getPipe().