23 #ifndef DOXYGEN_NOTFOR_DEVEL 29 #if defined(__APPLE__) 30 #include <OpenGL/gl.h> 35 #include <tulip/Coord.h> 36 #include <tulip/Color.h> 37 #include <tulip/tulipconf.h> 43 template<
typename T,
unsigned int N>
47 TLP_GL_SCOPE
void computeCleanVertices(
const std::vector<Coord> &bends,
48 const Coord &startPoint,
const Coord &endPoint,
49 Coord &startN, Coord &endN,std::vector<Coord> &);
50 TLP_GL_SCOPE
void polyLine(
const std::vector<Coord> &,
53 TLP_GL_SCOPE
void polyQuad(
const std::vector<Coord> &,
62 const std::string &textureName=
"",
63 const float outlineWidth=0);
64 TLP_GL_SCOPE
void simpleQuad(
const std::vector<Coord> &,
74 const std::string &textureName=
"");
75 TLP_GL_SCOPE
void splineQuad(
const std::vector<Coord> &,
82 TLP_GL_SCOPE
void splineLine(
const std::vector<Coord> &,
86 TLP_GL_SCOPE
void getColors(
const Coord *line,
unsigned int lineSize,
const Color &c1,
const Color &c2,std::vector<Color> &);
87 TLP_GL_SCOPE
void getSizes(
const std::vector<Coord> &line,
float s1,
float s2, std::vector<float> &);
88 TLP_GL_SCOPE GLfloat* buildCurvePoints (
const std::vector<Coord> &vertices,
89 const std::vector<float> &sizes,
92 unsigned int &resultSize,
93 std::vector<unsigned int> *dec=NULL);
94 TLP_GL_SCOPE
void buildCurvePoints (
const std::vector<Coord> &vertices,
95 const std::vector<float> &sizes,
98 std::vector<Coord> &result);
101 #endif //DOXYGEN_NOTFOR_DEVEL