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/Size.h> 29 #include <tulip/GlComplexeEntity.h> 44 class TLP_GL_SCOPE GlNode :
public GlComplexeEntity {
52 GlNode(
unsigned int id);
57 virtual void acceptVisitor(GlSceneVisitor *visitor);
62 virtual BoundingBox getBoundingBox(
const GlGraphInputData* data);
67 virtual void draw(
float lod,
const GlGraphInputData *data,Camera* camera);
73 virtual void drawLabel(
bool drawSelect,OcclusionTest* test,
const GlGraphInputData* data,
float lod);
79 virtual void drawLabel(OcclusionTest* test,
const GlGraphInputData* data);
85 virtual void drawLabel(OcclusionTest* test,
const GlGraphInputData* data,
float lod,Camera *camera=NULL);
92 void getPointAndColor(GlGraphInputData *inputData,std::vector<Coord> &pointsCoordsArray,std::vector<Color> &pointsColorsArray);
97 void getColor(GlGraphInputData *inputData,std::vector<Color> &pointsColorsArray);
103 void init(
const GlGraphInputData* data);
111 static GlLabel *label;
112 static GlBox* selectionBox;
117 #endif // DOXYGEN_NOTFOR_DEVEL 119 #endif // Tulip_GLNODE_H