21 #ifndef GLUNIFORMCUBICBSPLINE_H_
22 #define GLUNIFORMCUBICBSPLINE_H_
24 #include <tulip/AbstractGlCurve.h>
59 const float startSize,
const float endSize,
const unsigned int nbCurvePoints = 200);
63 void drawCurve(std::vector<Coord> &controlPoints,
const Color &startColor,
const Color &endColor,
const float startSize,
const float endSize,
const unsigned int nbCurvePoints=200);
67 void setCurveVertexShaderRenderingSpecificParameters();
69 Coord computeCurvePointOnCPU(
const std::vector<Coord> &controlPoints,
float t);
71 void computeCurvePointsOnCPU(
const std::vector<Coord> &controlPoints, std::vector<Coord> &curvePoints,
unsigned int nbCurvePoints);