MorphoGraphX  2.0-1-227
Classes | Namespaces | Typedefs | Functions
Misc.hpp File Reference
#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 <QtCore>

Go to the source code of this file.

Classes

class  mgx::Guard
 

Namespaces

 mgx
 Distributed matrix library.
 

Typedefs

typedef VVGraph< VertexData, EdgeData > mgx::vvGraph
 Simpler names for the various containers and iterators related to vertices and VV. More...
 
typedef vvGraph::vertex_t mgx::vertex
 Type of a vertex. More...
 
typedef vvGraph::edge_t mgx::edge
 Type of an edge. More...
 
typedef Vector< 3, GLuint > mgx::Point3GLui
 
typedef Vector< 4, GLuint > mgx::Point4GLui
 
typedef Vector< 4, GLubyte > mgx::Point4GLub
 

Functions

mgx_EXPORT QDir mgx::resourceDir ()
 Returns resource directory. More...
 
mgx_EXPORT QList< QDir > mgx::userProcessDirs ()
 Returns user processes directory. More...
 
mgx_EXPORT QList< QDir > mgx::processDirs ()
 Returns processes directory. More...
 
mgx_EXPORT QDir mgx::libDir ()
 Returns the libraries directory. More...
 
mgx_EXPORT QDir mgx::includeDir ()
 Returns the includes directory. More...
 
mgx_EXPORT QDir mgx::docDir ()
 Returns the documentation directory. More...
 
Point3GLub mgx::vMapColor (uint u)
 Map unique colors to indices. More...
 
uint mgx::vMapColor (Point3GLub &p)
 Map unique colors to indices. More...
 
QString mgx::shield (QString s)
 Create representation of a string that can be written in a single line, without spaces. More...
 
QString mgx::unshield (QString s)
 Retrieve a string that has been shielded with shield. More...
 
QString mgx::shield_python (QString s)
 Shield a string to send it to the python interpreter. More...
 
QString mgx::unshield_python (QString s)
 Retrieve a string that is retrieved from the python representation. More...
 
Point3d mgx::stringToPoint3d (const QString &s)
 Convert a string to Point3d. More...
 
Point2f mgx::stringToPoint2f (const QString &s)
 
Point2i mgx::stringToPoint2i (const QString &s)
 
Point2u mgx::stringToPoint2u (const QString &s)
 
Point2d mgx::stringToPoint2d (const QString &s)
 
Point3u mgx::stringToPoint3u (const QString &s)
 
bool mgx::isGuiThread ()
 

Detailed Description

Misc. definitions and utilities

Definition in file Misc.hpp.