21 #ifndef Tulip_GLSELECTSCENEVISITOR_H 22 #define Tulip_GLSELECTSCENEVISITOR_H 24 #include <tulip/GlSceneVisitor.h> 28 enum SelectionFlag { SelectSimpleEntities = 1, SelectNodes = 2, SelectEdges = 4 };
30 class GlGraphInputData;
31 class GlLODCalculator;
36 class TLP_GL_SCOPE GlSelectSceneVisitor :
public GlSceneVisitor {
43 GlSelectSceneVisitor(SelectionFlag flag, GlGraphInputData *inputData,
44 GlLODCalculator *calculator);
49 void visit(GlSimpleEntity *entity)
override;
53 void visit(GlNode *glNode)
override;
57 void visit(GlEdge *glEdge)
override;
61 void visit(GlLayer *layer)
override;
64 SelectionFlag selectionFlag;
66 GlGraphInputData *inputData;
68 GlLODCalculator *calculator;
72 #endif // Tulip_GLSELECTSCENEVISITOR_H