provide usefull utilities More...
#include <QMutex>#include <QtOpenGL>#include <QList>#include <QVector>#include <QHash>#include "glc_config.h"Go to the source code of this file.
Namespaces | |
| namespace | glc |
Define render mode enum in glc namespace. | |
Defines | |
| #define | GLC_VERSION "2.0.0" |
| #define | GLC_DESCRIPTION "GLC_lib is a Open Source C++ class library that enables the quick creation of an OpenGL application based on QT4." |
Typedefs | |
| typedef unsigned int | GLC_uint |
| Type used for all GLC_lib ID. | |
| typedef QVector< GLfloat > | GLfloatVector |
| Types used for Bulk Opengl Data : QVector of GLfloat. | |
| typedef QVector< GLuint > | GLuintVector |
| Types used for index Opengl Data : QVector of GLuint. | |
| typedef QList< GLuint > | IndexList |
| typedef QVector< GLsizei > | IndexSizes |
| typedef QVector< GLvoid * > | OffsetVector |
| typedef QVector< GLuint > | OffsetVectori |
Enumerations | |
| enum | glc::WidgetEventFlag { glc::AcceptEvent, glc::IgnoreEvent, glc::BlockedEvent } |
3D widget event flag More... | |
Functions | |
| GLC_LIB_EXPORT GLC_uint | glc::GLC_GenID (void) |
| Simple ID generation. | |
| GLC_LIB_EXPORT GLC_uint | glc::GLC_GenGeomID (void) |
| Simple Geom ID generation. | |
| GLC_LIB_EXPORT GLC_uint | glc::GLC_GenUserID (void) |
| Simple User ID generation. | |
| GLC_LIB_EXPORT GLC_uint | glc::GLC_Gen3DWidgetID (void) |
| Simple 3D widget ID generation. | |
| GLC_uint | glc::decodeRgbId (const GLubyte *) |
| Return the GLC_uint decoded ID from RGB encoded ID. | |
| void | glc::encodeRgbId (GLC_uint, GLubyte *) |
| Return the encoded color of the id. | |
| GLC_LIB_EXPORT const QString | glc::archivePrefix () |
| Return GLC_lib Archive prefix string. | |
| GLC_LIB_EXPORT const QString | glc::archiveInfix () |
| Return GLC_lib Archive infix string. | |
| GLC_LIB_EXPORT bool | glc::isArchiveString (const QString &fileName) |
| Return true if the given file name is in a archive string. | |
| GLC_LIB_EXPORT QString | glc::builtArchiveString (const QString &Archive, const QString &entry) |
| Return archive string form the given archive fileName and fileName entry. | |
| GLC_LIB_EXPORT QString | glc::archiveFileName (const QString &archiveString) |
| Return Archive filename from the given archive string. | |
| GLC_LIB_EXPORT QString | glc::archiveEntryFileName (const QString &archiveString) |
| Return Archive entry filname from the given archive string. | |
Variables | |
| const int | glc::GLC_DISCRET = 70 |
| const int | glc::GLC_POLYDISCRET = 60 |
| QMutex | glc::iDMutex |
| QMutex | glc::geomIdMutex |
| QMutex | glc::userIdMutex |
| QMutex | glc::widget3dIdMutex |
provide usefull utilities
Definition in file glc_global.h.
| #define GLC_DESCRIPTION "GLC_lib is a Open Source C++ class library that enables the quick creation of an OpenGL application based on QT4." |
Definition at line 135 of file glc_global.h.
| #define GLC_VERSION "2.0.0" |
Definition at line 134 of file glc_global.h.
| typedef unsigned int GLC_uint |
Type used for all GLC_lib ID.
Definition at line 40 of file glc_global.h.
| typedef QVector<GLfloat> GLfloatVector |
Types used for Bulk Opengl Data : QVector of GLfloat.
Definition at line 43 of file glc_global.h.
| typedef QVector<GLuint> GLuintVector |
Types used for index Opengl Data : QVector of GLuint.
Definition at line 46 of file glc_global.h.
| typedef QList<GLuint> IndexList |
Definition at line 48 of file glc_global.h.
| typedef QVector<GLsizei> IndexSizes |
Definition at line 49 of file glc_global.h.
| typedef QVector<GLvoid*> OffsetVector |
Definition at line 50 of file glc_global.h.
| typedef QVector<GLuint> OffsetVectori |
Definition at line 51 of file glc_global.h.