|
gramods
|
Side-by-side stereoscopic multiplexing implementation. More...
#include <SideBySideMultiplexer.hh>


Classes | |
| struct | Impl |
Public Member Functions | |
| void | setPattern (int p) |
| Sets the side-by-side pattern between horizontal (0), vertical (1) and frame packing (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... | |
Public Member Functions inherited from gramods::gmGraphics::MultiscopicMultiplexer | |
| virtual std::string | getDefaultKey () override |
| Returns the default key, in Configuration, for the Object. More... | |
Public Member Functions inherited from gramods::gmCore::Object | |
| 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 |
Side-by-side stereoscopic multiplexing implementation.
|
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::SideBySideMultiplexer::setPattern | ( | int | p | ) |
Sets the side-by-side pattern between horizontal (0), vertical (1) and frame packing (2).
Default is 0.
XML-attribute: pattern
|
overridevirtual |
Sets up rendering for one eye at a time.
Implements gramods::gmGraphics::MultiscopicMultiplexer.