Developer Documentation
GlobalOptions.hh File Reference
#include <OpenFlipper/common/GlobalDefines.hh>
#include <ACG/Scenegraph/DrawModes.hh>
#include <QDir>
#include <QStringList>
#include <QColor>
#include <QIcon>
#include "OpenFlipperQSettings.hh"

Go to the source code of this file.

Functions

QDir OpenFlipper::Options::applicationDir ()
 Returns the base Path of the application. More...
 
QDir OpenFlipper::Options::pluginDir ()
 Returns the Path to the Standard Plugins. More...
 
QDir OpenFlipper::Options::textureDir ()
 Returns the Path to the Textures. More...
 
QDir OpenFlipper::Options::licenseDir ()
 Returns the Path to the License files. More...
 
QDir OpenFlipper::Options::scriptDir ()
 Returns the Path to the Scripts. More...
 
QDir OpenFlipper::Options::shaderDir ()
 Returns the Path to the shaders. More...
 
QDir OpenFlipper::Options::iconDir ()
 Returns the Path to the Icons. More...
 
QDir OpenFlipper::Options::translationsDir ()
 Returns the Path to the translation files. More...
 
QDir OpenFlipper::Options::fontsDir ()
 Returns the Path to Fonts. More...
 
QDir OpenFlipper::Options::dataDir ()
 Returns the Path to the main data directory. More...
 
QString OpenFlipper::Options::applicationDirStr ()
 Returns the base Path of the application. More...
 
QString OpenFlipper::Options::pluginDirStr ()
 Returns the Path to the Standard Plugins. More...
 
QString OpenFlipper::Options::shaderDirStr ()
 Returns the Path to the Shader directory. More...
 
QString OpenFlipper::Options::textureDirStr ()
 Returns the Path to the Textures. More...
 
QString OpenFlipper::Options::licenseDirStr ()
 Returns the Path to the License files. More...
 
QString OpenFlipper::Options::scriptDirStr ()
 Returns the Path to the Scripts. More...
 
QString OpenFlipper::Options::iconDirStr ()
 Returns the Path to the Icons. More...
 
QString OpenFlipper::Options::dataDirStr ()
 Returns the Path to the main data directory. More...
 
QIcon & OpenFlipper::Options::OpenFlipperIcon ()
 Returns the OpenFlipper Icon. More...
 
QString OpenFlipper::Options::translationsDirStr ()
 Returns the Path to the translation files. More...
 
QString OpenFlipper::Options::fontsDirStr ()
 Returns the Path to Fonts. More...
 
QString OpenFlipper::Options::helpDirStr ()
 Returns the Path to Help. More...
 
bool OpenFlipper::Options::initializeSettings ()
 Internal function called by the core to connect to the program options. More...
 
void OpenFlipper::Options::closeSettings ()
 Internal function called by the core to write the program options on exit. More...
 
Option files / paths
QString OpenFlipper::Options::getGlobalIniFullPath ()
 Get the path of the global options file. More...
 
QString OpenFlipper::Options::getLocalIniFullPath ()
 Get the path of the local options file. More...
 
QStringList OpenFlipper::Options::optionFiles ()
 
DLLEXPORT void OpenFlipper::Options::configDir (QDir _dir)
 Sets the Path to the configuration directory.
 
DLLEXPORT bool OpenFlipper::Options::configDir (QString _dir)
 Sets the Path to the configuration directory.
 
QString OpenFlipper::Options::configDirStr ()
 Returns the base Path of the config Dir. More...
 
QDir OpenFlipper::Options::configDir ()
 Returns the base Path of the config Dir. More...
 
bool OpenFlipper::Options::deleteIniFile ()
 Returns true if ini-file should be deleted on exit. More...
 
void OpenFlipper::Options::deleteIniFile (bool _delete)
 Set option to delete ini-files on exit. More...
 
current status
bool OpenFlipper::Options::startup ()
 Returns if the system is currently in a startup phase. More...
 
void OpenFlipper::Options::finishedStartup ()
 Set status to startup complete. More...
 
QString OpenFlipper::Options::currentScriptDirStr ()
 return the current script-directory More...
 
QDir OpenFlipper::Options::currentScriptDir ()
 return the current Script-directory More...
 
DLLEXPORT void OpenFlipper::Options::currentScriptDir (QDir _dir)
 Sets the Path to the current Script-directory.
 
bool OpenFlipper::Options::currentScriptDir (QString _dir)
 Sets the Path to the current Script-directory. More...
 
QString OpenFlipper::Options::currentTextureDirStr ()
 return the current texture-directory More...
 
QDir OpenFlipper::Options::currentTextureDir ()
 return the current texture-directory More...
 
DLLEXPORT void OpenFlipper::Options::currentTextureDir (QDir _dir)
 Sets the Path to the current texture-directory.
 
bool OpenFlipper::Options::currentTextureDir (QString _dir)
 Sets the Path to the current texture-directory. More...
 
QString OpenFlipper::Options::lastDataType ()
 return last used dataType More...
 
void OpenFlipper::Options::lastDataType (QString _type)
 set the last used dataType More...
 
Architecture detection and Architecture specific stuff
bool OpenFlipper::Options::is64bit ()
 Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More...
 
bool OpenFlipper::Options::is32bit ()
 Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More...
 
bool OpenFlipper::Options::isLinux ()
 Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More...
 
bool OpenFlipper::Options::isWindows ()
 Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More...
 
bool OpenFlipper::Options::isDarwin ()
 Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More...
 
QString OpenFlipper::Options::dirSeparator ()
 Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More...
 
Environment
QString OpenFlipper::Options::lang ()
 Returns the LANG environment variable string. More...
 
Scripting Options
bool OpenFlipper::Options::scripting ()
 
void OpenFlipper::Options::scripting (bool _status)
 
Logging Options
bool OpenFlipper::Options::logToConsole ()
 Log to console output? More...
 
void OpenFlipper::Options::logToConsole (bool _logToConsole)
 Log to console output? More...
 
bool OpenFlipper::Options::debug ()
 Give extra debug information. More...
 
void OpenFlipper::Options::debug (bool _debug)
 Give extra debug information. More...
 
Backup operations
bool OpenFlipper::Options::backupEnabled ()
 Do backups? More...
 
void OpenFlipper::Options::enableBackup (bool _enableBackup)
 Do backups? More...
 
Update blocking

Used to speedup system when creating/removing a lot of objects. This disables the analysis of the scenegraph used for rendering.

void OpenFlipper::Options::blockSceneGraphUpdates ()
 Block updates. More...
 
void OpenFlipper::Options::unblockSceneGraphUpdates ()
 unblockUpdates More...
 
bool OpenFlipper::Options::sceneGraphUpdatesBlocked ()
 Updates currently blocked? More...
 
Settings
bool OpenFlipper::Options::savingSettings ()
 currently saving Settings ? More...
 
void OpenFlipper::Options::savingSettings (bool _savingSettings)
 currently saving Settings ? More...
 
bool OpenFlipper::Options::loadingRecentFile ()
 currently loading recent file ? More...
 
void OpenFlipper::Options::loadingRecentFile (bool _loadingRecentFile)
 currently loading recent file ? More...
 
