21 #ifndef Tulip_GLNODE_H
22 #define Tulip_GLNODE_H
24 #ifndef DOXYGEN_NOTFOR_DEVEL
26 #include <tulip/Color.h>
27 #include <tulip/Coord.h>
28 #include <tulip/GlComplexeEntity.h>
43 class TLP_GL_SCOPE GlNode :
public GlComplexeEntity {
51 GlNode(
unsigned int id);
56 virtual void acceptVisitor(GlSceneVisitor *visitor);
61 virtual BoundingBox getBoundingBox(
const GlGraphInputData* data);
66 virtual void draw(
float lod,
const GlGraphInputData *data,Camera* camera);
72 virtual void drawLabel(
bool drawSelect,OcclusionTest* test,
const GlGraphInputData* data,
float lod);
78 virtual void drawLabel(OcclusionTest* test,
const GlGraphInputData* data);
84 virtual void drawLabel(OcclusionTest* test,
const GlGraphInputData* data,
float lod,Camera *camera=NULL);
91 void getPointAndColor(GlGraphInputData *inputData,std::vector<Coord> &pointsCoordsArray,std::vector<Color> &pointsColorsArray);
96 void getColor(GlGraphInputData *inputData,std::vector<Color> &pointsColorsArray);
100 static GlLabel *label;
101 static GlBox* selectionBox;
107 #endif // DOXYGEN_NOTFOR_DEVEL
109 #endif // Tulip_GLNODE_H