VISH
0.2
|
Base class for a renderer that is able to provide some pixel data. More...
#include </home/werner/origo/vish/ocean/Anemonia/VFrameBuffer.hpp>
Base class for a renderer that is able to provide some pixel data.
an implementation may use OpenGL or any other method to do so.
int Wizt::VFrameBuffer::Renderer::grab | ( | const VRequest & | Context, |
const VSceneLayers & | RenderObjects, | ||
Grab & | , | ||
const Size & | Sz, | ||
const RefPtr< VContext::Addendum > & | ContextAddendum = NullPtr() |
||
) | const [pure virtual] |
Virtual grab function, it is supposed to call Grab::retrieve();.
RenderObjects | The objects that should be rendered here. |
Context | The VRequest providing the context in which this function is called. It is used to avoid infinite recursions. |
Implemented in Wizt::GLRenderer.
virtual int Wizt::VFrameBuffer::Renderer::grab | ( | const VRequest & | Context, |
Grab & | , | ||
const Size & | Sz, | ||
const RefPtr< VContext::Addendum > & | ContextAddendum = NullPtr() |
||
) | const [pure virtual] |
Virtual grab function, it is supposed to call Grab::retrieve();.
RenderObjects | The objects that should be rendered here. |
Context | The VRequest providing the context in which this function is called. It is used to avoid infinite recursions. |
Implemented in Wizt::GLRenderer.
void Wizt::VFrameBuffer::Renderer::setCamera | ( | const VCamera & | TheCameraSettings | ) | [virtual] |
An optionally implementable function that sets the camera parameters for the given shot.
This function is called *after* the grab() function, once all the rendering is done, because the camera settings may depend on the viewpoint settings that are determined during rendering.
It is the responsibility of the recording function to determine such camera parameters correctly and call this function. The implementation of a Grabber should not rely on this function to be called at all.