MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Typedefs | Functions
Misc.hpp File Reference

Misc. More...

#include <Config.hpp>
#include <GL.hpp>
#include <Color.hpp>
#include <EdgeData.hpp>
#include <MGXViewer/qglviewer.h>
#include <Vector.hpp>
#include <VertexData.hpp>
#include <VVGraph.hpp>
#include <QDir>
#include <QList>
#include <QtGui>

Go to the source code of this file.

Namespaces

 mgx
 This namespace contains all the API of MorphoGraphX.
 

Typedefs

typedef util::Vector< 3, GLuint > mgx::Point3GLui
 
typedef util::Vector< 4, GLuint > mgx::Point4GLui
 
typedef util::Vector< 4, GLubyte > mgx::Point4GLub
 

Functions

mgx_EXPORT QDir mgx::util::resourcesDir ()
 Returns resource directory.
 
mgx_EXPORT QDir mgx::util::userProcessesDir ()
 Returns user processes directory.
 
mgx_EXPORT QList< QDirmgx::util::processesDirs ()
 Returns processes directory.
 
mgx_EXPORT QDir mgx::util::libsDir ()
 Returns the libraries directory.
 
mgx_EXPORT QDir mgx::util::includesDir ()
 Returns the includes directory.
 
mgx_EXPORT QDir mgx::util::docsDir ()
 Returns the documentation directory.
 
Point3GLub mgx::util::vMapColor (uint u)
 Map unique colors to indices.
 
uint mgx::util::vMapColor (Point3GLub &p)
 Map unique colors to indices.
 
QString mgx::util::shield (QString s)
 Create representation of a string that can be written in a single line, without spaces.
 
QString mgx::util::unshield (QString s)
 Retrieve a string that has been shielded with shield.
 
QString mgx::util::shield_python (QString s)
 Shield a string to send it to the python interpreter.
 
QString mgx::util::unshield_python (QString s)
 Retrieve a string that is retrieved from the python representation.
 

Detailed Description

Misc.

definitions and utilities