Equalizer
1.8.0
Parallel Rendering Framework
|
Public Member Functions | |
Renderer (seq::Application &app) | |
virtual | ~Renderer () |
Destruct this renderer. More... | |
State & | getState () |
Public Member Functions inherited from seq::Renderer | |
SEQ_API | Renderer (Application &application) |
Construct a new renderer. More... | |
virtual SEQ_API bool | init (co::Object *initData 1) |
Initialize the renderer. More... | |
virtual SEQ_API bool | initContext (co::Object *initData) |
Initialize a rendering context. More... | |
virtual SEQ_API bool | exitContext () |
De-initialize a rendering context. More... | |
virtual SEQ_API void | clear (co::Object *frameData) |
Clear the frame buffer. More... | |
SEQ_API void | updateNearFar (const Vector4f &boundingSphere) |
Update the near and far planes to tightly enclose the given sphere. More... | |
SEQ_API void | setNearFar (const float nearPlane, const float farPlane) |
Set the near and far planes. More... | |
virtual SEQ_API void | applyRenderContext () |
Apply the current rendering parameters to the rendering context. More... | |
SEQ_API const RenderContext & | getRenderContext () const |
virtual SEQ_API void | applyModelMatrix () |
Apply the current model matrix to the rendering context. More... | |
detail::Renderer * | getImpl () |
co::Object * | getFrameData () |
Application & | getApplication () |
const Application & | getApplication () const |
virtual SEQ_API ViewData * | createViewData () |
Create a new per-view data instance. More... | |
virtual SEQ_API void | destroyViewData (ViewData *viewData) |
Delete the given view data. More... | |
SEQ_API const GLEWContext * | glewGetContext () const |
Get the GLEW context for this renderer. More... | |
SEQ_API const Frustumf & | getFrustum () const |
SEQ_API const Matrix4f & | getViewMatrix () const |
SEQ_API const Matrix4f & | getModelMatrix () const |
virtual SEQ_API co::Object * | createObject (const uint32_t type) |
virtual SEQ_API void | destroyObject (co::Object *object, const uint32_t type) |
Protected Member Functions | |
virtual bool | init (co::Object *initData) |
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, eq::fabric::Range::start, and seq::Renderer::updateNearFar().
|
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().