30 #ifndef EQ_PLY_CHANNEL_H
31 #define EQ_PLY_CHANNEL_H
53 bool stopRendering()
const;
58 virtual bool configInit(
const eq::uint128_t& initID );
60 virtual void frameClear(
const eq::uint128_t& frameID );
61 virtual void frameDraw(
const eq::uint128_t& frameID );
64 virtual void frameStart(
const eq::uint128_t& frameID,
65 const uint32_t frameNumber );
66 virtual void frameFinish(
const eq::uint128_t& frameID,
67 const uint32_t frameNumber );
75 { _frameRestart = lastFrameNumber + 1; }
78 void _drawModel(
const Model* model );
81 void _updateNearFar(
const mesh::BoundingSphere& boundingSphere );
89 eq::Vector2i _getJitterStep()
const;
92 const Model* _getModel();
95 eq::uint128_t _modelID;
96 uint32_t _frameRestart;
100 Accum() : buffer( 0 ), step( 0 ), stepsDone( 0 ), transfer( false )
108 _accum[ eq::NUM_EYES ];
110 eq::PixelViewport _currentPVP;
114 #endif // EQ_PLY_CHANNEL_H
virtual void frameClear(const eq::uint128_t &frameID)
Clear the frame buffer.
A channel represents a two-dimensional viewport within a Window.
virtual ~Channel()
Destruct the channel.
A Window represents an on-screen or off-screen drawable.
The rendering entity, updating a part of a Window.
virtual bool configInit(const eq::uint128_t &initID)
Initialize this channel.
virtual bool useOrtho() const
Select perspective or orthographic rendering.
virtual void frameDraw(const eq::uint128_t &frameID)
Draw the scene.
virtual eq::Vector2f getJitter() const
virtual void frameReadback(const eq::uint128_t &frameID)
Read back the rendered frame buffer into the output frames.
A C++ class to abstract an accumulation buffer.
virtual void frameViewStart(const eq::uint128_t &frameID)
Start updating a destination channel.
virtual void frameFinish(const eq::uint128_t &frameID, const uint32_t frameNumber)
Finish rendering a frame.
virtual void frameStart(const eq::uint128_t &frameID, const uint32_t frameNumber)
Start rendering a frame.
virtual void frameAssemble(const eq::uint128_t &frameID)
Assemble all input frames.
virtual void frameViewFinish(const eq::uint128_t &frameID)
Finish updating a destination channel.
virtual void notifyStopFrame(const uint32_t lastFrameNumber)
Notify interruption of the rendering.
virtual bool configExit()
Exit this channel.