Equalizer 1.0
|
A canvas represents a logical 2D projection surface. More...
#include <canvas.h>
Public Member Functions | |
Canvas (Config *parent) | |
Construct a new canvas. | |
virtual | ~Canvas () |
Destruct this canvas. | |
Data Access | |
ServerPtr | getServer () |
A canvas represents a logical 2D projection surface.
A canvas consists of one or more Segment, which represent the physical output channels. Segments have a viewport, which defines which part of the logical 2D projection surface they occupy. Segments overlap each other when edge-blending is used, and have gaps for display walls. Passive stereo systems use one segment for each eye pass, so that two segments have the same viewport. Application windows typically use one canvas per Window.
A canvas has a Frustum, which is used to compute a sub-frustum for segments which have no frustum specified. This is useful for planar projection systems.
A canvas has one ore more layouts, of which one Layout is the active layout, defining the set of logical views currently used to render on the canvas. The layout can be switched at runtime. A canvas with a 0
layout does not render anything, i.e., it is not active.
eq::Canvas::Canvas | ( | Config * | parent | ) |
Construct a new canvas.
virtual eq::Canvas::~Canvas | ( | ) | [virtual] |
Destruct this canvas.
Reimplemented from eq::fabric::Canvas< Config, Canvas, Segment, Layout >.