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/GlBox.h>
29 #include <tulip/GlComplexeEntity.h>
41 class TLP_GL_SCOPE GlNode :
public GlComplexeEntity {
49 GlNode(
unsigned int id);
54 virtual void acceptVisitor(GlSceneVisitor *visitor);
59 virtual BoundingBox getBoundingBox(
const GlGraphInputData* data);
64 virtual void draw(
float lod,
const GlGraphInputData *data,Camera* camera);
70 virtual void drawLabel(
bool drawSelect,OcclusionTest* test,
const GlGraphInputData* data,
float lod);
76 virtual void drawLabel(OcclusionTest* test,
const GlGraphInputData* data);
82 virtual void drawLabel(OcclusionTest* test,
const GlGraphInputData* data,
float lod,Camera *camera=NULL);
89 void getPointAndColor(GlGraphInputData *inputData,std::vector<Coord> &pointsCoordsArray,std::vector<Color> &pointsColorsArray);
94 void getColor(GlGraphInputData *inputData,std::vector<Color> &pointsColorsArray);
98 static GlLabel *label;
99 static GlBox* selectionBox;
105 #endif // DOXYGEN_NOTFOR_DEVEL
107 #endif // Tulip_GLNODE_H