5#ifndef BALL_VIEW_RENDERING_TILINGRENDERER_H
6#define BALL_VIEW_RENDERING_TILINGRENDERER_H
8#ifndef BALL_VIEW_RENDERING_RENDERERS_RENDERER_H
12#ifndef BALL_VIEW_RENDERING_RENDERTARGET_H
99 virtual void setSize(
float width,
float height);
virtual Vector2 map3DToViewport(const Vector3 &vec)
virtual void bufferRepresentation(const Representation &rep)
void computeTilingSetup_()
Size final_width_
The desired width of the final image.
virtual void setSize(float width, float height)
Set the size of the display.
virtual void removeRepresentation(const Representation &rep)
virtual void updateCamera(const Camera *camera=0)
virtual void setLights(bool reset_all=false)
Set the light sources according to the stage.
virtual void renderRuler()
Size final_height_
The desired height of the final image.
Size border_
The border oversampled for each tile.
TilingRenderer(const TilingRenderer &renderer)
Renderer * real_renderer_
The renderer used for rendering the individual tiles.
virtual void render_(const GeometricObject *object)
Wrapper for the renderering of special GeometricObjects.
virtual ~TilingRenderer()
virtual bool renderOneRepresentation(const Representation &representation)
TilingRenderer(Renderer *real_renderer, Size final_width, Size final_height, Size border=0)
virtual void renderToBuffer(RenderTarget *target)
virtual Vector3 mapViewportTo3D(Position x, Position y)
virtual void updateBackgroundColor()
Update the background color from the stage.