21 #ifndef GLUNIFORMCUBICBSPLINE_H_
22 #define GLUNIFORMCUBICBSPLINE_H_
24 #include <tulip/AbstractGlCurve.h>
25 #include <tulip/GlTools.h>
60 const float startSize,
const float endSize,
const unsigned int nbCurvePoints = 200);
64 void drawCurve(std::vector<Coord> &controlPoints,
const Color &startColor,
const Color &endColor,
const float startSize,
const float endSize,
const unsigned int nbCurvePoints=200);
68 void setCurveVertexShaderRenderingSpecificParameters();
70 Coord computeCurvePointOnCPU(
const std::vector<Coord> &controlPoints,
float t);
72 void computeCurvePointsOnCPU(
const std::vector<Coord> &controlPoints, std::vector<Coord> &curvePoints,
unsigned int nbCurvePoints);