Core parameters
int * OpenFlipper::Options::argc ()
 Get the argc parameter from the main application. More...
 
char *** OpenFlipper::Options::argv ()
 Get the argv parameter from the main application. More...
 
void OpenFlipper::Options::argc (int *_argc)
 Set the argc parameter from the main application ( Dont use it, only called from Core!!) More...
 
void OpenFlipper::Options::argv (char ***_argv)
 Set the argv parameter from the main application ( Dont use it, only called from Core!!) More...
 
bool OpenFlipper::Options::remoteControl ()
 is the core remoteControlled? More...
 
void OpenFlipper::Options::remoteControl (bool _remote)
 is the core remoteControlled? More...
 
int OpenFlipper::Options::remoteControlPort ()
 Get the remote control port. More...
 
void OpenFlipper::Options::remoteControlPort (int _remotePort)
 Set the remote control port. More...
 
Debugging Options
void OpenFlipper::Options::doSlotDebugging (bool _debugging)
 
bool OpenFlipper::Options::doSlotDebugging ()
 
Version information
QString OpenFlipper::Options::coreVersion ()
 Version of OpenFlipper Core. More...
 
QString OpenFlipper::Options::compilerInfo ()
 Information about the used compiler. More...
 

Persistent settings

#define STRINGIFY(x)   #x
 QSettings object containing all program settings of OpenFlipper. More...
 
#define TOSTRING(x)   STRINGIFY(x)
 QSettings object containing all program settings of OpenFlipper. More...
 
DLLEXPORT OpenFlipperQSettingsOpenFlipperSettings ()
 QSettings object containing all program settings of OpenFlipper. More...
 

Visualization Control

enum  OpenFlipper::Options::StereoMode { OpenGL , AnaglyphRedCyan , AnaglyphCustom }
 Stereo mode. More...
 
void OpenFlipper::Options::nogui (bool _nogui)
 Store if a gui should be visible or not. More...
 
bool OpenFlipper::Options::nogui ()
 get if a gui should be visible or not More...
 
bool OpenFlipper::Options::gui ()
 get if a gui should be visible or not More...
 
void OpenFlipper::Options::coreProfile (bool _enableCoreProfile, bool _temporary)
 Store opengl core profile setting. More...
 
bool OpenFlipper::Options::coreProfile ()
 get opengl core profile setting More...
 
QPair< int, int > OpenFlipper::Options::glVersion ()
 get opengl version setting More...
 
void OpenFlipper::Options::glVersion (const QPair< int, int > &_version, bool _temporary)
 Store opengl version setting. More...
 
void OpenFlipper::Options::samples (int _samples, bool _temporary)
 Store opengl MSAA sample count. More...
 
int OpenFlipper::Options::samples ()
 Get opengl MSAA sample count. More...
 
void OpenFlipper::Options::stereo (bool _stereo)
 Store stereo setting. More...
 
bool OpenFlipper::Options::stereo ()
 get current stereo setting More...
 
void OpenFlipper::Options::glStereo (bool _glStereo, bool _temporary)
 Store opengl stereo mode setting. More...
 
bool OpenFlipper::Options::glStereo ()
 get current opengl stereo setting More...
 
bool OpenFlipper::Options::glStereoRequested ()
 get the glStereo flag that was used to request the opengl context More...
 
void OpenFlipper::Options::stereoMode (StereoMode _mode)
 Store stereo mode setting. More...
 
StereoMode OpenFlipper::Options::stereoMode ()
 get current stereo mode setting More...
 
void OpenFlipper::Options::anaglyphLeftEyeColorMatrix (std::vector< float > _mat)
 Store the 3x3 left eye color matrix values for custom anaglyph stereo mode. More...
 
std::vector< float > OpenFlipper::Options::anaglyphLeftEyeColorMatrix ()
 get the 3x3 left eye color matrix values for custom anaglyph stereo mode More...
 
void OpenFlipper::Options::anaglyphRightEyeColorMatrix (std::vector< float > _mat)
 Store the 3x3 right eye color matrix values for custom anaglyph stereo mode. More...
 
std::vector< float > OpenFlipper::Options::anaglyphRightEyeColorMatrix ()
 get the 3x3 right eye color matrix values for custom anaglyph stereo mode More...
 
void OpenFlipper::Options::synchronization (bool _synchronization)
 Store synchronization mode setting. More...
 
bool OpenFlipper::Options::synchronization ()
 get current synchronization setting More...
 
void OpenFlipper::Options::defaultDrawMode (ACG::SceneGraph::DrawModes::DrawMode _mode, int _viewer)
 Store defaultDrawMode setting. More...
 
ACG::SceneGraph::DrawModes::DrawMode OpenFlipper::Options::defaultDrawMode (int _viewer)
 get defaultDrawMode setting More...
 
void OpenFlipper::Options::defaultPerspectiveProjectionMode (bool _mode, int _viewer)
 Store defaultProjectionMode setting. More...
 
bool OpenFlipper::Options::defaultPerspectiveProjectionMode (int _viewer)
 get defaultProjectionMode setting More...
 
void OpenFlipper::Options::defaultViewingDirection (int _mode, int _viewer)
 Store defaultViewingDirection setting. More...
 
int OpenFlipper::Options::defaultViewingDirection (int _viewer)
 get defaultViewingDirection setting More...
 
void OpenFlipper::Options::defaultLockRotation (bool _mode, int _viewer)
 Store lockrotation setting. More...
 
bool OpenFlipper::Options::defaultLockRotation (int _viewer)
 get lockrotation setting More...
 
void OpenFlipper::Options::defaultViewerLayout (int _layout)
 Store defaultViewerLayout setting. More...
 
int OpenFlipper::Options::defaultViewerLayout ()
 get defaultViewerLayout setting More...
 
void OpenFlipper::Options::redrawDisabled (bool disable)
 Store disableRedraw setting. More...
 
bool OpenFlipper::Options::redrawDisabled ()
 get disableRedraw setting More...
 
bool OpenFlipper::Options::drawModesInContextMenu ()
 Get the flag if a drawMode Menu should always be visible in the context menu. More...
 
void OpenFlipper::Options::drawModesInContextMenu (bool _show)
 Set the flag if a drawMode Menu should always be visible in the context menu. More...
 

GUI Control

enum  OpenFlipper::Options::LoggerState { InScene , Normal , Hidden }
 State of the logging widget. More...
 
unsigned int OpenFlipper::Options::examinerWidgets ()
 Number of examiner widgets. More...
 
void OpenFlipper::Options::loggerState (LoggerState _state)
 Set to current. More...
 
LoggerState OpenFlipper::Options::loggerState ()
 Current state of the logging window? More...
 
QString OpenFlipper::Options::currentViewMode ()
 Which mode should is currently selected? More...
 
void OpenFlipper::Options::currentViewMode (QString _mode)
 Which view mode is currently selected? More...
 
QString OpenFlipper::Options::windowTitle ()
 Titel of the main window. More...
 
void OpenFlipper::Options::windowTitle (QString _titel)
 Set title of the main window. More...
 
void OpenFlipper::Options::defaultColor (QColor _color)
 Default color for objects. More...
 
