Equalizer
1.2.1
|
Public Member Functions | |
Renderer (seq::Application &app) | |
Construct a new renderer. | |
virtual | ~Renderer () |
Destruct this renderer. | |
virtual co::Object * | createObject (const uint32_t type) |
State & | getState () |
Protected Member Functions | |
virtual bool | init (co::Object *initData) |
Initialize the renderer. | |
virtual bool | exit () |
De-initialize the renderer. | |
virtual void | draw (co::Object *frameData) |
Render the scene. |
Definition at line 37 of file share/Equalizer/examples/seqPly/renderer.h.
seqPly::Renderer::Renderer | ( | seq::Application & | application | ) | [inline] |
Construct a new renderer.
Reimplemented from seq::Renderer.
Definition at line 40 of file share/Equalizer/examples/seqPly/renderer.h.
virtual seqPly::Renderer::~Renderer | ( | ) | [inline, virtual] |
Destruct this renderer.
Reimplemented from seq::Renderer.
Definition at line 41 of file share/Equalizer/examples/seqPly/renderer.h.
co::Object * seqPly::Renderer::createObject | ( | const uint32_t | type | ) | [virtual] |
Reimplemented from seq::Renderer.
Definition at line 101 of file renderer.cpp.
References seq::OBJECTTYPE_FRAMEDATA.
void seqPly::Renderer::draw | ( | co::Object * | frameData | ) | [protected, virtual] |
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(), and seq::Renderer::getViewMatrix().
bool seqPly::Renderer::exit | ( | ) | [protected, virtual] |
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.
bool seqPly::Renderer::init | ( | co::Object * | initData | ) | [protected, virtual] |
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().