Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Global application settings controlling how Visualization Library behaves. More...
#include <VLSettings.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| VLSettings () | |
| void | setCheckOpenGLStates (bool check_clean) |
If true VL checks at the beginning of each rendering that the OpenGL states are clean and ready to be used by VL. | |
| bool | checkOpenGLStates () const |
If true VL checks at the beginning of each rendering that the OpenGL states are clean and ready to be used by VL. | |
| void | setVerbosityLevel (EVerbosityLevel verb_level) |
| The verbosity level of VL. | |
| EVerbosityLevel | verbosityLevel () const |
| The verbosity level of VL. | |
| const String & | defaultLogPath () const |
| The path of the default log file. | |
| const String & | defaultDataPath () const |
| The path of the default data directory. | |
Protected Attributes | |
| EVerbosityLevel | mVerbosityLevel |
| bool | mCheckOpenGLStates |
| String | mDefaultLogPath |
| String | mDefaultDataPath |
Friends | |
| class | VisualizationLibrary |
Global application settings controlling how Visualization Library behaves.
Definition at line 41 of file VLSettings.hpp.
| VLSettings::VLSettings | ( | ) |
Definition at line 39 of file VLSettings.cpp.
References mCheckOpenGLStates, mDefaultDataPath, mDefaultLogPath, mVerbosityLevel, setCheckOpenGLStates(), setVerbosityLevel(), vl::VEL_VERBOSITY_DEBUG, vl::VEL_VERBOSITY_ERROR, vl::VEL_VERBOSITY_NORMAL, vl::VEL_VERBOSITY_SILENT, and VL_DEBUG_SET_OBJECT_NAME.
| virtual const char* vl::VLSettings::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::Object.
Definition at line 45 of file VLSettings.hpp.
| void vl::VLSettings::setCheckOpenGLStates | ( | bool | check_clean ) | [inline] |
If true VL checks at the beginning of each rendering that the OpenGL states are clean and ready to be used by VL.
If the test fails it can mean that either there is a bug in VL or that the user did not restore the OpenGL states to a VL friendly state after modifying them.
Definition at line 54 of file VLSettings.hpp.
Referenced by VLSettings().
| bool vl::VLSettings::checkOpenGLStates | ( | ) | const [inline] |
If true VL checks at the beginning of each rendering that the OpenGL states are clean and ready to be used by VL.
If the test fails it can mean that either there is a bug in VL or that the user did not restore the OpenGL states to a VL friendly state after modifying them.
Definition at line 61 of file VLSettings.hpp.
| void vl::VLSettings::setVerbosityLevel | ( | EVerbosityLevel | verb_level ) | [inline] |
The verbosity level of VL.
This applies to all the logs generated via vl::Log::*.
Definition at line 64 of file VLSettings.hpp.
Referenced by VLSettings().
| EVerbosityLevel vl::VLSettings::verbosityLevel | ( | ) | const [inline] |
The verbosity level of VL.
This applies to all the logs generated via vl::Log::*.
Definition at line 67 of file VLSettings.hpp.
| const String& vl::VLSettings::defaultLogPath | ( | ) | const [inline] |
The path of the default log file.
Definition at line 70 of file VLSettings.hpp.
| const String& vl::VLSettings::defaultDataPath | ( | ) | const [inline] |
The path of the default data directory.
Definition at line 73 of file VLSettings.hpp.
friend class VisualizationLibrary [friend] |
Definition at line 43 of file VLSettings.hpp.
EVerbosityLevel vl::VLSettings::mVerbosityLevel [protected] |
Definition at line 76 of file VLSettings.hpp.
Referenced by VLSettings().
bool vl::VLSettings::mCheckOpenGLStates [protected] |
Definition at line 77 of file VLSettings.hpp.
Referenced by VLSettings().
String vl::VLSettings::mDefaultLogPath [protected] |
Definition at line 78 of file VLSettings.hpp.
Referenced by VLSettings().
String vl::VLSettings::mDefaultDataPath [protected] |
Definition at line 79 of file VLSettings.hpp.
Referenced by VLSettings().