#include <cpk_renderer.hh>
Inherits ost::gfx::impl::ConnectRendererBase.
Public Member Functions | |
CPKRenderer () | |
virtual void | PrepareRendering () |
virtual void | RenderPov (PovState &pov, const std::string &name) |
virtual void | Render (RenderPass pass) |
virtual bool | CanSetOptions (RenderOptionsPtr &render_options) |
virtual void | SetOptions (RenderOptionsPtr &render_options) |
virtual RenderOptionsPtr | GetOptions () |
Definition at line 36 of file cpk_renderer.hh.
CPKRenderer | ( | ) |
virtual bool CanSetOptions | ( | RenderOptionsPtr & | render_options | ) | [virtual] |
Implements EntityRenderer.
virtual RenderOptionsPtr GetOptions | ( | ) | [virtual] |
Implements EntityRenderer.
virtual void PrepareRendering | ( | ) | [virtual] |
Reimplemented from ConnectRendererBase.
virtual void Render | ( | RenderPass | pass | ) | [virtual] |
render the entity
This is the place where the actual rendering should happen, i.e sending of the geometric primitives to the graphics card.
The rendering buffers and vertex arrays should be prepared in PrepareRendering()
Reimplemented from EntityRenderer.
virtual void RenderPov | ( | PovState & | pov, | |
const std::string & | name | |||
) | [virtual] |
povray rendering call
Reimplemented from EntityRenderer.
virtual void SetOptions | ( | RenderOptionsPtr & | render_options | ) | [virtual] |
Implements EntityRenderer.