21 #ifndef Tulip_GLGRAPHHIGHDETAILSRENDERER_H
22 #define Tulip_GLGRAPHHIGHDETAILSRENDERER_H
24 #include <tulip/GlGraphRenderer.h>
43 class TLP_GL_SCOPE GlGraphHighDetailsRenderer :
public GlGraphRenderer {
47 GlGraphHighDetailsRenderer(
const GlGraphInputData *inputData);
48 GlGraphHighDetailsRenderer(
const GlGraphInputData *inputData,GlScene *scene);
50 ~GlGraphHighDetailsRenderer();
52 virtual void draw(
float lod,Camera* camera);
54 virtual void selectEntities(Camera *camera,RenderingEntitiesFlag type,
int x,
int y,
int w,
int h, std::vector<SelectedEntity>& selectedEntities);
58 void initSelectionRendering(RenderingEntitiesFlag type,
int x,
int y,
int w,
int h, std::map<unsigned int, SelectedEntity> &idMap,
unsigned int ¤tId);
60 void buildSortedList();
62 void drawLabelsForComplexEntities(
bool drawSelected,OcclusionTest *occlusionTest,LayerLODUnit &layerLODUnit);
64 GlLODCalculator *lodCalculator;
69 Vec4i selectionViewport;