QColor OpenFlipper::Options::defaultColor ()
 Default color for objects. More...
 
void OpenFlipper::Options::randomDefaultColor (bool _random)
 use randomized color as default for objects More...
 
bool OpenFlipper::Options::randomDefaultColor ()
 use randomized color as default for objects More...
 

Detailed Description

This Header provides access to globally defined variables such as Aplication Directories. You may use these Functions inside your plugins.

Definition in file GlobalOptions.hh.

Macro Definition Documentation

◆ STRINGIFY

#define STRINGIFY (   x)    #x

QSettings object containing all program settings of OpenFlipper.

To get the settings use:
OpenFlipperSettings().value("<Key>").toDouble();
OpenFlipperSettings().value("<Key>").toBool();

To change settings do:
OpenFlipperSettings().setValue("<Key>","<Value>");
For detailed info about the values see the documentation of QSettings and the QVariant.

Note
For each of your plugins, the key has to start with your plugin name!!!

The following entries are available through the settings:

User Interface Settings

  • Core/Gui/glViewer/defaultBackgroundColor This controls the default background color of the glViewer (QColor)
  • Core/Gui/glViewer/showControlWheels This setting controls if the control wheels should be visible in the glViewer (bool)
  • Core/Gui/glViewer/glMouse This setting controls if the mouse is rendered in OpenGL or in the window manager(bool)
  • Core/Gui/glViewer/stereoMousePick This setting controls if the mouse depth is picked in stereo mode(bool)
  • Core/Gui/glViewer/restrictFrameRate This setting controls if the maximum frame rate should be restricted (bool)
  • Core/Gui/glViewer/maxFrameRate If restrictFrameRate is set to yes, this setting controls the maximum frameRate used (unsigned int)
  • Core/Gui/glViewer/useMultipleViewers Use only one viewer or automatically generate multiple viewers (bool)
  • Core/Gui/glViewer/minimalSceneSize The minimal scene radius. If the scene is smaller, than the size will be set to this value (double)
  • Core/Gui/ToolBoxes/hidden Hide the toolbox sidebar (bool)
  • Core/Gui/ToolBoxes/ToolBoxOnTheRight Toolbox on the right or on the left (bool)
  • Core/Gui/ToolBars/PickToolbarInScene Render picking toolbar into gl scene or as toolbox into main widget
  • Core/Gui/TaskSwitcher/Hide Show or Hide the task switcher(bool)
  • Core/Gui/LogWindow/LogWindowMode Log Window Mode .. 0 InScene, 1 Window, 2 Hidden (int)
  • Core/Gui/LogWindow/OpenMeshErrors Log OpenMesh Errors? (bool)
  • Core/Gui/splash This setting controls if the splash screen is shown at startup(bool)
  • Core/Gui/fullscreen Show OpenFlipper in Fullscreen Mode(bool)
  • Core/Projection/FOVY Field of view for projection matrix in perspective mode(double)
    User Interface Settings for each of the viewers
  • Viewer<viewer>/perspectiveProjection Orthogonal = false,Perspective = true (bool)
  • Viewer<viewer>/defaultViewingDirection 0:VIEW_FREE; 1:VIEW_TOP; 2:VIEW_BOTTOM; 3:VIEW_LEFT; 4:VIEW_RIGHT; 5:VIEW_FRONT; 6:VIEW_BACK (int)
  • Viewer<viewer>/defaultLockRotation true: locked , false: unlocked (bool)
  • Viewer<viewer>/Animation true: enabled, false: disabled (bool)
  • Viewer<viewer>/BackfaceCulling true: enabled, false: disabled (bool)
  • Viewer<viewer>/TwoSidedLighting true: enabled, false: disabled (bool)
  • Viewer<viewer>/BackgroundColor Color of the viewer background (QColor)
  • Viewer<viewer>/DefaultRenderer Name of the default Renderer (QString)
    File Handling
  • Core/CurrentDir The current Directory of the Application
  • Core/File/RecentFiles List of Recent Files
  • Core/File/RecentTypes DataTypes of Recent Files
  • Core/File/MaxRecent Maximum entries in recent File list
  • Core/File/UseLoadDefaults Use the defaults saved in the file plugins
    Log Settings
  • Core/Log/Logfile This is the location of the log file
  • Core/Log/logFileEnabled This controls, if logging to file is enabled(bool)
    Language Settings
  • Core/Language/Translation This is the translation to use ( default is en_US)
    Update Settings
  • Core/Update/UserName Update UserName
  • Core/Update/Pass Update Password
  • Core/Update/URL Update URL

Mouse Controls

  • Core/Mouse/Wheel/ZoomFactor Zoom factor used when turning the mouse wheel (double)
  • Core/Mouse/Wheel/ZoomFactorShift Zoom factor used when turning the mouse wheel while shift is pressed (makes zoom slower while shift is pressed) (double)
  • Core/Mouse/Wheel/Invert Invert mouse wheel zoom direction (bool)
    General Stereo Settings
  • Core/Stereo/EyeDistance Distance between eyes. Defaults to 7 cm (double)
  • Core/Stereo/FocalDistance Focal distance. Defaults to center of scene (double)

    Philips stereo display settings
  • Core/Stereo/Philips/Content Philips stereo header content type (int)
  • Core/Stereo/Philips/Factor Philips stereo header factor (int)
  • Core/Stereo/Philips/Offset Philips stereo header offset cc (int)
  • Core/Stereo/Philips/Select Philips stereo header select (int)

    Rendering debugger Settings
  • Core/Debug/Picking/RenderPicking Enable picking rendering (bool)
  • Core/Debug/Picking/RenderPickingMode The Mode used for picking rendering(QString)
  • Core/Debug/Picking/RenderDepthImage Renders the depth buffer as a grayscale image (bool)

    Anaglyph stereo mode settings:

Definition at line 156 of file GlobalOptions.hh.

◆ TOSTRING

#define TOSTRING (   x)    STRINGIFY(x)

QSettings object containing all program settings of OpenFlipper.

To get the settings use:
OpenFlipperSettings().value("<Key>").toDouble();
OpenFlipperSettings().value("<Key>").toBool();

To change settings do:
OpenFlipperSettings().setValue("<Key>","<Value>");
For detailed info about the values see the documentation of QSettings and the QVariant.

Note
For each of your plugins, the key has to start with your plugin name!!!

The following entries are available through the settings:

