23 #ifndef DOXYGEN_NOTFOR_DEVEL 25 #include <tulip/OpenGlIncludes.h> 27 #include <tulip/Coord.h> 28 #include <tulip/Color.h> 29 #include <tulip/tulipconf.h> 35 template <
typename T,
size_t N>
39 TLP_GL_SCOPE
void computeCleanVertices(
const std::vector<Coord> &bends,
const Coord &startPoint,
40 const Coord &endPoint, Coord &startN, Coord &endN,
41 std::vector<Coord> &vertices,
bool adjustTangent =
true);
42 TLP_GL_SCOPE
void polyLine(
const std::vector<Coord> &,
46 polyQuad(
const std::vector<Coord> &,
55 const std::string &textureName =
"",
56 const float outlineWidth = 0);
58 simpleQuad(
const std::vector<Coord> &,
68 const std::string &textureName =
"",
const float outlineWidth = 0);
69 TLP_GL_SCOPE
void splineQuad(
const std::vector<Coord> &,
76 TLP_GL_SCOPE
void splineLine(
const std::vector<Coord> &,
80 TLP_GL_SCOPE
void getColors(
const Coord *line,
unsigned int lineSize,
const Color &c1,
81 const Color &c2, std::vector<Color> &);
82 TLP_GL_SCOPE
void getSizes(
const std::vector<Coord> &line,
float s1,
float s2,
83 std::vector<float> &);
84 TLP_GL_SCOPE GLfloat *buildCurvePoints(
const std::vector<Coord> &vertices,
85 const std::vector<float> &sizes,
const Coord &startN,
86 const Coord &endN,
unsigned int &resultSize,
87 std::vector<unsigned int> *dec =
nullptr);
88 TLP_GL_SCOPE
void buildCurvePoints(
const std::vector<Coord> &vertices,
89 const std::vector<float> &sizes,
const Coord &startN,
90 const Coord &endN, std::vector<Coord> &result);
92 #endif // DOXYGEN_NOTFOR_DEVEL