21#ifndef GLCONVEXGRAPHHULL_H_
22#define GLCONVEXGRAPHHULL_H_
24#include <tulip/Color.h>
25#include <tulip/tulipconf.h>
26#include <tulip/GlComposite.h>
41class TLP_GL_SCOPE GlConvexGraphHullsComposite :
public GlComposite {
45 GlConvexGraphHullsComposite() : textured(false) {}
47 bool hullsTextureActivation() {
50 void setHullsTextureActivation(
bool);
65class 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;
A graph property that maps a double value to graph elements.
Class to create a complex polygon (concave polygon or polygon with hole) If you want to create a comp...
GlSimpleEntity used to aggregate other GlEntity.
A graph property that maps a tlp::Coord value to graph nodes and std::vector<tlp::Coord> for edges.
A graph property that maps a tlp::Size value to graph elements.