User Interface Settings

  • Core/Gui/glViewer/defaultBackgroundColor This controls the default background color of the glViewer (QColor)
  • Core/Gui/glViewer/showControlWheels This setting controls if the control wheels should be visible in the glViewer (bool)
  • Core/Gui/glViewer/glMouse This setting controls if the mouse is rendered in OpenGL or in the window manager(bool)
  • Core/Gui/glViewer/stereoMousePick This setting controls if the mouse depth is picked in stereo mode(bool)
  • Core/Gui/glViewer/restrictFrameRate This setting controls if the maximum frame rate should be restricted (bool)
  • Core/Gui/glViewer/maxFrameRate If restrictFrameRate is set to yes, this setting controls the maximum frameRate used (unsigned int)
  • Core/Gui/glViewer/useMultipleViewers Use only one viewer or automatically generate multiple viewers (bool)
  • Core/Gui/glViewer/minimalSceneSize The minimal scene radius. If the scene is smaller, than the size will be set to this value (double)
  • Core/Gui/ToolBoxes/hidden Hide the toolbox sidebar (bool)
  • Core/Gui/ToolBoxes/ToolBoxOnTheRight Toolbox on the right or on the left (bool)
  • Core/Gui/ToolBars/PickToolbarInScene Render picking toolbar into gl scene or as toolbox into main widget
  • Core/Gui/TaskSwitcher/Hide Show or Hide the task switcher(bool)
  • Core/Gui/LogWindow/LogWindowMode Log Window Mode .. 0 InScene, 1 Window, 2 Hidden (int)
  • Core/Gui/LogWindow/OpenMeshErrors Log OpenMesh Errors? (bool)
  • Core/Gui/splash This setting controls if the splash screen is shown at startup(bool)
  • Core/Gui/fullscreen Show OpenFlipper in Fullscreen Mode(bool)
  • Core/Projection/FOVY Field of view for projection matrix in perspective mode(double)
    User Interface Settings for each of the viewers
  • Viewer<viewer>/perspectiveProjection Orthogonal = false,Perspective = true (bool)
  • Viewer<viewer>/defaultViewingDirection 0:VIEW_FREE; 1:VIEW_TOP; 2:VIEW_BOTTOM; 3:VIEW_LEFT; 4:VIEW_RIGHT; 5:VIEW_FRONT; 6:VIEW_BACK (int)
  • Viewer<viewer>/defaultLockRotation true: locked , false: unlocked (bool)
  • Viewer<viewer>/Animation true: enabled, false: disabled (bool)
  • Viewer<viewer>/BackfaceCulling true: enabled, false: disabled (bool)
  • Viewer<viewer>/TwoSidedLighting true: enabled, false: disabled (bool)
  • Viewer<viewer>/BackgroundColor Color of the viewer background (QColor)
  • Viewer<viewer>/DefaultRenderer Name of the default Renderer (QString)
    File Handling
  • Core/CurrentDir The current Directory of the Application
  • Core/File/RecentFiles List of Recent Files
  • Core/File/RecentTypes DataTypes of Recent Files
  • Core/File/MaxRecent Maximum entries in recent File list
  • Core/File/UseLoadDefaults Use the defaults saved in the file plugins
    Log Settings
  • Core/Log/Logfile This is the location of the log file
  • Core/Log/logFileEnabled This controls, if logging to file is enabled(bool)
    Language Settings
  • Core/Language/Translation This is the translation to use ( default is en_US)
    Update Settings
  • Core/Update/UserName Update UserName
  • Core/Update/Pass Update Password
  • Core/Update/URL Update URL

Mouse Controls

  • Core/Mouse/Wheel/ZoomFactor Zoom factor used when turning the mouse wheel (double)
  • Core/Mouse/Wheel/ZoomFactorShift Zoom factor used when turning the mouse wheel while shift is pressed (makes zoom slower while shift is pressed) (double)
  • Core/Mouse/Wheel/Invert Invert mouse wheel zoom direction (bool)
    General Stereo Settings
  • Core/Stereo/EyeDistance Distance between eyes. Defaults to 7 cm (double)
  • Core/Stereo/FocalDistance Focal distance. Defaults to center of scene (double)

    Philips stereo display settings
  • Core/Stereo/Philips/Content Philips stereo header content type (int)
  • Core/Stereo/Philips/Factor Philips stereo header factor (int)
  • Core/Stereo/Philips/Offset Philips stereo header offset cc (int)
  • Core/Stereo/Philips/Select Philips stereo header select (int)

    Rendering debugger Settings
  • Core/Debug/Picking/RenderPicking Enable picking rendering (bool)
  • Core/Debug/Picking/RenderPickingMode The Mode used for picking rendering(QString)
  • Core/Debug/Picking/RenderDepthImage Renders the depth buffer as a grayscale image (bool)

    Anaglyph stereo mode settings:

Definition at line 157 of file GlobalOptions.hh.

Enumeration Type Documentation

◆ LoggerState

State of the logging widget.

Definition at line 568 of file GlobalOptions.hh.

◆ StereoMode

Stereo mode.

Definition at line 446 of file GlobalOptions.hh.

Function Documentation

◆ anaglyphLeftEyeColorMatrix() [1/2]

DLLEXPORT std::vector< float > OpenFlipper::Options::anaglyphLeftEyeColorMatrix ( )

get the 3x3 left eye color matrix values for custom anaglyph stereo mode

Definition at line 533 of file GlobalOptions.cc.

◆ anaglyphLeftEyeColorMatrix() [2/2]

DLLEXPORT void OpenFlipper::Options::anaglyphLeftEyeColorMatrix ( std::vector< float >  _mat)

Store the 3x3 left eye color matrix values for custom anaglyph stereo mode.

Definition at line 526 of file GlobalOptions.cc.

◆ anaglyphRightEyeColorMatrix() [1/2]

DLLEXPORT std::vector< float > OpenFlipper::Options::anaglyphRightEyeColorMatrix ( )

get the 3x3 right eye color matrix values for custom anaglyph stereo mode

Definition at line 546 of file GlobalOptions.cc.

◆ anaglyphRightEyeColorMatrix() [2/2]

DLLEXPORT void OpenFlipper::Options::anaglyphRightEyeColorMatrix ( std::vector< float >  _mat)

Store the 3x3 right eye color matrix values for custom anaglyph stereo mode.

Definition at line 539 of file GlobalOptions.cc.

◆ applicationDir()

DLLEXPORT QDir OpenFlipper::Options::applicationDir ( )

Returns the base Path of the application.

Definition at line 262 of file GlobalOptions.cc.

◆ applicationDirStr()

DLLEXPORT QString OpenFlipper::Options::applicationDirStr ( )

Returns the base Path of the application.

Definition at line 278 of file GlobalOptions.cc.

◆ argc() [1/2]

DLLEXPORT int * OpenFlipper::Options::argc ( )

Get the argc parameter from the main application.

Definition at line 817 of file GlobalOptions.cc.

◆ argc() [2/2]

DLLEXPORT void OpenFlipper::Options::argc ( int *  _argc)

Set the argc parameter from the main application ( Dont use it, only called from Core!!)

Definition at line 825 of file GlobalOptions.cc.

◆ argv() [1/2]

DLLEXPORT char *** OpenFlipper::Options::argv ( )

Get the argv parameter from the main application.

Definition at line 821 of file GlobalOptions.cc.

◆ argv() [2/2]

DLLEXPORT void OpenFlipper::Options::argv ( char ***  _argv)

Set the argv parameter from the main application ( Dont use it, only called from Core!!)

Definition at line 829 of file GlobalOptions.cc.

◆ backupEnabled()

DLLEXPORT bool OpenFlipper::Options::backupEnabled ( )

Do backups?

Definition at line 775 of file GlobalOptions.cc.

◆ blockSceneGraphUpdates()

DLLEXPORT void OpenFlipper::Options::blockSceneGraphUpdates ( )

Block updates.

Definition at line 783 of file GlobalOptions.cc.

◆ closeSettings()

