class SG_EXPORT osg::DisplaySettings

DisplaySettings class for encapsulating what visuals are required and have been set up, and the status of stereo viewing

Inheritance:


Public Methods

[more] DisplaySettings()
[more] DisplaySettings(std::vector<std::string>& commandLine)
[more] DisplaySettings(const DisplaySettings& vs)
[more]virtual ~DisplaySettings()
[more]DisplaySettings& operator = (const DisplaySettings& vs)
[more]void merge(const DisplaySettings& vs)
[more]void setDefaults()
[more]void readEnvironmentalVariables()
[more]void readCommandLine(std::vector<std::string>& commandLine)
read the command line string list, removing any matched control sequences
[more]void setStereo(const bool on)
[more]const bool getStereo() const
[more]void setStereoMode(const StereoMode mode)
[more]const StereoMode getStereoMode() const
[more]void setEyeSeperation(const float eyeSeperation)
[more]const float getEyeSeperation() const
[more]void setScreenDistance(const float distance)
[more]const float getScreenDistance() const
[more]void setScreenHeight(const float height)
[more]const float getScreenHeight() const
[more]void setDoubleBuffer(const bool flag)
[more]const bool getDoubleBuffer() const
[more]void setRGB(const bool flag)
[more]const bool getRGB() const
[more]void setDepthBuffer(const bool flag)
[more]const bool getDepthBuffer() const
[more]void setMinimumNumAlphaBits(const unsigned int bits)
[more]const unsigned int getMinimumNumAlphaBits() const
[more]const bool getAlphaBuffer() const
[more]void setMinimumNumStencilBits(const unsigned int bits)
[more]const unsigned int getMinimumNumStencilBits() const
[more]const bool getStencilBuffer() const

Public Members

[more]enum StereoMode

Protected Fields

[more]bool _stereo
[more]StereoMode _stereoMode
[more]float _eyeSeperation
[more]float _screenDistance
[more]float _screenHeight
[more]bool _doubleBuffer
[more]bool _RGB
[more]bool _depthBuffer
[more]unsigned int _minimumNumberAlphaBits
[more]unsigned int _minimumNumberStencilBits

Protected Methods

[more]void copy(const DisplaySettings& vs)


Inherited from Referenced:

Public Methods

oinline void ref() const
oinline void unref() const
oinline const int referenceCount() const

Protected Fields

omutable int _refCount


Documentation

DisplaySettings class for encapsulating what visuals are required and have been set up, and the status of stereo viewing
o DisplaySettings()

o DisplaySettings(std::vector<std::string>& commandLine)

o DisplaySettings(const DisplaySettings& vs)

ovirtual ~DisplaySettings()

oDisplaySettings& operator = (const DisplaySettings& vs)

ovoid merge(const DisplaySettings& vs)

ovoid setDefaults()

ovoid readEnvironmentalVariables()

ovoid readCommandLine(std::vector<std::string>& commandLine)
read the command line string list, removing any matched control sequences

ovoid setStereo(const bool on)

oconst bool getStereo() const

oenum StereoMode

o QUAD_BUFFER

o ANAGLYPHIC

o HORIZONTAL_SPLIT

o VERTICAL_SPLIT

ovoid setStereoMode(const StereoMode mode)

oconst StereoMode getStereoMode() const

ovoid setEyeSeperation(const float eyeSeperation)

oconst float getEyeSeperation() const

ovoid setScreenDistance(const float distance)

oconst float getScreenDistance() const

ovoid setScreenHeight(const float height)

oconst float getScreenHeight() const

ovoid setDoubleBuffer(const bool flag)

oconst bool getDoubleBuffer() const

ovoid setRGB(const bool flag)

oconst bool getRGB() const

ovoid setDepthBuffer(const bool flag)

oconst bool getDepthBuffer() const

ovoid setMinimumNumAlphaBits(const unsigned int bits)

oconst unsigned int getMinimumNumAlphaBits() const

oconst bool getAlphaBuffer() const

ovoid setMinimumNumStencilBits(const unsigned int bits)

oconst unsigned int getMinimumNumStencilBits() const

oconst bool getStencilBuffer() const

ovoid copy(const DisplaySettings& vs)

obool _stereo

oStereoMode _stereoMode

ofloat _eyeSeperation

ofloat _screenDistance

ofloat _screenHeight

obool _doubleBuffer

obool _RGB

obool _depthBuffer

ounsigned int _minimumNumberAlphaBits

ounsigned int _minimumNumberStencilBits


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.