Equalizer
1.6.1
|
Public Member Functions | |
Renderer (seq::Application &app) | |
virtual | ~Renderer () |
Destruct this renderer. More... | |
State & | getState () |
Public Member Functions inherited from seq::Renderer | |
Renderer (Application &application) | |
Construct a new renderer. More... | |
virtual bool | initContext (co::Object *initData) |
Initialize an OpenGL context. More... | |
virtual bool | exitContext () |
De-initialize an OpenGL context. More... | |
virtual void | clear (co::Object *frameData) |
Clear the frame buffer. More... | |
virtual void | applyRenderContext () |
Apply the current rendering parameters to OpenGL. More... | |
const RenderContext & | getRenderContext () const |
virtual void | applyModelMatrix () |
Apply the current model matrix to OpenGL. More... | |
detail::Renderer * | getImpl () |
co::Object * | getFrameData () |
Application & | getApplication () |
const Application & | getApplication () const |
virtual ViewData * | createViewData () |
Create a new per-view data instance. More... | |
virtual void | destroyViewData (ViewData *viewData) |
Delete the given view data. More... | |
const GLEWContext * | glewGetContext () const |
Get the GLEW context for this renderer. More... | |
const Frustumf & | getFrustum () const |
const Matrix4f & | getViewMatrix () const |
const Matrix4f & | getModelMatrix () const |
virtual co::Object * | createObject (const uint32_t type) |
virtual void | destroyObject (co::Object *object, const uint32_t type) |
Protected Member Functions | |
virtual bool | init (co::Object *initData) |
Initialize the renderer. More... | |
virtual bool | exit () |
De-initialize the renderer. More... | |
virtual void | draw (co::Object *frameData) |
Render the scene. More... | |
Definition at line 37 of file share/Equalizer/examples/seqPly/renderer.h.
|
inlinevirtual |
Destruct this renderer.
Reimplemented from seq::Renderer.
Definition at line 41 of file share/Equalizer/examples/seqPly/renderer.h.
|
protectedvirtual |
Render the scene.
frameData | the renderer's instance of the object passed to Config::run. |
Implements seq::Renderer.
Definition at line 60 of file renderer.cpp.
References seq::Renderer::applyModelMatrix(), seq::Renderer::applyRenderContext(), seq::Renderer::getApplication(), seq::Renderer::getFrustum(), seq::Renderer::getModelMatrix(), seq::Renderer::getRenderContext(), seq::Renderer::getViewMatrix(), eq::fabric::RenderContext::range, and eq::fabric::Range::start.
|
protectedvirtual |
De-initialize the renderer.
Called just before the last context will be destroyed after the last call to exitContext().
Reimplemented from seq::Renderer.
Definition at line 52 of file renderer.cpp.
References seq::Renderer::exit().
|
protectedvirtual |
Initialize the renderer.
Called once per renderer with an OpenGL context current before the first call to initContext().
initData | a per-renderer instance of the object passed to Config::init(). |
Reimplemented from seq::Renderer.
Definition at line 46 of file renderer.cpp.
References seq::Renderer::glewGetContext(), and seq::Renderer::init().