DisplaySettings class for encapsulating what visuals are required and have been set up, and the status of stereo viewing
Inheritance:
Public Methods
-
static DisplaySettings* instance()
- Maintain a DisplaySettings singleton for objects to querry at runtime
-
DisplaySettings()
-
DisplaySettings(ArgumentParser& arguments)
-
DisplaySettings(const DisplaySettings& vs)
-
DisplaySettings& operator = (const DisplaySettings& vs)
-
void merge(const DisplaySettings& vs)
-
void setDefaults()
-
void readEnvironmentalVariables()
-
void readCommandLine(ArgumentParser& arguments)
- read the commandline arguments
-
void setDisplayType(DisplayType type)
-
DisplayType getDisplayType() const
-
void setStereo(bool on)
-
bool getStereo() const
-
void setStereoMode(StereoMode mode)
-
StereoMode getStereoMode() const
-
void setEyeSeparation(float eyeSeparation)
-
float getEyeSeparation() const
-
void setScreenDistance(float distance)
-
float getScreenDistance() const
-
void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)
-
SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const
-
void setSplitStereoHorizontalSeparation(int s)
-
int getSplitStereoHorizontalSeparation() const
-
void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)
-
SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const
-
void setSplitStereoVerticalSeparation(int s)
-
int getSplitStereoVerticalSeparation() const
-
void setSplitStereoAutoAjustAspectRatio(bool flag)
-
bool getSplitStereoAutoAjustAspectRatio() const
-
void setScreenHeight(float height)
-
float getScreenHeight() const
-
void setDoubleBuffer(bool flag)
-
bool getDoubleBuffer() const
-
void setRGB(bool flag)
-
bool getRGB() const
-
void setDepthBuffer(bool flag)
-
bool getDepthBuffer() const
-
void setMinimumNumAlphaBits(unsigned int bits)
-
unsigned int getMinimumNumAlphaBits() const
-
bool getAlphaBuffer() const
-
void setMinimumNumStencilBits(unsigned int bits)
-
unsigned int getMinimumNumStencilBits() const
-
bool getStencilBuffer() const
-
void setMaxNumberOfGraphicsContexts(unsigned int num)
-
unsigned int getMaxNumberOfGraphicsContexts() const
Public Members
-
enum DisplayType
-
enum StereoMode
-
enum SplitStereoHorizontalEyeMapping
-
enum SplitStereoVerticalEyeMapping
Protected Fields
-
DisplayType _displayType
-
bool _stereo
-
StereoMode _stereoMode
-
float _eyeSeparation
-
float _screenDistance
-
float _screenHeight
-
SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping
-
int _splitStereoHorizontalSeparation
-
SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping
-
int _splitStereoVerticalSeparation
-
bool _splitStereoAutoAdjustAspectRatio
-
bool _doubleBuffer
-
bool _RGB
-
bool _depthBuffer
-
unsigned int _minimumNumberAlphaBits
-
unsigned int _minimumNumberStencilBits
-
unsigned int _maxNumOfGraphicsContexts
Protected Methods
-
virtual ~DisplaySettings()
-
void copy(const DisplaySettings& vs)
Public Methods
-
static void setDeleteHandler(DeleteHandler* handler)
-
static DeleteHandler* getDeleteHandler()
-
inline void ref() const
-
inline void unref_nodelete() const
-
inline int referenceCount() const
-
inline void unref() const
Protected Fields
-
mutable int _refCount
Documentation
DisplaySettings class for encapsulating what visuals are required and
have been set up, and the status of stereo viewing
- static DisplaySettings* instance()
- Maintain a DisplaySettings singleton for objects to querry at runtime
- DisplaySettings()
- DisplaySettings(ArgumentParser& arguments)
- DisplaySettings(const DisplaySettings& vs)
- DisplaySettings& operator = (const DisplaySettings& vs)
- void merge(const DisplaySettings& vs)
- void setDefaults()
- void readEnvironmentalVariables()
- void readCommandLine(ArgumentParser& arguments)
- read the commandline arguments
- enum DisplayType
- MONITOR
- POWERWALL
- REALITY_CENTER
- HEAD_MOUNTED_DISPLAY
- void setDisplayType(DisplayType type)
- DisplayType getDisplayType() const
- void setStereo(bool on)
- bool getStereo() const
- enum StereoMode
- QUAD_BUFFER
- ANAGLYPHIC
- HORIZONTAL_SPLIT
- VERTICAL_SPLIT
- LEFT_EYE
- RIGHT_EYE
- void setStereoMode(StereoMode mode)
- StereoMode getStereoMode() const
- void setEyeSeparation(float eyeSeparation)
- float getEyeSeparation() const
- void setScreenDistance(float distance)
- float getScreenDistance() const
- enum SplitStereoHorizontalEyeMapping
- LEFT_EYE_LEFT_VIEWPORT
- LEFT_EYE_RIGHT_VIEWPORT
- void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)
- SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const
- void setSplitStereoHorizontalSeparation(int s)
- int getSplitStereoHorizontalSeparation() const
- enum SplitStereoVerticalEyeMapping
- LEFT_EYE_TOP_VIEWPORT
- LEFT_EYE_BOTTOM_VIEWPORT
- void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)
- SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const
- void setSplitStereoVerticalSeparation(int s)
- int getSplitStereoVerticalSeparation() const
- void setSplitStereoAutoAjustAspectRatio(bool flag)
- bool getSplitStereoAutoAjustAspectRatio() const
- void setScreenHeight(float height)
- float getScreenHeight() const
- void setDoubleBuffer(bool flag)
- bool getDoubleBuffer() const
- void setRGB(bool flag)
- bool getRGB() const
- void setDepthBuffer(bool flag)
- bool getDepthBuffer() const
- void setMinimumNumAlphaBits(unsigned int bits)
- unsigned int getMinimumNumAlphaBits() const
- bool getAlphaBuffer() const
- void setMinimumNumStencilBits(unsigned int bits)
- unsigned int getMinimumNumStencilBits() const
- bool getStencilBuffer() const
- void setMaxNumberOfGraphicsContexts(unsigned int num)
- unsigned int getMaxNumberOfGraphicsContexts() const
- virtual ~DisplaySettings()
- void copy(const DisplaySettings& vs)
- DisplayType _displayType
- bool _stereo
- StereoMode _stereoMode
- float _eyeSeparation
- float _screenDistance
- float _screenHeight
- SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping
- int _splitStereoHorizontalSeparation
- SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping
- int _splitStereoVerticalSeparation
- bool _splitStereoAutoAdjustAspectRatio
- bool _doubleBuffer
- bool _RGB
- bool _depthBuffer
- unsigned int _minimumNumberAlphaBits
- unsigned int _minimumNumberStencilBits
- unsigned int _maxNumOfGraphicsContexts
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.