The rendering entity, updating a part of a Window. More...
#include <channel.h>


Classes | |
| struct | Accum |
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 bool | configExit () |
| Exit this channel. | |
| virtual void | frameClear (const uint32_t frameID) |
| Clear the frame buffer. | |
| 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 | frameStart (const uint32_t frameID, const uint32_t frameNumber) |
| Start rendering a frame. | |
| virtual void | frameFinish (const uint32_t frameID, const uint32_t frameNumber) |
| Finish rendering a frame. | |
| virtual void | frameViewStart (const uint32_t frameID) |
| Start updating a destination channel. | |
| virtual void | frameViewFinish (const uint32_t frameID) |
| Finish updating a destination channel. | |
| virtual void | applyFrustum () const |
| Applies the perspective or orthographic frustum. | |
The rendering entity, updating a part of a Window.
Definition at line 49 of file examples/eqPly/channel.h.
| eqPly::Channel::Channel | ( | eq::Window * | parent | ) |
Construct a new channel.
Reimplemented from eq::Channel.
Definition at line 48 of file examples/eqPly/channel.cpp.
| virtual eqPly::Channel::~Channel | ( | ) | [inline, protected, virtual] |
Destruct the channel.
Reimplemented from eq::Channel.
Definition at line 55 of file examples/eqPly/channel.h.
| bool eqPly::Channel::configInit | ( | const uint32_t | initID | ) | [protected, virtual] |
Initialize this channel.
| initID | the init identifier. |
Reimplemented from eq::Channel.
Definition at line 55 of file examples/eqPly/channel.cpp.
References eq::Channel::configInit(), EQINFO, eq::net::Object::getID(), eq::Channel::getName(), and eq::Channel::setNearFar().

| bool eqPly::Channel::configExit | ( | ) | [protected, virtual] |
Exit this channel.
Reimplemented from eq::Channel.
Definition at line 67 of file examples/eqPly/channel.cpp.
| void eqPly::Channel::frameClear | ( | const uint32_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 78 of file examples/eqPly/channel.cpp.
References eq::Channel::applyBuffer(), eq::Channel::applyViewport(), eq::Channel::getEye(), eq::net::Object::getID(), eq::Channel::getUniqueColor(), and eq::Channel::getView().

| void eqPly::Channel::frameDraw | ( | const uint32_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 106 of file examples/eqPly/channel.cpp.
References eqPly::COLOR_DEMO, EQ_MAX, eq::Channel::getEye(), eq::Channel::getPeriod(), eq::Channel::getSubPixel(), and eq::Channel::getUniqueColor().

| void eqPly::Channel::frameAssemble | ( | const uint32_t | frameID | ) | [protected, virtual] |
Assemble input frames.
Called 0 to n times during one frame.
| frameID | the per-frame identifier. |
Reimplemented from eq::Channel.
Definition at line 168 of file examples/eqPly/channel.cpp.
References eq::Channel::applyBuffer(), eq::Channel::applyViewport(), eq::Compositor::assembleFrames(), EQ_MAX, EQWARN, eq::Channel::getEye(), eq::Channel::getInputFrames(), eq::Frame::getPeriod(), eq::Channel::getPixelViewport(), eq::Frame::getSubPixel(), eq::Channel::resetAssemblyState(), and eq::Channel::setupAssemblyState().

| void eqPly::Channel::frameReadback | ( | const uint32_t | frameID | ) | [protected, virtual] |
Read back the rendered scene.
Called 0 to n times during one frame.
| frameID | the per-frame identifier. |
Reimplemented from eq::Channel.
Definition at line 218 of file examples/eqPly/channel.cpp.
References eq::Channel::getOutputFrames().

| void eqPly::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().
| frameID | the per-frame identifier. | |
| frameNumber | the frame to start. |
Reimplemented from eq::Channel.
Definition at line 234 of file examples/eqPly/channel.cpp.
| void eqPly::Channel::frameFinish | ( | const uint32_t | frameID, | |
| const uint32_t | frameNumber | |||
| ) | [protected, virtual] |
Finish rendering a frame.
Called once at the end of each frame, to do per-frame updates of channel-specific data. This method has to call releaseFrame().
| frameID | the per-frame identifier. | |
| frameNumber | the frame to finish. |
Reimplemented from eq::Channel.
Definition at line 249 of file examples/eqPly/channel.cpp.
| void eqPly::Channel::frameViewStart | ( | const uint32_t | frameID | ) | [protected, virtual] |
Start updating a destination channel.
Called once on each destination channel after frameStart, e.g., channels which are defined by a view/segment intersection, updating a part of a display.
| frameID | the per-frame identifier. |
Reimplemented from eq::Channel.
Definition at line 242 of file examples/eqPly/channel.cpp.
References eq::Channel::getPixelViewport().

| void eqPly::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.
| frameID | the per-frame identifier. |
Reimplemented from eq::Channel.
Definition at line 267 of file examples/eqPly/channel.cpp.
References eq::Channel::applyBuffer(), eq::Channel::applyViewport(), eq::Channel::drawStatistics(), EQ_MAX, eq::Channel::getConfig(), eq::Channel::getEye(), eq::net::Object::getID(), eq::Channel::getPixelViewport(), eq::Channel::getView(), eq::Channel::resetAssemblyState(), eq::Config::sendEvent(), and eq::Channel::setupAssemblyState().

| void eqPly::Channel::applyFrustum | ( | ) | const [protected, virtual] |
Applies the perspective or orthographic frustum.
Reimplemented from eq::Channel.
Definition at line 334 of file examples/eqPly/channel.cpp.
References eq::Channel::getFrustum(), and eq::Channel::getOrtho().

0.9.1 by
1.6.1