23 #ifndef DOXYGEN_NOTFOR_DEVEL
24 #include <tulip/Coord.h>
25 #include <tulip/Color.h>
26 #include <tulip/GlTools.h>
33 template<
typename T,
unsigned int N>
37 TLP_GL_SCOPE
void computeCleanVertices(
const std::vector<Coord> &bends,
38 const Coord &startPoint,
const Coord &endPoint,
39 Coord &startN, Coord &endN,std::vector<Coord> &);
40 TLP_GL_SCOPE
void polyLine(
const std::vector<Coord> &,
43 TLP_GL_SCOPE
void polyQuad(
const std::vector<Coord> &,
52 const std::string &textureName=
"",
53 const float outlineWidth=0);
54 TLP_GL_SCOPE
void simpleQuad(
const std::vector<Coord> &,
64 const std::string &textureName=
"");
65 TLP_GL_SCOPE
void splineQuad(
const std::vector<Coord> &,
72 TLP_GL_SCOPE
void splineLine(
const std::vector<Coord> &,
76 TLP_GL_SCOPE
void getColors(
const Coord *line,
unsigned int lineSize,
const Color &c1,
const Color &c2,std::vector<Color> &);
77 TLP_GL_SCOPE
void getSizes(
const std::vector<Coord> &line,
float s1,
float s2, std::vector<float> &);
78 TLP_GL_SCOPE GLfloat* buildCurvePoints (
const std::vector<Coord> &vertices,
79 const std::vector<float> &sizes,
82 unsigned int &resultSize,
83 std::vector<unsigned int> *dec=NULL);
84 TLP_GL_SCOPE
void buildCurvePoints (
const std::vector<Coord> &vertices,
85 const std::vector<float> &sizes,
88 std::vector<Coord> &result);
91 #endif //DOXYGEN_NOTFOR_DEVEL