21 #ifndef GLYPHPREVIEWGENERATOR_H 22 #define GLYPHPREVIEWGENERATOR_H 28 #include <tulip/tulipconf.h> 29 #include <tulip/Node.h> 30 #include <tulip/Edge.h> 38 class TLP_QT_SCOPE GlyphRenderer {
40 static GlyphRenderer &getInst();
45 QPixmap render(
unsigned int pluginId);
49 static GlyphRenderer *_instance;
50 std::map<unsigned int, QPixmap> _previews;
58 class TLP_QT_SCOPE EdgeExtremityGlyphRenderer {
60 ~EdgeExtremityGlyphRenderer();
61 static EdgeExtremityGlyphRenderer &getInst();
65 QPixmap render(
unsigned int pluginId);
68 EdgeExtremityGlyphRenderer();
69 static EdgeExtremityGlyphRenderer *_instance;
70 std::map<unsigned int, QPixmap> _previews;
75 #endif // GLYPHPREVIEWGENERATOR_H
The edge struct represents an edge in a Graph object.
The node struct represents a node in a Graph object.