21 #ifndef Tulip_GLYPHMANAGER_H 22 #define Tulip_GLYPHMANAGER_H 24 #ifndef DOXYGEN_NOTFOR_DEVEL 28 #include <tulip/tulipconf.h> 29 #include <tulip/Glyph.h> 30 #include <tulip/MutableContainer.h> 34 class GlGraphInputData;
40 class TLP_GL_SCOPE GlyphManager {
46 static GlyphManager &getInst() {
53 std::string glyphName(
int id);
57 int glyphId(
const std::string &name,
bool warnIfNotFound =
true);
61 void loadGlyphPlugins();
66 void initGlyphList(Graph **graph, GlGraphInputData *glGraphInputData,
67 MutableContainer<Glyph *> &glyphs);
71 void clearGlyphList(Graph **graph, GlGraphInputData *glGraphInputData,
72 MutableContainer<Glyph *> &glyphs);
77 static std::list<std::string> glyphList;
79 static GlyphManager inst;
83 #endif // DOXYGEN_NOTFOR_DEVEL 85 #endif // Tulip_GLYPHMANAGER_H