DLLEXPORT void OpenFlipper::Options::closeSettings ( )

Internal function called by the core to write the program options on exit.

Definition at line 1040 of file GlobalOptions.cc.

◆ compilerInfo()

DLLEXPORT QString OpenFlipper::Options::compilerInfo ( )

Information about the used compiler.

Definition at line 1046 of file GlobalOptions.cc.

◆ configDir()

DLLEXPORT QDir OpenFlipper::Options::configDir ( )

Returns the base Path of the config Dir.

Definition at line 263 of file GlobalOptions.cc.

◆ configDirStr()

DLLEXPORT QString OpenFlipper::Options::configDirStr ( )

Returns the base Path of the config Dir.

Definition at line 279 of file GlobalOptions.cc.

◆ coreProfile() [1/2]

DLLEXPORT bool OpenFlipper::Options::coreProfile ( )

get opengl core profile setting

Definition at line 409 of file GlobalOptions.cc.

◆ coreProfile() [2/2]

DLLEXPORT void OpenFlipper::Options::coreProfile ( bool  _enableCoreProfile,
bool  _temporary 
)

Store opengl core profile setting.

Definition at line 398 of file GlobalOptions.cc.

◆ coreVersion()

DLLEXPORT QString OpenFlipper::Options::coreVersion ( )

Version of OpenFlipper Core.

Definition at line 857 of file GlobalOptions.cc.

◆ currentScriptDir() [1/2]

DLLEXPORT QDir OpenFlipper::Options::currentScriptDir ( )

return the current Script-directory

Definition at line 275 of file GlobalOptions.cc.

◆ currentScriptDir() [2/2]

DLLEXPORT bool OpenFlipper::Options::currentScriptDir ( QString  _dir)

Sets the Path to the current Script-directory.

Definition at line 346 of file GlobalOptions.cc.

◆ currentScriptDirStr()

DLLEXPORT QString OpenFlipper::Options::currentScriptDirStr ( )

return the current script-directory

Definition at line 291 of file GlobalOptions.cc.

◆ currentTextureDir() [1/2]

DLLEXPORT QDir OpenFlipper::Options::currentTextureDir ( )

return the current texture-directory

Definition at line 276 of file GlobalOptions.cc.

◆ currentTextureDir() [2/2]

DLLEXPORT bool OpenFlipper::Options::currentTextureDir ( QString  _dir)

Sets the Path to the current texture-directory.

Definition at line 355 of file GlobalOptions.cc.

◆ currentTextureDirStr()

DLLEXPORT QString OpenFlipper::Options::currentTextureDirStr ( )

return the current texture-directory

Definition at line 292 of file GlobalOptions.cc.

◆ currentViewMode() [1/2]

DLLEXPORT QString OpenFlipper::Options::currentViewMode ( )

Which mode should is currently selected?

Which view mode is currently selected?

Definition at line 707 of file GlobalOptions.cc.

◆ currentViewMode() [2/2]

DLLEXPORT void OpenFlipper::Options::currentViewMode ( QString  _mode)

Which view mode is currently selected?

Definition at line 712 of file GlobalOptions.cc.

◆ dataDir()

DLLEXPORT QDir OpenFlipper::Options::dataDir ( )

Returns the Path to the main data directory.

Definition at line 273 of file GlobalOptions.cc.

◆ dataDirStr()

DLLEXPORT QString OpenFlipper::Options::dataDirStr ( )

Returns the Path to the main data directory.

Definition at line 289 of file GlobalOptions.cc.

◆ debug() [1/2]

DLLEXPORT bool OpenFlipper::Options::debug ( )

Give extra debug information.

Definition at line 767 of file GlobalOptions.cc.

◆ debug() [2/2]

DLLEXPORT void OpenFlipper::Options::debug ( bool  _debug)

Give extra debug information.

Definition at line 771 of file GlobalOptions.cc.

◆ defaultColor() [1/2]

DLLEXPORT QColor OpenFlipper::Options::defaultColor ( )

Default color for objects.

Definition at line 729 of file GlobalOptions.cc.

◆ defaultColor() [2/2]

DLLEXPORT void OpenFlipper::Options::defaultColor ( QColor  _color)

Default color for objects.

Definition at line 725 of file GlobalOptions.cc.

◆ defaultDrawMode() [1/2]

DLLEXPORT void OpenFlipper::Options::defaultDrawMode ( ACG::SceneGraph::DrawModes::DrawMode  _mode,
int  _viewer 
)

Store defaultDrawMode setting.

Definition at line 561 of file GlobalOptions.cc.

◆ defaultDrawMode() [2/2]

DLLEXPORT ACG::SceneGraph::DrawModes::DrawMode OpenFlipper::Options::defaultDrawMode ( int  _viewer)

get defaultDrawMode setting

Definition at line 565 of file GlobalOptions.cc.

◆ defaultLockRotation() [1/2]

DLLEXPORT void OpenFlipper::Options::defaultLockRotation ( bool  _lock,
int  _viewer 
)

Store lockrotation setting.

Definition at line 625 of file GlobalOptions.cc.

◆ defaultLockRotation() [2/2]

DLLEXPORT bool OpenFlipper::Options::defaultLockRotation ( int  _viewer)

get lockrotation setting

Definition at line 630 of file GlobalOptions.cc.

◆ defaultPerspectiveProjectionMode() [1/2]

DLLEXPORT void OpenFlipper::Options::defaultPerspectiveProjectionMode ( bool  _mode,
int  _viewer 
)

Store defaultProjectionMode setting.

Perspective projection = true; Orthogonal Projection = false;

Definition at line 569 of file GlobalOptions.cc.

◆ defaultPerspectiveProjectionMode() [2/2]

DLLEXPORT bool OpenFlipper::Options::defaultPerspectiveProjectionMode ( int  _viewer)

get defaultProjectionMode setting

Definition at line 578 of file GlobalOptions.cc.

◆ defaultViewerLayout() [1/2]

DLLEXPORT int OpenFlipper::Options::defaultViewerLayout ( )

get defaultViewerLayout setting

Definition at line 656 of file GlobalOptions.cc.

◆ defaultViewerLayout() [2/2]

DLLEXPORT void OpenFlipper::Options::defaultViewerLayout ( int  _layout)

Store defaultViewerLayout setting.

Definition at line 652 of file GlobalOptions.cc.

◆ defaultViewingDirection() [1/2]

DLLEXPORT void OpenFlipper::Options::defaultViewingDirection ( int  _mode,
int  _viewer 
)

Store defaultViewingDirection setting.

Definition at line 599 of file GlobalOptions.cc.

◆ defaultViewingDirection() [2/2]

DLLEXPORT int OpenFlipper::Options::defaultViewingDirection ( int  _viewer)

get defaultViewingDirection setting

Definition at line 604 of file GlobalOptions.cc.

◆ deleteIniFile() [1/2]

DLLEXPORT bool OpenFlipper::Options::deleteIniFile ( )

Returns true if ini-file should be deleted on exit.

Definition at line 368 of file GlobalOptions.cc.

◆ deleteIniFile() [2/2]

DLLEXPORT void OpenFlipper::Options::deleteIniFile ( bool  _delete)

