OpendTect-6_4  6.4
settingsaccess.h
Go to the documentation of this file.
1 #ifndef settingsaccess_h
2 #define settingsaccess_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: J.C. Glas
9  Date: 01/12/2014
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "settings.h"
16 
17 
24 {
25 public:
26  SettingsAccess(); // accesses Settings::common()
27  SettingsAccess(Settings&);
28 
29  bool doesUserWantShading(bool forvolumes=false) const;
30 
31  int getDefaultTexResFactor(int nrres) const;
32 
33  static bool systemHasDefaultTexResFactor();
34 
35  int getDefaultTexResAsIndex(int nrres) const;
36  void setDefaultTexResAsIndex(int idx,int nrres);
38 
39  BufferString getTerminalEmulator();
40 
41  static const char* sKeyIcons();
42  static const char* sKeyShowInlProgress();
43  static const char* sKeyShowCrlProgress();
44  static const char* sKeyShowRdlProgress();
45  static const char* sKeyTexResFactor();
46  static const char* sKeyUseSurfShaders();
47  static const char* sKeyUseVolShaders();
48  static const char* sKeyEnableMipmapping();
49  static const char* sKeyAnisotropicPower();
50  static const char* sKeyMouseWheelReversal();
51  static const char* sKeyMouseWheelZoomFactor();
52 
53 protected:
55 };
56 
57 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Settings & settings_
Definition: settingsaccess.h:54
Settings class holds the user settings. It is an IOPar.
Definition: settings.h:34
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Functionality to access specific user settings and/or environment variables from different parts of O...
Definition: settingsaccess.h:23

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