26 #include <tulip/Color.h>
27 #include <tulip/Coord.h>
28 #include <tulip/tulipconf.h>
29 #include <tulip/GlAbstractPolygon.h>
43 const bool outlined=
true,
44 const std::string &textureName=
"",
45 const float outlineSize = 1);
49 GlPolygon(
const std::vector<Coord> &points,
50 const std::vector<Color> &fillColors,
51 const std::vector<Color> &outlineColors,
54 const std::string &textureName=
"",
55 const float outlineSize = 1);
60 const unsigned int nbFillColors,
61 const unsigned int nbOutlineColors,
62 const bool filled =
true,
63 const bool outlined =
true,
64 const std::string &textureName=
"",
65 const float outlineSize = 1);
71 virtual void resizePoints(
const unsigned int nbPoints);
75 virtual void resizeColors(
const unsigned int nbColors);
80 virtual const Coord& point(
const unsigned int i)
const;
84 virtual Coord& point(
const unsigned int i);