21 #ifndef GLCONVEXGRAPHHULL_H_
22 #define GLCONVEXGRAPHHULL_H_
24 #include <tulip/Color.h>
25 #include <tulip/tulipconf.h>
26 #include <tulip/GlComposite.h>
34 class GlComplexPolygon;
41 class TLP_GL_SCOPE GlConvexGraphHullsComposite :
public GlComposite {
45 GlConvexGraphHullsComposite() : textured(false) {}
47 bool hullsTextureActivation() {
50 void setHullsTextureActivation(
bool);
65 class TLP_GL_SCOPE GlConvexGraphHull {
78 GlConvexGraphHull(GlConvexGraphHullsComposite *parent,
const std::string &name,
79 const tlp::Color &fcolor,
const std::string &texName, Graph *graph,
80 LayoutProperty *layout, SizeProperty *size, DoubleProperty *rotation);
87 void updateHull(LayoutProperty *layout =
nullptr, SizeProperty *size =
nullptr,
88 DoubleProperty *rotation =
nullptr);
90 void setVisible(
bool visible);
92 void setTextureZoom(
float zoom);
95 GlConvexGraphHullsComposite *_parent;
99 GlComplexPolygon *_polygon;
101 LayoutProperty *_layout;
103 DoubleProperty *_rotation;
104 static int bezierValue;