|
virtual void | activate () |
| Activate the renderer.
|
|
virtual void | deactivate () |
| Deactivate the renderer.
|
|
virtual bool | is_active () |
| Return the status of the renderer.
|
|
virtual void | post_initialize () |
| Called at the end of "initialize". The default implementation does not do anything.
|
|
virtual void | post_resize () |
| Called at the end of "resize". The default implementation does not do anything.
|
|
virtual bool | render_scene () |
|
virtual bool | render_overlay () |
|
void | redraw_scene (PickPointHandle pick_point) |
|
bool | redraw_needed () |
| Returns true if there is redraw pending, otherwise false.
|
|
void | set_redraw_needed (bool needed=true) |
| Set the redraw flag to the given value.
|
|
bool | redraw_overlay_needed () |
| Returns true if there is redraw_overlay pending, otherwise false.
|
|
void | set_redraw_overlay_needed (bool needed=true) |
| Set the redraw_overlay flag to the given value.
|
|
bool | is_renderer_thread () |
| Returns true if the calling thread is the renderer thread, otherwise false.
|
|
void | post_renderer_event (boost::function< void() > event) |
| Post an event to the renderer thread.
|
|
|
class | RendererBasePrivate |
|
void Core::RendererBase::redraw_all |
( |
| ) |
|
|
virtual |
Calls the "render" and "render_overlay" function to render everything into the FBO. It triggers the "redraw_overlay_completed_signal_" at the end.
Implements Core::AbstractRenderer.
void Core::RendererBase::redraw_overlay |
( |
| ) |
|
|
virtual |
Calls the "render_overlay" function to render the overlay into the FBO. It triggers the "redraw_overlay_completed_signal_" at the end.
Implements Core::AbstractRenderer.
void Core::RendererBase::redraw_scene |
( |
| ) |
|
|
virtual |
Calls the "render" function to render into the FBO. It triggers the "redraw_completed_signal_" at the end.
Implements Core::AbstractRenderer.
void Core::RendererBase::redraw_scene |
( |
PickPointHandle |
pick_point | ) |
|
|
protected |
If not picking (empty pick_point handle):
- Calls the "render" function to render into the FBO.
- It triggers the "redraw_completed_signal_" at the end. Else if picking:
- Find 3D pick point
- It triggers the volume_pick_point_signal_" at the end.
bool Core::RendererBase::render_overlay |
( |
| ) |
|
|
protectedvirtual |
Re-implement this function to render the overlay. The default implementation renders a black scene. This function should return true if the rendering was successful, or false if there were errors or the rendering was interrupted.
Reimplemented in Seg3D::Renderer.
bool Core::RendererBase::render_scene |
( |
| ) |
|
|
protectedvirtual |
Re-implement this function to do the real rendering. The default implementation renders a black scene. This function should return true if the rendering was successful, or false if there
Reimplemented in Seg3D::Renderer.
The documentation for this class was generated from the following files: