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. | |
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 () |
| Simple ID generation. | |
| GLC_LIB_EXPORT GLC_uint | glc::GLC_GenGeomID () |
| Simple Geom ID generation. | |
| GLC_LIB_EXPORT GLC_uint | glc::GLC_GenUserID () |
| Simple User ID generation. | |
| GLC_LIB_EXPORT GLC_uint | glc::GLC_Gen3DWidgetID () |
| Simple 3D widget ID generation. | |
| GLC_LIB_EXPORT GLC_uint | glc::GLC_GenShaderGroupID () |
| Simple shading group 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 const QString | glc::filePrefix () |
| Return GLC_lib File prefix string. | |
| GLC_LIB_EXPORT const QString | glc::fileInfix () |
| Return GLC_lib File 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 bool | glc::isFileString (const QString &fileName) |
| Return true if the given file name is in a File 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::builtFileString (const QString &File, 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. | |
| const QString | glc::version ("2.2.0") |
| const QString | glc::description ("GLC_lib is a Open Source C++ class library that enables the quick creation of an OpenGL application based on QT4.") |
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 |
| QMutex | glc::shadingGroupIdMutex |
provide usefull utilities
Definition in file glc_global.h.
| typedef unsigned int GLC_uint |
Type used for all GLC_lib ID.
Definition at line 38 of file glc_global.h.
| typedef QVector<GLfloat> GLfloatVector |
Types used for Bulk Opengl Data : QVector of GLfloat.
Definition at line 41 of file glc_global.h.
| typedef QVector<GLuint> GLuintVector |
Types used for index Opengl Data : QVector of GLuint.
Definition at line 44 of file glc_global.h.
| typedef QList<GLuint> IndexList |
Definition at line 46 of file glc_global.h.
| typedef QVector<GLsizei> IndexSizes |
Definition at line 47 of file glc_global.h.
| typedef QVector<GLvoid*> OffsetVector |
Definition at line 48 of file glc_global.h.
| typedef QVector<GLuint> OffsetVectori |
Definition at line 49 of file glc_global.h.