20 #ifndef Tulip_GLGRAPHRENDERER_H 21 #define Tulip_GLGRAPHRENDERER_H 23 #include <tulip/GlScene.h> 24 #include <tulip/tulipconf.h> 29 class GlGraphInputData;
64 virtual void draw(
float lod,
Camera *camera) = 0;
75 virtual void selectEntities(
Camera *camera, RenderingEntitiesFlag type,
int x,
int y,
int w,
76 int h, std::vector<SelectedEntity> &selectedEntities) = 0;
81 virtual void visitGraph(GlSceneVisitor *visitor,
bool visitHiddenEntities =
false);
87 this->graphModified = graphModified;
91 void visitNodes(
Graph *graph, GlSceneVisitor *visitor);
92 void visitEdges(
Graph *graph, GlSceneVisitor *visitor);
94 const GlGraphInputData *inputData;
98 bool selectionDrawActivate;
99 RenderingEntitiesFlag selectionType;
100 std::map<unsigned int, SelectedEntity> *selectionIdMap;
101 unsigned int *selectionCurrentId;
virtual ~GlGraphRenderer()
Destructor.
void setGraphModified(bool graphModified)
This function set if the content of the graph is modified.
Tulip OpenGL camera object.
Class used by GlGraphComposite to render the graph in OpenGL.