22 #ifndef GLYPHPREVIEWGENERATOR_H
23 #define GLYPHPREVIEWGENERATOR_H
29 #include <tulip/tulipconf.h>
30 #include <tulip/Node.h>
31 #include <tulip/Edge.h>
40 class TLP_QT_SCOPE GlyphRenderer {
42 static GlyphRenderer & getInst();
47 QPixmap render(
unsigned int pluginId);
51 static GlyphRenderer* _instance;
52 std::map<unsigned int,QPixmap> _previews;
60 class TLP_QT_SCOPE EdgeExtremityGlyphRenderer {
63 ~EdgeExtremityGlyphRenderer();
64 static EdgeExtremityGlyphRenderer & getInst();
68 QPixmap render(
unsigned int pluginId);
71 EdgeExtremityGlyphRenderer();
72 static EdgeExtremityGlyphRenderer* _instance;
73 std::map<unsigned int,QPixmap> _previews;
79 #endif // GLYPHPREVIEWGENERATOR_H
The edge struct represents an edge in a Graph object.
The node struct represents a node in a Graph object.