21 #ifndef Tulip_GLLODSCENEVISITOR_H
22 #define Tulip_GLLODSCENEVISITOR_H
23 #ifndef DOXYGEN_NOTFOR_DEVEL
25 #include <tulip/GlSceneVisitor.h>
29 class GlGraphInputData;
30 class GlLODCalculator;
35 class TLP_GL_SCOPE GlLODSceneVisitor :
public GlSceneVisitor {
42 GlLODSceneVisitor(GlLODCalculator *calculator,
const GlGraphInputData* inputData)
43 : calculator(calculator),inputData(inputData) {
50 virtual void visit(GlSimpleEntity *entity);
54 virtual void visit(GlNode *glNode);
58 virtual void visit(GlEdge *glEdge);
62 virtual void visit(GlLayer *layer);
67 virtual void reserveMemoryForNodes(
unsigned int numberOfNodes);
72 virtual void reserveMemoryForEdges(
unsigned int numberOfEdges);
76 GlLODCalculator* calculator;
77 const GlGraphInputData* inputData;
83 #endif // DOXYGEN_NOTFOR_DEVEL
85 #endif // Tulip_GLLODSCENEVISITOR_H