Set option to delete ini-files on exit.

Definition at line 364 of file GlobalOptions.cc.

◆ dirSeparator()

DLLEXPORT QString OpenFlipper::Options::dirSeparator ( )

Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )

Definition at line 253 of file GlobalOptions.cc.

◆ doSlotDebugging() [1/2]

DLLEXPORT bool OpenFlipper::Options::doSlotDebugging ( )

If you enable slot debugging, for some slots will be displayed who called them. Currently supported slots are:

  • updateView()
  • updated_objects( objectId )

Definition at line 853 of file GlobalOptions.cc.

◆ doSlotDebugging() [2/2]

DLLEXPORT void OpenFlipper::Options::doSlotDebugging ( bool  _debugging)

If you enable slot debugging, for some slots will be displayed who called them. Currently supported slots are:

  • updateView()
  • updated_objects( objectId )

Definition at line 849 of file GlobalOptions.cc.

◆ drawModesInContextMenu() [1/2]

DLLEXPORT bool OpenFlipper::Options::drawModesInContextMenu ( )

Get the flag if a drawMode Menu should always be visible in the context menu.

Definition at line 674 of file GlobalOptions.cc.

◆ drawModesInContextMenu() [2/2]

DLLEXPORT void OpenFlipper::Options::drawModesInContextMenu ( bool  _show)

Set the flag if a drawMode Menu should always be visible in the context menu.

Definition at line 678 of file GlobalOptions.cc.

◆ enableBackup()

DLLEXPORT void OpenFlipper::Options::enableBackup ( bool  _enableBackup)

Do backups?

Definition at line 779 of file GlobalOptions.cc.

◆ examinerWidgets()

DLLEXPORT unsigned int OpenFlipper::Options::examinerWidgets ( )

Number of examiner widgets.

Definition at line 682 of file GlobalOptions.cc.

◆ finishedStartup()

DLLEXPORT void OpenFlipper::Options::finishedStartup ( )

Set status to startup complete.

Definition at line 318 of file GlobalOptions.cc.

◆ fontsDir()

DLLEXPORT QDir OpenFlipper::Options::fontsDir ( )

Returns the Path to Fonts.

Definition at line 271 of file GlobalOptions.cc.

◆ fontsDirStr()

DLLEXPORT QString OpenFlipper::Options::fontsDirStr ( )

Returns the Path to Fonts.

Definition at line 287 of file GlobalOptions.cc.

◆ getGlobalIniFullPath()

DLLEXPORT QString OpenFlipper::Options::getGlobalIniFullPath ( )

Get the path of the global options file.

Definition at line 295 of file GlobalOptions.cc.

◆ getLocalIniFullPath()

DLLEXPORT QString OpenFlipper::Options::getLocalIniFullPath ( )

Get the path of the local options file.

Definition at line 300 of file GlobalOptions.cc.

◆ glStereo() [1/2]

DLLEXPORT bool OpenFlipper::Options::glStereo ( )

get current opengl stereo setting

will be set in core is opengl stereo is supported

Definition at line 480 of file GlobalOptions.cc.

◆ glStereo() [2/2]

DLLEXPORT void OpenFlipper::Options::glStereo ( bool  _glStereo,
bool  _temporary 
)

Store opengl stereo mode setting.

Store opengl stereo support setting.

Definition at line 464 of file GlobalOptions.cc.

◆ glStereoRequested()

DLLEXPORT bool OpenFlipper::Options::glStereoRequested ( )

get the glStereo flag that was used to request the opengl context

will be set in core is opengl stereo is supported

Definition at line 488 of file GlobalOptions.cc.

◆ glVersion() [1/2]

DLLEXPORT QPair< int, int > OpenFlipper::Options::glVersion ( )

get opengl version setting

Definition at line 417 of file GlobalOptions.cc.

◆ glVersion() [2/2]

DLLEXPORT void OpenFlipper::Options::glVersion ( const QPair< int, int > &  _version,
bool  _temporary 
)

Store opengl version setting.

set opengl version setting

Definition at line 430 of file GlobalOptions.cc.

◆ gui()

DLLEXPORT bool OpenFlipper::Options::gui ( )

get if a gui should be visible or not

Definition at line 383 of file GlobalOptions.cc.

◆ helpDirStr()

DLLEXPORT QString OpenFlipper::Options::helpDirStr ( )

Returns the Path to Help.

Definition at line 288 of file GlobalOptions.cc.

◆ iconDir()

DLLEXPORT QDir OpenFlipper::Options::iconDir ( )

Returns the Path to the Icons.

Definition at line 269 of file GlobalOptions.cc.

◆ iconDirStr()

DLLEXPORT QString OpenFlipper::Options::iconDirStr ( )

Returns the Path to the Icons.

Definition at line 285 of file GlobalOptions.cc.

◆ initializeSettings()

DLLEXPORT bool OpenFlipper::Options::initializeSettings ( )

Internal function called by the core to connect to the program options.

Definition at line 866 of file GlobalOptions.cc.

◆ is32bit()

DLLEXPORT bool OpenFlipper::Options::is32bit ( )

Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )

Definition at line 233 of file GlobalOptions.cc.

◆ is64bit()

DLLEXPORT bool OpenFlipper::Options::is64bit ( )

Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )

Definition at line 232 of file GlobalOptions.cc.

◆ isDarwin()

DLLEXPORT bool OpenFlipper::Options::isDarwin ( )

Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )

Definition at line 243 of file GlobalOptions.cc.

◆ isLinux()

DLLEXPORT bool OpenFlipper::Options::isLinux ( )

Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )

Definition at line 235 of file GlobalOptions.cc.

◆ isWindows()

DLLEXPORT bool OpenFlipper::Options::isWindows ( )

Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )

Definition at line 239 of file GlobalOptions.cc.

◆ lang()

DLLEXPORT QString OpenFlipper::Options::lang ( )

Returns the LANG environment variable string.

Definition at line 248 of file GlobalOptions.cc.

◆ lastDataType() [1/2]

DLLEXPORT QString OpenFlipper::Options::lastDataType ( )

return last used dataType

Definition at line 742 of file GlobalOptions.cc.

◆ lastDataType() [2/2]

DLLEXPORT void OpenFlipper::Options::lastDataType ( QString  _type)

set the last used dataType

Definition at line 747 of file GlobalOptions.cc.

◆ licenseDir()

DLLEXPORT QDir OpenFlipper::Options::licenseDir ( )

Returns the Path to the License files.

Definition at line 267 of file GlobalOptions.cc.

◆ licenseDirStr()

DLLEXPORT QString OpenFlipper::Options::licenseDirStr ( )

Returns the Path to the License files.

Definition at line 283 of file GlobalOptions.cc.

◆ loadingRecentFile() [1/2]

DLLEXPORT bool OpenFlipper::Options::loadingRecentFile ( )

currently loading recent file ?

Definition at line 809 of file GlobalOptions.cc.

◆ loadingRecentFile() [2/2]

DLLEXPORT void OpenFlipper::Options::loadingRecentFile ( bool  _loadingRecentFile)

currently loading recent file ?

Definition at line 813 of file GlobalOptions.cc.

◆ loggerState() [1/2]

