23 #ifndef DOXYGEN_NOTFOR_DEVEL
29 #if defined(__APPLE__)
30 #include <OpenGL/gl.h>
31 #include <OpenGL/glu.h>
37 #include <tulip/Coord.h>
38 #include <tulip/Color.h>
39 #include <tulip/tulipconf.h>
45 template<
typename T,
unsigned int N>
49 TLP_GL_SCOPE
void computeCleanVertices(
const std::vector<Coord> &bends,
50 const Coord &startPoint,
const Coord &endPoint,
51 Coord &startN, Coord &endN,std::vector<Coord> &);
52 TLP_GL_SCOPE
void polyLine(
const std::vector<Coord> &,
55 TLP_GL_SCOPE
void polyQuad(
const std::vector<Coord> &,
64 const std::string &textureName=
"",
65 const float outlineWidth=0);
66 TLP_GL_SCOPE
void simpleQuad(
const std::vector<Coord> &,
76 const std::string &textureName=
"");
77 TLP_GL_SCOPE
void splineQuad(
const std::vector<Coord> &,
84 TLP_GL_SCOPE
void splineLine(
const std::vector<Coord> &,
88 TLP_GL_SCOPE
void getColors(
const Coord *line,
unsigned int lineSize,
const Color &c1,
const Color &c2,std::vector<Color> &);
89 TLP_GL_SCOPE
void getSizes(
const std::vector<Coord> &line,
float s1,
float s2, std::vector<float> &);
90 TLP_GL_SCOPE GLfloat* buildCurvePoints (
const std::vector<Coord> &vertices,
91 const std::vector<float> &sizes,
94 unsigned int &resultSize,
95 std::vector<unsigned int> *dec=NULL);
96 TLP_GL_SCOPE
void buildCurvePoints (
const std::vector<Coord> &vertices,
97 const std::vector<float> &sizes,
100 std::vector<Coord> &result);
103 #endif //DOXYGEN_NOTFOR_DEVEL