VISH  0.2
Public Member Functions | Public Attributes
Wizt::VFrameBuffer::Renderer Class Reference

Base class for a renderer that is able to provide some pixel data. More...

#include </home/werner/origo/vish/ocean/Anemonia/VFrameBuffer.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

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.


Member Function Documentation

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();.

Parameters:
RenderObjectsThe objects that should be rendered here.
ContextThe 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();.

Parameters:
RenderObjectsThe objects that should be rendered here.
ContextThe 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.


The documentation for this class was generated from the following files: