25 #include <tulip/Color.h> 26 #include <tulip/Coord.h> 27 #include <tulip/tulipconf.h> 28 #include <tulip/GlAbstractPolygon.h> 42 GlPolygon(
const bool filled =
true,
const bool outlined =
true,
43 const std::string &textureName =
"",
const float outlineSize = 1);
48 GlPolygon(
const std::vector<Coord> &points,
const std::vector<Color> &fillColors,
49 const std::vector<Color> &outlineColors,
const bool filled,
const bool outlined,
50 const std::string &textureName =
"",
const float outlineSize = 1);
55 GlPolygon(
const unsigned int nbPoints,
const unsigned int nbFillColors,
56 const unsigned int nbOutlineColors,
const bool filled =
true,
57 const bool outlined =
true,
const std::string &textureName =
"",
58 const float outlineSize = 1);
64 virtual void resizePoints(
const unsigned int nbPoints);
68 virtual void resizeColors(
const unsigned int nbColors);
73 virtual const Coord &point(
const unsigned int i)
const;
77 virtual Coord &point(
const unsigned int i);
Class to create a polygon GlEntity.
class to create a abstract polygon