21 #ifndef Tulip_GLLODSCENEVISITOR_H
22 #define Tulip_GLLODSCENEVISITOR_H
23 #ifndef DOXYGEN_NOTFOR_DEVEL
29 #include <tulip/BoundingBox.h>
31 #include <tulip/GlSceneVisitor.h>
35 class GlGraphInputData;
36 class GlLODCalculator;
41 class TLP_GL_SCOPE GlLODSceneVisitor :
public GlSceneVisitor {
48 GlLODSceneVisitor(GlLODCalculator *calculator,
const GlGraphInputData* inputData)
49 : calculator(calculator),inputData(inputData) {
56 virtual void visit(GlSimpleEntity *entity);
60 virtual void visit(GlNode *glNode);
64 virtual void visit(GlEdge *glEdge);
68 virtual void visit(GlLayer *layer);
73 virtual void reserveMemoryForNodes(
unsigned int numberOfNodes);
78 virtual void reserveMemoryForEdges(
unsigned int numberOfEdges);
82 GlLODCalculator* calculator;
83 const GlGraphInputData* inputData;
89 #endif // DOXYGEN_NOTFOR_DEVEL
91 #endif // Tulip_GLLODSCENEVISITOR_H