26 #include <tulip/Color.h>
27 #include <tulip/Coord.h>
28 #include <tulip/tulipconf.h>
30 #include <tulip/GlAbstractPolygon.h>
44 const bool outlined=
true,
45 const std::string &textureName=
"",
46 const float outlineSize = 1);
50 GlPolygon(
const std::vector<Coord> &points,
51 const std::vector<Color> &fillColors,
52 const std::vector<Color> &outlineColors,
55 const std::string &textureName=
"",
56 const float outlineSize = 1);
61 const unsigned int nbFillColors,
62 const unsigned int nbOutlineColors,
63 const bool filled =
true,
64 const bool outlined =
true,
65 const std::string &textureName=
"",
66 const float outlineSize = 1);
72 virtual void resizePoints(
const unsigned int nbPoints);
76 virtual void resizeColors(
const unsigned int nbColors);
81 virtual const Coord& point(
const unsigned int i)
const;
85 virtual Coord& point(
const unsigned int i);