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