30 #ifndef EVOLVE_CHANNEL_H
31 #define EVOLVE_CHANNEL_H
34 #include "frameData.h"
50 virtual bool configInit(
const eq::uint128_t& initID );
53 virtual void frameStart(
const eq::uint128_t& frameID,
54 const uint32_t frameNumber );
56 virtual void frameDraw(
const eq::uint128_t& frameID );
60 virtual void frameClear(
const eq::uint128_t& frameID );
64 void clearViewport(
const eq::PixelViewport &pvp );
67 void _startAssemble();
71 void _calcMVandITMV( eq::Matrix4f& modelviewM,
72 eq::Matrix3f& modelviewITM )
const;
79 eq::Vector3f _bgColor;
87 #endif // EVOLVE_CHANNEL_H
A channel represents a two-dimensional viewport within a Window.
virtual ~Channel()
Destruct the channel.
virtual void frameViewFinish(const eq::uint128_t &frameID)
Finish updating a destination channel.
virtual void frameDraw(const eq::uint128_t &frameID)
Draw the scene.
virtual void frameAssemble(const eq::uint128_t &frameID)
Assemble all input frames.
A Window represents an on-screen or off-screen drawable.
virtual void frameStart(const eq::uint128_t &frameID, const uint32_t frameNumber)
Start rendering a frame.
virtual void frameReadback(const eq::uint128_t &frameID)
Read back the rendered frame buffer into the output frames.
A holder for a frame data and related parameters.
virtual bool configInit(const eq::uint128_t &initID)
Initialize this channel.
virtual bool configExit()
Exit this channel.
std::vector< Frame * > Frames
A vector of pointers to eq::Frame.
virtual void frameClear(const eq::uint128_t &frameID)
Clear the frame buffer.
virtual bool useOrtho() const
Select perspective or orthographic rendering.