13 #include <MGXViewer/qglviewer.h>
31 template class mgx_EXPORT graph::Vertex<VertexData>;
32 template class mgx_EXPORT graph::Edge<EdgeData>;
33 template class mgx_EXPORT graph::VVGraph<VertexData, EdgeData>;
37 typedef graph::VVGraph<VertexData, EdgeData>
vvgraph;
40 typedef vvgraph::vertex_t
vertex;
46 typedef util::Vector<2, int> Point2i;
47 typedef util::Vector<3, GLuint> Point3GLui;
48 typedef util::Vector<4, GLuint> Point4GLui;
49 typedef util::Vector<3, GLubyte> Point3GLub;
50 typedef util::Vector<4, GLubyte> Point4GLub;
51 typedef util::Color<float> Colorf;
52 typedef util::Vector<3, float> Point3f;
56 mgx_EXPORT
QDir resourcesDir();
58 mgx_EXPORT
QDir userProcessesDir();
62 mgx_EXPORT
QDir libsDir();
64 mgx_EXPORT
QDir includesDir();
66 mgx_EXPORT
QDir docsDir();
69 inline Point3GLub vMapColor(uint u)
72 return (Point3GLub(u / (256 * 256), u / 256 % 256, u % 256));
76 inline uint vMapColor(Point3GLub& p) {
77 return ((
int(p.x()) * 256 * 256 +
int(p.y()) * 256 +
int(p.z())) - 1);
fromWCharArray(const wchar_t *string, int size=-1)
This file contains the definition of a vertex.
replace(int position, int n, const QString &after)
graph::VVGraph< VertexData, EdgeData > vvgraph
Type of the VV graph holding the actual mesh.
Definition: Mesh.hpp:36
This file contains the definition of an edge data.
vvgraph::vertex_t vertex
Type of a vertex.
Definition: Mesh.hpp:39
Edge< EdgeData > edge_t
Weak pointer on an edge.
Definition: VVGraph.hpp:81
Contain the definition of the VVGraph template class.
Defines the Color class template.
vvgraph::edge_t edge
Type of an edge.
Definition: Mesh.hpp:42
Defines the Vector class template This file is shared by cuda, do not include headers that nvcc can't...