gramods
|
Interlaced stereoscopic multiplexer. More...
#include <InterlaceMultiplexer.hh>
Classes | |
struct | Impl |
Public Member Functions | |
void | setPattern (int p) |
Sets the interlace pattern between horizontal lines (0), vertical lines (1) and checkerboard pattern (2). More... | |
size_t | getEyeCount () |
Returns the number of eyes that should be rendered for the multiplexer. More... | |
void | prepare () override |
Prepares the multiplexer for rendering to the two eyes. More... | |
void | setupRendering (size_t eye) override |
Sets up rendering for one eye at a time. More... | |
void | finalize () override |
Finalizes the multiplexing. More... | |
![]() | |
virtual std::string | getDefaultKey () override |
Returns the default key, in Configuration, for the Object. More... | |
![]() | |
Object () | |
Initializes internal data. More... | |
virtual | ~Object () |
Cleaning up internal data. More... | |
virtual void | initialize () |
Called to initialize the Object. More... | |
virtual void | accept (Visitor *visitor) |
Calls the visitors apply method with this as argument. More... | |
virtual void | traverse (Visitor *visitor) |
Calls the child Object's accept method, if such exist. More... | |
bool | isInitialized () |
Returns true if the Object is initialized. More... | |
Static Public Attributes | |
static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Interlaced stereoscopic multiplexer.
|
overridevirtual |
Finalizes the multiplexing.
Implements gramods::gmGraphics::MultiscopicMultiplexer.
|
inlinevirtual |
Returns the number of eyes that should be rendered for the multiplexer.
Returns the value two (2).
Implements gramods::gmGraphics::MultiscopicMultiplexer.
|
overridevirtual |
Prepares the multiplexer for rendering to the two eyes.
Implements gramods::gmGraphics::MultiscopicMultiplexer.
void gramods::gmGraphics::InterlaceMultiplexer::setPattern | ( | int | p | ) |
Sets the interlace pattern between horizontal lines (0), vertical lines (1) and checkerboard pattern (2).
Default is 0, resulting in every other row being left and right eye, respectively.
XML-attribute: pattern
|
overridevirtual |
Sets up rendering for one eye at a time.
Implements gramods::gmGraphics::MultiscopicMultiplexer.