Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Used to initialize/shutdown VisualizationLibrary and to access important global data. More...
#include <VisualizationLibrary.hpp>
Static Public Member Functions | |
| static VLGRAPHICS_EXPORT void | init (bool log_info=true) |
| Initializes VLCore and VLGraphics libraries. | |
| static VLGRAPHICS_EXPORT void | shutdown () |
| Releases all the resources acquired by VLCore and VLGraphics. | |
| static VLCORE_EXPORT void | initCore (bool log_info=true) |
| Initializes only VLCore library. | |
| static VLCORE_EXPORT void | shutdownCore () |
| Releases all the resources acquired by Visualization Library Core Call shutdownCore() instead of shutdown() ONLY when using VLCore alone. | |
| static VLCORE_EXPORT bool | isCoreInitialized () |
| Returns true if VLCore library is initialized and shutdown has not been called. | |
| static VLGRAPHICS_EXPORT bool | isGraphicsInitialized () |
| Returns true if VLGraphics library is initialized and shutdown has not been called. | |
| static VLCORE_EXPORT const char * | versionString () |
| Returns the Visualization Library's version string. | |
Used to initialize/shutdown VisualizationLibrary and to access important global data.
Definition at line 43 of file VisualizationLibrary.hpp.
| void VisualizationLibrary::init | ( | bool | log_info = true | ) | [static] |
Initializes VLCore and VLGraphics libraries.
Call initCore() instead of init() when using only VLCore.
Definition at line 300 of file init_graphics.cpp.
References initCore().
Referenced by main().
| void VisualizationLibrary::shutdown | ( | ) | [static] |
Releases all the resources acquired by VLCore and VLGraphics.
Call shutdownCore() instead of shutdown() when using only VLCore.
Definition at line 306 of file init_graphics.cpp.
References vl::Log::debug(), and shutdownCore().
Referenced by vlGLUT::atexit_visualization_library_shutdown().
| void VisualizationLibrary::initCore | ( | bool | log_info = true | ) | [static] |
Initializes only VLCore library.
Call initCore() instead of init() ONLY when using VLCore alone.
Definition at line 190 of file init_core.cpp.
References vl::Log::bug(), vl::FileSystem::directories(), vl::ref< T >::get(), vl::globalSettings(), vl::Log::logSystemInfo(), vl::registerLoadWriter(), vl::setDefLogger(), and VL_CHECK.
Referenced by init().
| void VisualizationLibrary::shutdownCore | ( | ) | [static] |
Releases all the resources acquired by Visualization Library Core Call shutdownCore() instead of shutdown() ONLY when using VLCore alone.
Definition at line 256 of file init_core.cpp.
References vl::globalSettings(), NULL, and vl::Log::print().
Referenced by shutdown().
| bool VisualizationLibrary::isCoreInitialized | ( | ) | [static] |
Returns true if VLCore library is initialized and shutdown has not been called.
Definition at line 100 of file init_core.cpp.
| bool VisualizationLibrary::isGraphicsInitialized | ( | ) | [static] |
Returns true if VLGraphics library is initialized and shutdown has not been called.
Definition at line 313 of file init_graphics.cpp.
Referenced by vl::FramebufferObject::removeAttachment().
| const char * VisualizationLibrary::versionString | ( | ) | [static] |
Returns the Visualization Library's version string.
Definition at line 102 of file init_core.cpp.