20 #ifndef GLUNIFORMCUBICBSPLINE_H_
21 #define GLUNIFORMCUBICBSPLINE_H_
23 #include <tulip/AbstractGlCurve.h>
60 const Color &endColor,
const float startSize,
const float endSize,
61 const unsigned int nbCurvePoints = 200);
65 void drawCurve(std::vector<Coord> &controlPoints,
const Color &startColor,
const Color &endColor,
66 const float startSize,
const float endSize,
67 const unsigned int nbCurvePoints = 200)
override;
70 void setCurveVertexShaderRenderingSpecificParameters()
override;
72 Coord computeCurvePointOnCPU(
const std::vector<Coord> &controlPoints,
float t)
override;
74 void computeCurvePointsOnCPU(
const std::vector<Coord> &controlPoints,
75 std::vector<Coord> &curvePoints,
76 unsigned int nbCurvePoints)
override;