gramods
Classes | Public Member Functions | Static Public Attributes | List of all members
gramods::gmGraphics::InterlaceMultiplexer Class Reference

Interlaced stereoscopic multiplexer. More...

#include <InterlaceMultiplexer.hh>

Inheritance diagram for gramods::gmGraphics::InterlaceMultiplexer:
Inheritance graph
[legend]
Collaboration diagram for gramods::gmGraphics::InterlaceMultiplexer:
Collaboration graph
[legend]

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...
 
- 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
 

Detailed Description

Interlaced stereoscopic multiplexer.

Member Function Documentation

◆ finalize()

void gramods::gmGraphics::InterlaceMultiplexer::finalize ( )
overridevirtual

Finalizes the multiplexing.

Implements gramods::gmGraphics::MultiscopicMultiplexer.

◆ getEyeCount()

size_t gramods::gmGraphics::InterlaceMultiplexer::getEyeCount ( )
inlinevirtual

Returns the number of eyes that should be rendered for the multiplexer.

Returns the value two (2).

Implements gramods::gmGraphics::MultiscopicMultiplexer.

◆ prepare()

void gramods::gmGraphics::InterlaceMultiplexer::prepare ( )
overridevirtual

Prepares the multiplexer for rendering to the two eyes.

Implements gramods::gmGraphics::MultiscopicMultiplexer.

◆ setPattern()

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

◆ setupRendering()

void gramods::gmGraphics::InterlaceMultiplexer::setupRendering ( size_t  eye)
overridevirtual

Sets up rendering for one eye at a time.

Implements gramods::gmGraphics::MultiscopicMultiplexer.


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