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(std::vector<std::string>& commandLine)
-
DisplaySettings(const DisplaySettings& vs)
-
virtual ~DisplaySettings()
-
DisplaySettings& operator = (const DisplaySettings& vs)
-
void merge(const DisplaySettings& vs)
-
void setDefaults()
-
void readEnvironmentalVariables()
-
void readCommandLine(std::vector<std::string>& commandLine)
- read the command line string list, removing any matched control sequences
-
void setStereo(const bool on)
-
const bool getStereo() const
-
void setStereoMode(const StereoMode mode)
-
const StereoMode getStereoMode() const
-
void setEyeSeperation(const float eyeSeperation)
-
const float getEyeSeperation() const
-
void setScreenDistance(const float distance)
-
const float getScreenDistance() const
-
void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)
-
SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const
-
void setSplitStereoHorizontalSeperation(const int s)
-
const int getSplitStereoHorizontalSeperation() const
-
void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)
-
SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const
-
void setSplitStereoVerticalSeperation(const int s)
-
const int getSplitStereoVerticalSeperation() const
-
void setScreenHeight(const float height)
-
const float getScreenHeight() const
-
void setDoubleBuffer(const bool flag)
-
const bool getDoubleBuffer() const
-
void setRGB(const bool flag)
-
const bool getRGB() const
-
void setDepthBuffer(const bool flag)
-
const bool getDepthBuffer() const
-
void setMinimumNumAlphaBits(const unsigned int bits)
-
const unsigned int getMinimumNumAlphaBits() const
-
const bool getAlphaBuffer() const
-
void setMinimumNumStencilBits(const unsigned int bits)
-
const unsigned int getMinimumNumStencilBits() const
-
const bool getStencilBuffer() const
-
void setMaxNumberOfGraphicsContexts(const int num)
-
const int getMaxNumberOfGraphicsContexts() const
Public Members
-
enum StereoMode
-
enum SplitStereoHorizontalEyeMapping
-
enum SplitStereoVerticalEyeMapping
Protected Fields
-
bool _stereo
-
StereoMode _stereoMode
-
float _eyeSeperation
-
float _screenDistance
-
float _screenHeight
-
SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping
-
int _splitStereoHorizontalSeperation
-
SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping
-
int _splitStereoVerticalSeperation
-
bool _doubleBuffer
-
bool _RGB
-
bool _depthBuffer
-
unsigned int _minimumNumberAlphaBits
-
unsigned int _minimumNumberStencilBits
-
int _maxNumOfGraphicsContexts
Protected Methods
-
void copy(const DisplaySettings& vs)
Public Methods
-
inline void ref() const
-
inline void unref() const
-
inline void unref_nodelete() const
-
inline const int referenceCount() 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(std::vector<std::string>& commandLine)
- DisplaySettings(const DisplaySettings& vs)
- virtual ~DisplaySettings()
- DisplaySettings& operator = (const DisplaySettings& vs)
- void merge(const DisplaySettings& vs)
- void setDefaults()
- void readEnvironmentalVariables()
- void readCommandLine(std::vector<std::string>& commandLine)
- read the command line string list, removing any matched control sequences
- void setStereo(const bool on)
- const bool getStereo() const
- enum StereoMode
- QUAD_BUFFER
- ANAGLYPHIC
- HORIZONTAL_SPLIT
- VERTICAL_SPLIT
- void setStereoMode(const StereoMode mode)
- const StereoMode getStereoMode() const
- void setEyeSeperation(const float eyeSeperation)
- const float getEyeSeperation() const
- void setScreenDistance(const float distance)
- const float getScreenDistance() const
- enum SplitStereoHorizontalEyeMapping
- LEFT_EYE_LEFT_VIEWPORT
- LEFT_EYE_RIGHT_VIEWPORT
- void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)
- SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const
- void setSplitStereoHorizontalSeperation(const int s)
- const int getSplitStereoHorizontalSeperation() const
- enum SplitStereoVerticalEyeMapping
- LEFT_EYE_TOP_VIEWPORT
- LEFT_EYE_BOTTOM_VIEWPORT
- void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)
- SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const
- void setSplitStereoVerticalSeperation(const int s)
- const int getSplitStereoVerticalSeperation() const
- void setScreenHeight(const float height)
- const float getScreenHeight() const
- void setDoubleBuffer(const bool flag)
- const bool getDoubleBuffer() const
- void setRGB(const bool flag)
- const bool getRGB() const
- void setDepthBuffer(const bool flag)
- const bool getDepthBuffer() const
- void setMinimumNumAlphaBits(const unsigned int bits)
- const unsigned int getMinimumNumAlphaBits() const
- const bool getAlphaBuffer() const
- void setMinimumNumStencilBits(const unsigned int bits)
- const unsigned int getMinimumNumStencilBits() const
- const bool getStencilBuffer() const
- void setMaxNumberOfGraphicsContexts(const int num)
- const int getMaxNumberOfGraphicsContexts() const
- void copy(const DisplaySettings& vs)
- bool _stereo
- StereoMode _stereoMode
- float _eyeSeperation
- float _screenDistance
- float _screenHeight
- SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping
- int _splitStereoHorizontalSeperation
- SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping
- int _splitStereoVerticalSeperation
- bool _doubleBuffer
- bool _RGB
- bool _depthBuffer
- unsigned int _minimumNumberAlphaBits
- unsigned int _minimumNumberStencilBits
- 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++.