21 #ifndef Tulip_GLMETANODERENDERER_H 22 #define Tulip_GLMETANODERENDERER_H 24 #include <tulip/tulipconf.h> 25 #include <tulip/Observable.h> 30 class GlGraphInputData;
38 class TLP_GL_SCOPE GlMetaNodeRenderer :
public Observable {
41 GlMetaNodeRenderer(GlGraphInputData *inputData);
43 ~GlMetaNodeRenderer()
override;
45 virtual void render(node,
float, Camera *);
47 virtual void setInputData(GlGraphInputData *inputData);
49 virtual GlGraphInputData *getInputData()
const;
51 GlScene *getSceneForMetaGraph(Graph *g)
const;
56 void treatEvent(
const Event &)
override;
58 virtual GlScene *createScene(Graph *)
const;
61 GlGraphInputData *_inputData;
62 std::map<Graph *, GlScene *> _metaGraphToSceneMap;
66 #endif // Tulip_GLMETANODERENDERER_H