20 #ifndef Tulip_GLGRAPHRENDERER_H
21 #define Tulip_GLGRAPHRENDERER_H
23 #include <tulip/GlScene.h>
24 #include <tulip/tulipconf.h>
29 class GlGraphInputData;
63 virtual void draw(
float lod,
Camera* camera) = 0;
74 virtual void selectEntities(
Camera *camera,RenderingEntitiesFlag type,
int x,
int y,
int w,
int h, std::vector<SelectedEntity>& selectedEntities) = 0;
79 virtual void visitGraph(GlSceneVisitor *visitor,
bool visitHiddenEntities=
false);
85 this->graphModified=graphModified;
90 void visitNodes(
Graph *graph,GlSceneVisitor *visitor,
bool visitHiddenEntities=
false);
91 void visitEdges(
Graph *graph,GlSceneVisitor *visitor,
bool visitHiddenEntities=
false);
93 const GlGraphInputData* inputData;
97 bool selectionDrawActivate;
98 RenderingEntitiesFlag selectionType;
99 std::map<unsigned int, SelectedEntity> *selectionIdMap;
100 unsigned int *selectionCurrentId;