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 {
42 GlMetaNodeRenderer(GlGraphInputData *inputData);
44 virtual ~GlMetaNodeRenderer();
46 virtual void render(node,
float,Camera*);
48 virtual void setInputData(GlGraphInputData *inputData);
50 virtual GlGraphInputData *getInputData()
const;
52 GlScene* getSceneForMetaGraph(Graph *g)
const;
58 void treatEvent(
const Event&);
60 virtual GlScene* createScene(Graph*)
const;
64 GlGraphInputData *_inputData;
65 std::map<Graph *,GlScene *> _metaGraphToSceneMap;
71 #endif // Tulip_GLMETANODERENDERER_H