OpendTect  6.3
settingsaccess.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: J.C. Glas
8  Date: 01/12/2014
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "settings.h"
14 
15 
22 {
23 public:
24  SettingsAccess(); // accesses Settings::common()
25  SettingsAccess(Settings&);
26 
27  bool doesUserWantShading(bool forvolumes=false) const;
28 
29  int getDefaultTexResFactor(int nrres) const;
30 
31  static bool systemHasDefaultTexResFactor();
32 
33  int getDefaultTexResAsIndex(int nrres) const;
34  void setDefaultTexResAsIndex(int idx,int nrres);
36 
37  static const char* sKeyIcons();
38  static const char* sKeyShowInlProgress();
39  static const char* sKeyShowCrlProgress();
40  static const char* sKeyShowRdlProgress();
41  static const char* sKeyTexResFactor();
42  static const char* sKeyUseSurfShaders();
43  static const char* sKeyUseVolShaders();
44  static const char* sKeyEnableMipmapping();
45  static const char* sKeyAnisotropicPower();
46  static const char* sKeyMouseWheelReversal();
47  static const char* sKeyMouseWheelZoomFactor();
48 
49 protected:
51 };
#define mExpClass(module)
Definition: commondefs.h:157
Settings & settings_
Definition: settingsaccess.h:50
Settings class holds the user settings. It is an IOPar.
Definition: settings.h:32
Functionality to access specific user settings and/or environment variables from different parts of O...
Definition: settingsaccess.h:21

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