21 #ifndef Tulip_ExtendedMetaNodeRenderer_H
22 #define Tulip_ExtendedMetaNodeRenderer_H
24 #include <tulip/tulipconf.h>
26 #include <tulip/GlMetaNodeRenderer.h>
27 #include <tulip/GlMainView.h>
31 class GlGraphInputData;
36 class TLP_QT_SCOPE ExtendedMetaNodeRenderer :
public GlMetaNodeRenderer,
public Observable {
40 ExtendedMetaNodeRenderer(GlGraphInputData *inputData);
41 virtual ~ExtendedMetaNodeRenderer();
43 virtual void render(node n,
float lod,Camera* camera);
45 virtual void setInputData(GlGraphInputData *data) {
49 virtual GlGraphInputData *getInputData() {
60 void treatEvent(
const Event&);
69 virtual GlMainView* createView(Graph* metaGraph)
const;
76 GlMainView* viewForGraph(Graph* metaGraph)
const;
81 GlGraphInputData *inputData;
82 std::map<Graph *,GlMainView *> metaGraphToViewMap;
88 #endif // Tulip_ExtendedMetaNodeRenderer_H