|
| DisplaySettings () |
|
| DisplaySettings (ArgumentParser &arguments) |
|
| DisplaySettings (const DisplaySettings &vs) |
|
DisplaySettings & | operator= (const DisplaySettings &vs) |
|
void | setDisplaySettings (const DisplaySettings &vs) |
|
void | merge (const DisplaySettings &vs) |
|
void | setDefaults () |
|
void | readEnvironmentalVariables () |
| read the environmental variables. More...
|
|
void | readCommandLine (ArgumentParser &arguments) |
| read the commandline arguments. More...
|
|
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 | 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 | setSplitStereoAutoAdjustAspectRatio (bool flag) |
|
bool | getSplitStereoAutoAdjustAspectRatio () const |
|
void | setScreenWidth (float width) |
|
float | getScreenWidth () const |
|
void | setScreenHeight (float height) |
|
float | getScreenHeight () const |
|
void | setScreenDistance (float distance) |
|
float | getScreenDistance () 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 | setMinimumNumAccumBits (unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) |
|
unsigned int | getMinimumNumAccumRedBits () const |
|
unsigned int | getMinimumNumAccumGreenBits () const |
|
unsigned int | getMinimumNumAccumBlueBits () const |
|
unsigned int | getMinimumNumAccumAlphaBits () const |
|
bool | getAccumBuffer () const |
|
void | setMaxNumberOfGraphicsContexts (unsigned int num) |
|
unsigned int | getMaxNumberOfGraphicsContexts () const |
|
void | setNumMultiSamples (unsigned int samples) |
|
unsigned int | getNumMultiSamples () const |
|
bool | getMultiSamples () const |
|
void | setCompileContextsHint (bool useCompileContexts) |
|
bool | getCompileContextsHint () const |
|
void | setSerializeDrawDispatch (bool serializeDrawDispatch) |
|
bool | getSerializeDrawDispatch () const |
|
void | setUseSceneViewForStereoHint (bool hint) |
|
bool | getUseSceneViewForStereoHint () const |
|
void | setNumOfDatabaseThreadsHint (unsigned int numThreads) |
| Set the hint for the total number of threads in the DatbasePager set up, inclusive of the number of http dedicated threads. More...
|
|
unsigned int | getNumOfDatabaseThreadsHint () const |
| Get the hint for total number of threads in the DatbasePager set up, inclusive of the number of http dedicated threads. More...
|
|
void | setNumOfHttpDatabaseThreadsHint (unsigned int numThreads) |
| Set the hint for number of threads in the DatbasePager to dedicate to reading http requests. More...
|
|
unsigned int | getNumOfHttpDatabaseThreadsHint () const |
| Get the hint for number of threads in the DatbasePager dedicated to reading http requests. More...
|
|
void | setApplication (const std::string &application) |
|
const std::string & | getApplication () |
|
void | setMaxTexturePoolSize (unsigned int size) |
|
unsigned int | getMaxTexturePoolSize () const |
|
void | setMaxBufferObjectPoolSize (unsigned int size) |
|
unsigned int | getMaxBufferObjectPoolSize () const |
|
void | setImplicitBufferAttachmentMask (ImplicitBufferAttachmentMask renderMask=DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT, ImplicitBufferAttachmentMask resolveMask=DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT) |
|
void | setImplicitBufferAttachmentRenderMask (ImplicitBufferAttachmentMask implicitBufferAttachmentRenderMask) |
|
void | setImplicitBufferAttachmentResolveMask (ImplicitBufferAttachmentMask implicitBufferAttachmentResolveMask) |
|
ImplicitBufferAttachmentMask | getImplicitBufferAttachmentRenderMask () const |
| Get mask selecting default implicit buffer attachments for Cameras primary FBOs. More...
|
|
ImplicitBufferAttachmentMask | getImplicitBufferAttachmentResolveMask () const |
| Get mask selecting default implicit buffer attachments for Cameras secondary MULTISAMPLE FBOs. More...
|
|
void | setSwapMethod (SwapMethod swapMethod) |
| Select preferred swap method. More...
|
|
SwapMethod | getSwapMethod (void) |
| Get preferred swap method. More...
|
|
void | setSyncSwapBuffers (unsigned int numFrames=0) |
| Set whether Arb Sync should be used to manage the swaps buffers, 0 disables the use of the sync, greater than zero enables sync based on number of frames specified. More...
|
|
unsigned int | getSyncSwapBuffers () const |
| Set whether Arb Sync should be used to manage the swaps buffers. More...
|
|
void | setGLContextVersion (const std::string &version) |
| Set the hint of which OpenGL version to attempt to create a graphics context for. More...
|
|
const std::string | getGLContextVersion () const |
| Get the hint of which OpenGL version to attempt to create a graphics context for. More...
|
|
void | setGLContextFlags (unsigned int flags) |
| Set the hint of the flags to use in when creating graphic contexts. More...
|
|
unsigned int | getGLContextFlags () const |
| Get the hint of the flags to use in when creating graphic contexts. More...
|
|
void | setGLContextProfileMask (unsigned int mask) |
| Set the hint of the profile mask to use in when creating graphic contexts. More...
|
|
unsigned int | getGLContextProfileMask () const |
| Get the hint of the profile mask to use in when creating graphic contexts. More...
|
|
void | setNvOptimusEnablement (int value) |
| Set the NvOptimusEnablement value. More...
|
|
int | getNvOptimusEnablement () const |
| Get the NvOptimusEnablement value. More...
|
|
void | setKeystoneHint (bool enabled) |
|
bool | getKeystoneHint () const |
|
void | setKeystoneFileNames (const FileNames &filenames) |
|
FileNames & | getKeystoneFileNames () |
|
const FileNames & | getKeystoneFileNames () const |
|
void | setKeystones (const Objects &objects) |
|
Objects & | getKeystones () |
|
const Objects & | getKeystones () const |
|
OSXMenubarBehavior | getOSXMenubarBehavior () const |
|
void | setOSXMenubarBehavior (OSXMenubarBehavior hint) |
|
virtual osg::Matrixd | computeLeftEyeProjectionImplementation (const osg::Matrixd &projection) const |
| helper function for computing the left eye projection matrix. More...
|
|
virtual osg::Matrixd | computeLeftEyeViewImplementation (const osg::Matrixd &view, double eyeSeperationScale=1.0) const |
| helper function for computing the left eye view matrix. More...
|
|
virtual osg::Matrixd | computeRightEyeProjectionImplementation (const osg::Matrixd &projection) const |
| helper function for computing the right eye view matrix. More...
|
|
virtual osg::Matrixd | computeRightEyeViewImplementation (const osg::Matrixd &view, double eyeSeperationScale=1.0) const |
| helper function for computing the right eye view matrix. More...
|
|
| Referenced () |
|
| Referenced (bool threadSafeRefUnref) |
|
| Referenced (const Referenced &) |
|
Referenced & | operator= (const Referenced &) |
|
virtual void | setThreadSafeRefUnref (bool threadSafe) |
| Set whether to use a mutex to ensure ref() and unref() are thread safe. More...
|
|
bool | getThreadSafeRefUnref () const |
| Get whether a mutex is used to ensure ref() and unref() are thread safe. More...
|
|
OpenThreads::Mutex * | getRefMutex () const |
| Get the mutex used to ensure thread safety of ref()/unref(). More...
|
|
int | ref () const |
| Increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
|
|
int | unref () const |
| Decrement the reference count by one, indicating that a pointer to this object is no longer referencing it. More...
|
|
int | unref_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is no longer referencing it. More...
|
|
int | referenceCount () const |
| Return the number of pointers currently referencing this object. More...
|
|
ObserverSet * | getObserverSet () const |
| Get the ObserverSet if one is attached, otherwise return NULL. More...
|
|
ObserverSet * | getOrCreateObserverSet () const |
| Get the ObserverSet if one is attached, otherwise create an ObserverSet, attach it, then return this newly created ObserverSet. More...
|
|
void | addObserver (Observer *observer) const |
| Add a Observer that is observing this object, notify the Observer when this object gets deleted. More...
|
|
void | removeObserver (Observer *observer) const |
| Remove Observer that is observing this object. More...
|
|
DisplaySettings class for encapsulating what visuals are required and have been set up, and the status of stereo viewing.