22 #ifndef EDGEEXTREMITYGLYPHMANAGER_H_
23 #define EDGEEXTREMITYGLYPHMANAGER_H_
27 #include <tulip/tulipconf.h>
28 #include <tulip/MutableContainer.h>
31 class GlGraphInputData;
32 class EdgeExtremityGlyph;
35 class TLP_GL_SCOPE EdgeExtremityGlyphManager {
38 virtual ~EdgeExtremityGlyphManager() {
44 static EdgeExtremityGlyphManager &getInst() {
46 eeinst =
new EdgeExtremityGlyphManager();
54 std::string glyphName(
int id);
58 int glyphId(std::string name);
62 void loadGlyphPlugins();
67 void initGlyphList(Graph **graph, GlGraphInputData* glGraphInputData,
68 MutableContainer<EdgeExtremityGlyph *>& glyphs);
72 void clearGlyphList(Graph **graph, GlGraphInputData* glGraphInputData,
73 MutableContainer<EdgeExtremityGlyph *>& glyphs);
75 static const int NoEdgeExtremetiesId;
79 EdgeExtremityGlyphManager();
81 static EdgeExtremityGlyphManager* eeinst;