Tulip  5.2.0
Large graphs analysis and drawing
GlHexagon.h
1 /*
2  *
3  * This file is part of Tulip (http://tulip.labri.fr)
4  *
5  * Authors: David Auber and the Tulip development Team
6  * from LaBRI, University of Bordeaux
7  *
8  * Tulip is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation, either version 3
11  * of the License, or (at your option) any later version.
12  *
13  * Tulip is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU General Public License for more details.
17  *
18  */
19 
20 #ifndef GLHEXAGON_H
21 #define GLHEXAGON_H
22 
23 #include <tulip/GlRegularPolygon.h>
24 
25 namespace tlp {
26 /**
27  * @ingroup OpenGL
28  * @brief class to create an hexagon in Tulip 3D Engine
29  */
30 class TLP_GL_SCOPE GlHexagon : public GlRegularPolygon {
31 public:
32  /**
33  * @brief Constructor
34  */
35  GlHexagon(const Coord &position, const Size &size,
36  const Color &outlineColor = Color(255, 0, 0, 255),
37  const Color &fillColor = Color(0, 0, 255, 255), bool filled = true,
38  bool outlined = true, const std::string &textureName = "", float outlineSize = 1.);
39  /**
40  * @brief Default empty destructor
41  */
42  ~GlHexagon() override;
43 };
44 }
45 #endif
class to create a regular polygon
class to create an hexagon in Tulip 3D Engine
Definition: GlHexagon.h:30