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 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 all input frames.
virtual void frameReadback (const uint32_t frameID)
 Read back the rendered frame buffer into all output frames.
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 43 of file examples/eVolve/channel.h.


Constructor & Destructor Documentation

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

Construct a new channel.

Version:
1.0

Reimplemented from eq::Channel.

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

References eq::fabric::Range::ALL, eq::Frame::BUFFER_COLOR, and EQERROR.

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

Destruct the channel.

Version:
1.0

Reimplemented from eq::Channel.

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


Member Function Documentation

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

Applies the perspective or orthographic frustum.

Reimplemented from eq::Channel.

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

Referenced by frameDraw().

Here is the caller graph for this function:

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

Initialize this channel.

Parameters:
initID the init identifier.
Version:
1.0

Reimplemented from eq::Channel.

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

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

Here is the call graph for this function:

void eVolve::Channel::frameAssemble ( const uint32_t  frameID  )  [protected, virtual]
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.
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 80 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.
Version:
1.0

Reimplemented from eq::Channel.

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

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

Here is the call graph for this function:

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

Read back the rendered frame buffer into all output frames.

Called 0 to n times during one frame.

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

Reimplemented from eq::Channel.

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

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()
Version:
1.0

Reimplemented from eq::Channel.

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

void eVolve::Channel::frameViewFinish ( const uint32_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:
frameID the per-frame identifier.
Version:
1.0

Reimplemented from eq::Channel.

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


The documentation for this class was generated from the following files:
Generated on Sun Aug 29 2010 13:54:04 for Equalizer 0.9.1 by  doxygen 1.7.1