22 #ifndef EDGEEXTREMITYGLYPHMANAGER_H_
23 #define EDGEEXTREMITYGLYPHMANAGER_H_
26 #include <tulip/tulipconf.h>
27 #include <tulip/MutableContainer.h>
30 class GlGraphInputData;
31 class EdgeExtremityGlyph;
34 class TLP_GL_SCOPE EdgeExtremityGlyphManager {
37 virtual ~EdgeExtremityGlyphManager() {
43 static EdgeExtremityGlyphManager &getInst() {
45 eeinst =
new EdgeExtremityGlyphManager();
53 std::string glyphName(
int id);
57 int glyphId(std::string name);
61 void loadGlyphPlugins();
66 void initGlyphList(Graph **graph, GlGraphInputData* glGraphInputData,
67 MutableContainer<EdgeExtremityGlyph *>& glyphs);
71 void clearGlyphList(Graph **graph, GlGraphInputData* glGraphInputData,
72 MutableContainer<EdgeExtremityGlyph *>& glyphs);
74 static const int NoEdgeExtremetiesId;
78 EdgeExtremityGlyphManager();
80 static EdgeExtremityGlyphManager* eeinst;