DLLEXPORT LoggerState OpenFlipper::Options::loggerState ( )

Current state of the logging window?

What is the current state of the logging widget?

Definition at line 695 of file GlobalOptions.cc.

◆ loggerState() [2/2]

DLLEXPORT void OpenFlipper::Options::loggerState ( LoggerState  _state)

Set to current.

Set the logging widget state.

Definition at line 690 of file GlobalOptions.cc.

◆ logToConsole() [1/2]

DLLEXPORT bool OpenFlipper::Options::logToConsole ( )

Log to console output?

Definition at line 759 of file GlobalOptions.cc.

◆ logToConsole() [2/2]

DLLEXPORT void OpenFlipper::Options::logToConsole ( bool  _logToConsole)

Log to console output?

Definition at line 763 of file GlobalOptions.cc.

◆ nogui() [1/2]

DLLEXPORT bool OpenFlipper::Options::nogui ( )

get if a gui should be visible or not

Definition at line 378 of file GlobalOptions.cc.

◆ nogui() [2/2]

DLLEXPORT void OpenFlipper::Options::nogui ( bool  _nogui)

Store if a gui should be visible or not.

Definition at line 373 of file GlobalOptions.cc.

◆ OpenFlipperIcon()

DLLEXPORT QIcon & OpenFlipper::Options::OpenFlipperIcon ( )

Returns the OpenFlipper Icon.

Definition at line 320 of file GlobalOptions.cc.

◆ OpenFlipperSettings()

DLLEXPORT OpenFlipperQSettings & OpenFlipperSettings ( )

QSettings object containing all program settings of OpenFlipper.

To get the settings use:
OpenFlipperSettings().value("<Key>").toDouble();
OpenFlipperSettings().value("<Key>").toBool();

To change settings do:
OpenFlipperSettings().setValue("<Key>","<Value>");
For detailed info about the values see the documentation of QSettings and the QVariant.

Note
For each of your plugins, the key has to start with your plugin name!!!

The following entries are available through the settings:

User Interface Settings

  • Core/Gui/glViewer/defaultBackgroundColor This controls the default background color of the glViewer (QColor)
  • Core/Gui/glViewer/showControlWheels This setting controls if the control wheels should be visible in the glViewer (bool)
  • Core/Gui/glViewer/glMouse This setting controls if the mouse is rendered in OpenGL or in the window manager(bool)
  • Core/Gui/glViewer/stereoMousePick This setting controls if the mouse depth is picked in stereo mode(bool)
  • Core/Gui/glViewer/restrictFrameRate This setting controls if the maximum frame rate should be restricted (bool)
  • Core/Gui/glViewer/maxFrameRate If restrictFrameRate is set to yes, this setting controls the maximum frameRate used (unsigned int)
  • Core/Gui/glViewer/useMultipleViewers Use only one viewer or automatically generate multiple viewers (bool)
  • Core/Gui/glViewer/minimalSceneSize The minimal scene radius. If the scene is smaller, than the size will be set to this value (double)
  • Core/Gui/ToolBoxes/hidden Hide the toolbox sidebar (bool)
  • Core/Gui/ToolBoxes/ToolBoxOnTheRight Toolbox on the right or on the left (bool)
  • Core/Gui/ToolBars/PickToolbarInScene Render picking toolbar into gl scene or as toolbox into main widget
  • Core/Gui/TaskSwitcher/Hide Show or Hide the task switcher(bool)
  • Core/Gui/LogWindow/LogWindowMode Log Window Mode .. 0 InScene, 1 Window, 2 Hidden (int)
  • Core/Gui/LogWindow/OpenMeshErrors Log OpenMesh Errors? (bool)
  • Core/Gui/splash This setting controls if the splash screen is shown at startup(bool)
  • Core/Gui/fullscreen Show OpenFlipper in Fullscreen Mode(bool)
  • Core/Projection/FOVY Field of view for projection matrix in perspective mode(double)
    User Interface Settings for each of the viewers
  • Viewer<viewer>/perspectiveProjection Orthogonal = false,Perspective = true (bool)
  • Viewer<viewer>/defaultViewingDirection 0:VIEW_FREE; 1:VIEW_TOP; 2:VIEW_BOTTOM; 3:VIEW_LEFT; 4:VIEW_RIGHT; 5:VIEW_FRONT; 6:VIEW_BACK (int)
  • Viewer<viewer>/defaultLockRotation true: locked , false: unlocked (bool)
  • Viewer<viewer>/Animation true: enabled, false: disabled (bool)
  • Viewer<viewer>/BackfaceCulling true: enabled, false: disabled (bool)
  • Viewer<viewer>/TwoSidedLighting true: enabled, false: disabled (bool)
  • Viewer<viewer>/BackgroundColor Color of the viewer background (QColor)
  • Viewer<viewer>/DefaultRenderer Name of the default Renderer (QString)
    File Handling
  • Core/CurrentDir The current Directory of the Application
  • Core/File/RecentFiles List of Recent Files
  • Core/File/RecentTypes DataTypes of Recent Files
  • Core/File/MaxRecent Maximum entries in recent File list
  • Core/File/UseLoadDefaults Use the defaults saved in the file plugins
    Log Settings
  • Core/Log/Logfile This is the location of the log file
  • Core/Log/logFileEnabled This controls, if logging to file is enabled(bool)
    Language Settings
  • Core/Language/Translation This is the translation to use ( default is en_US)
    Update Settings
  • Core/Update/UserName Update UserName
  • Core/Update/Pass Update Password
  • Core/Update/URL Update URL

Mouse Controls

  • Core/Mouse/Wheel/ZoomFactor Zoom factor used when turning the mouse wheel (double)
  • Core/Mouse/Wheel/ZoomFactorShift Zoom factor used when turning the mouse wheel while shift is pressed (makes zoom slower while shift is pressed) (double)
  • Core/Mouse/Wheel/Invert Invert mouse wheel zoom direction (bool)
    General Stereo Settings
  • Core/Stereo/EyeDistance Distance between eyes. Defaults to 7 cm (double)
  • Core/Stereo/FocalDistance Focal distance. Defaults to center of scene (double)

    Philips stereo display settings
  • Core/Stereo/Philips/Content Philips stereo header content type (int)
  • Core/Stereo/Philips/Factor Philips stereo header factor (int)
  • Core/Stereo/Philips/Offset Philips stereo header offset cc (int)
  • Core/Stereo/Philips/Select Philips stereo header select (int)

    Rendering debugger Settings
  • Core/Debug/Picking/RenderPicking Enable picking rendering (bool)
  • Core/Debug/Picking/RenderPickingMode The Mode used for picking rendering(QString)
  • Core/Debug/Picking/RenderDepthImage Renders the depth buffer as a grayscale image (bool)

    Anaglyph stereo mode settings:

Definition at line 1053 of file GlobalOptions.cc.

◆ optionFiles()

DLLEXPORT QStringList OpenFlipper::Options::optionFiles ( )

returns a list of all available option files OpenFlipper uses a global option file, next to the Application and a local options file in the users home directory

Definition at line 305 of file GlobalOptions.cc.

◆ pluginDir()

DLLEXPORT QDir OpenFlipper::Options::pluginDir ( )

