21 #ifndef Tulip_GLGRAPHHIGHDETAILSRENDERER_H
22 #define Tulip_GLGRAPHHIGHDETAILSRENDERER_H
24 #include <tulip/GlGraphRenderer.h>
28 #include <tulip/Observable.h>
30 #include <tulip/GlGraphRenderingParameters.h>
31 #include <tulip/GlGraphInputData.h>
32 #include <tulip/GlNode.h>
33 #include <tulip/GlEdge.h>
34 #include <tulip/GlQuadTreeLODCalculator.h>
35 #include <tulip/GlScene.h>
51 class TLP_GL_SCOPE GlGraphHighDetailsRenderer :
public GlGraphRenderer {
55 GlGraphHighDetailsRenderer(
const GlGraphInputData *inputData);
56 GlGraphHighDetailsRenderer(
const GlGraphInputData *inputData,GlScene *scene);
58 ~GlGraphHighDetailsRenderer();
60 virtual void draw(
float lod,Camera* camera);
62 virtual void selectEntities(Camera *camera,RenderingEntitiesFlag type,
int ,
int ,
int ,
int , std::vector<SelectedEntity>& selectedEntities);
66 void initSelectionRendering(RenderingEntitiesFlag type,std::map<unsigned int, SelectedEntity> &idMap,
unsigned int ¤tId);
68 void buildSortedList();
70 void drawLabelsForComplexEntities(
bool drawSelected,OcclusionTest *occlusionTest,LayerLODUnit &layerLODUnit);
72 GlLODCalculator *lodCalculator;