OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
SettingsAccess Class Reference

Functionality to access specific user settings and/or environment variables from different parts of OpendTect in order to avoid duplication of definitions and code. More...

Public Member Functions

 SettingsAccess ()
 
 SettingsAccess (Settings &)
 
bool doesUserWantShading (bool forvolumes=false) const
 
int getDefaultTexResFactor (int nrres) const
 
int getDefaultTexResAsIndex (int nrres) const
 
void setDefaultTexResAsIndex (int idx, int nrres)
 system default represented by idx==nrres More...
 
BufferString getTerminalEmulator ()
 

Static Public Member Functions

static bool systemHasDefaultTexResFactor ()
 
static const char * sKeyIcons ()
 
static const char * sKeyShowInlProgress ()
 
static const char * sKeyShowCrlProgress ()
 
static const char * sKeyShowRdlProgress ()
 
static const char * sKeyTexResFactor ()
 
static const char * sKeyUseSurfShaders ()
 
static const char * sKeyUseVolShaders ()
 
static const char * sKeyEnableMipmapping ()
 
static const char * sKeyAnisotropicPower ()
 
static const char * sKeyMouseWheelReversal ()
 
static const char * sKeyMouseWheelZoomFactor ()
 

Protected Attributes

Settingssettings_
 

Detailed Description

Functionality to access specific user settings and/or environment variables from different parts of OpendTect in order to avoid duplication of definitions and code.

Constructor & Destructor Documentation

SettingsAccess::SettingsAccess ( )
SettingsAccess::SettingsAccess ( Settings )

Member Function Documentation

bool SettingsAccess::doesUserWantShading ( bool  forvolumes = false) const
int SettingsAccess::getDefaultTexResAsIndex ( int  nrres) const
int SettingsAccess::getDefaultTexResFactor ( int  nrres) const
BufferString SettingsAccess::getTerminalEmulator ( )
void SettingsAccess::setDefaultTexResAsIndex ( int  idx,
int  nrres 
)

system default represented by idx==nrres

static const char* SettingsAccess::sKeyAnisotropicPower ( )
static
static const char* SettingsAccess::sKeyEnableMipmapping ( )
static
static const char* SettingsAccess::sKeyIcons ( )
static
static const char* SettingsAccess::sKeyMouseWheelReversal ( )
static
static const char* SettingsAccess::sKeyMouseWheelZoomFactor ( )
static
static const char* SettingsAccess::sKeyShowCrlProgress ( )
static
static const char* SettingsAccess::sKeyShowInlProgress ( )
static
static const char* SettingsAccess::sKeyShowRdlProgress ( )
static
static const char* SettingsAccess::sKeyTexResFactor ( )
static
static const char* SettingsAccess::sKeyUseSurfShaders ( )
static
static const char* SettingsAccess::sKeyUseVolShaders ( )
static
static bool SettingsAccess::systemHasDefaultTexResFactor ( )
static

Member Data Documentation

Settings& SettingsAccess::settings_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019