Returns the Path to the Standard Plugins.

Definition at line 264 of file GlobalOptions.cc.

◆ pluginDirStr()

DLLEXPORT QString OpenFlipper::Options::pluginDirStr ( )

Returns the Path to the Standard Plugins.

Definition at line 280 of file GlobalOptions.cc.

◆ randomDefaultColor() [1/2]

DLLEXPORT bool OpenFlipper::Options::randomDefaultColor ( )

use randomized color as default for objects

Definition at line 737 of file GlobalOptions.cc.

◆ randomDefaultColor() [2/2]

DLLEXPORT void OpenFlipper::Options::randomDefaultColor ( bool  _random)

use randomized color as default for objects

Definition at line 733 of file GlobalOptions.cc.

◆ redrawDisabled() [1/2]

DLLEXPORT bool OpenFlipper::Options::redrawDisabled ( )

get disableRedraw setting

Definition at line 670 of file GlobalOptions.cc.

◆ redrawDisabled() [2/2]

DLLEXPORT void OpenFlipper::Options::redrawDisabled ( bool  disable)

Store disableRedraw setting.

Definition at line 660 of file GlobalOptions.cc.

◆ remoteControl() [1/2]

DLLEXPORT bool OpenFlipper::Options::remoteControl ( )

is the core remoteControlled?

Definition at line 833 of file GlobalOptions.cc.

◆ remoteControl() [2/2]

DLLEXPORT void OpenFlipper::Options::remoteControl ( bool  _remote)

is the core remoteControlled?

Definition at line 837 of file GlobalOptions.cc.

◆ remoteControlPort() [1/2]

DLLEXPORT int OpenFlipper::Options::remoteControlPort ( )

Get the remote control port.

Definition at line 841 of file GlobalOptions.cc.

◆ remoteControlPort() [2/2]

DLLEXPORT void OpenFlipper::Options::remoteControlPort ( int  _remotePort)

Set the remote control port.

Definition at line 845 of file GlobalOptions.cc.

◆ samples() [1/2]

DLLEXPORT int OpenFlipper::Options::samples ( )

Get opengl MSAA sample count.

Definition at line 456 of file GlobalOptions.cc.

◆ samples() [2/2]

DLLEXPORT void OpenFlipper::Options::samples ( int  _samples,
bool  _temporary 
)

Store opengl MSAA sample count.

Definition at line 445 of file GlobalOptions.cc.

◆ savingSettings() [1/2]

DLLEXPORT bool OpenFlipper::Options::savingSettings ( )

currently saving Settings ?

Definition at line 801 of file GlobalOptions.cc.

◆ savingSettings() [2/2]

DLLEXPORT void OpenFlipper::Options::savingSettings ( bool  _savingSettings)

currently saving Settings ?

Definition at line 805 of file GlobalOptions.cc.

◆ sceneGraphUpdatesBlocked()

DLLEXPORT bool OpenFlipper::Options::sceneGraphUpdatesBlocked ( )

Updates currently blocked?

Definition at line 794 of file GlobalOptions.cc.

◆ scriptDir()

DLLEXPORT QDir OpenFlipper::Options::scriptDir ( )

Returns the Path to the Scripts.

Definition at line 268 of file GlobalOptions.cc.

◆ scriptDirStr()

DLLEXPORT QString OpenFlipper::Options::scriptDirStr ( )

Returns the Path to the Scripts.

Definition at line 284 of file GlobalOptions.cc.

◆ scripting() [1/2]

DLLEXPORT bool OpenFlipper::Options::scripting ( )

Scripting status. If this flag is set to true, you should not call functions for multiple objects. Or do remote procedure calls to functions which add scripting commands. As this might call functions twice when executed via scripts. See the scripting plugin for additional information

Definition at line 751 of file GlobalOptions.cc.

◆ scripting() [2/2]

DLLEXPORT void OpenFlipper::Options::scripting ( bool  _status)

Toggle scripting status (normally done by the Scripting plugin only)

Definition at line 755 of file GlobalOptions.cc.

◆ shaderDir()

DLLEXPORT QDir OpenFlipper::Options::shaderDir ( )

Returns the Path to the shaders.

Definition at line 265 of file GlobalOptions.cc.

◆ shaderDirStr()

DLLEXPORT QString OpenFlipper::Options::shaderDirStr ( )

Returns the Path to the Shader directory.

Definition at line 281 of file GlobalOptions.cc.

◆ startup()

DLLEXPORT bool OpenFlipper::Options::startup ( )

Returns if the system is currently in a startup phase.

Definition at line 316 of file GlobalOptions.cc.

◆ stereo() [1/2]

DLLEXPORT bool OpenFlipper::Options::stereo ( )

get current stereo setting

get current stereo support setting

Definition at line 393 of file GlobalOptions.cc.

◆ stereo() [2/2]

DLLEXPORT void OpenFlipper::Options::stereo ( bool  _stereo)

Store stereo setting.

Store stereo support setting.

Definition at line 388 of file GlobalOptions.cc.

◆ stereoMode() [1/2]

DLLEXPORT StereoMode OpenFlipper::Options::stereoMode ( )

get current stereo mode setting

Definition at line 498 of file GlobalOptions.cc.

◆ stereoMode() [2/2]

DLLEXPORT void OpenFlipper::Options::stereoMode ( StereoMode  _mode)

Store stereo mode setting.

Definition at line 493 of file GlobalOptions.cc.

◆ synchronization() [1/2]

DLLEXPORT bool OpenFlipper::Options::synchronization ( )

get current synchronization setting

Definition at line 557 of file GlobalOptions.cc.

◆ synchronization() [2/2]

DLLEXPORT void OpenFlipper::Options::synchronization ( bool  _synchronization)

Store synchronization mode setting.

Store synchronization setting.

Definition at line 552 of file GlobalOptions.cc.

◆ textureDir()

DLLEXPORT QDir OpenFlipper::Options::textureDir ( )

Returns the Path to the Textures.

Definition at line 266 of file GlobalOptions.cc.

◆ textureDirStr()

DLLEXPORT QString OpenFlipper::Options::textureDirStr ( )

Returns the Path to the Textures.

Definition at line 282 of file GlobalOptions.cc.

◆ translationsDir()

DLLEXPORT QDir OpenFlipper::Options::translationsDir ( )

Returns the Path to the translation files.

Definition at line 270 of file GlobalOptions.cc.

◆ translationsDirStr()

DLLEXPORT QString OpenFlipper::Options::translationsDirStr ( )

Returns the Path to the translation files.

Definition at line 286 of file GlobalOptions.cc.

◆ unblockSceneGraphUpdates()

DLLEXPORT void OpenFlipper::Options::unblockSceneGraphUpdates ( )

unblockUpdates

Definition at line 787 of file GlobalOptions.cc.

◆ windowTitle() [1/2]

DLLEXPORT QString OpenFlipper::Options::windowTitle ( )

Titel of the main window.

Definition at line 717 of file GlobalOptions.cc.

◆ windowTitle() [2/2]

DLLEXPORT void OpenFlipper::Options::windowTitle ( QString  _titel)

Set title of the main window.

Definition at line 721 of file GlobalOptions.cc.