Tulip  5.7.4
Large graphs analysis and drawing
GlPentagon.h
1 /*
2  *
3  * This file is part of Tulip (https://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 GLPENTAGON_H
21 #define GLPENTAGON_H
22 
23 #include <tulip/GlRegularPolygon.h>
24 
25 namespace tlp {
26 /**
27  * @ingroup OpenGL
28  * @brief class to create an pentagon
29  */
30 class TLP_GL_SCOPE GlPentagon : public GlRegularPolygon {
31 public:
32  /**
33  * @brief Constructor
34  */
35  GlPentagon(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  * @warning Don't use this constructor
43  */
44  ~GlPentagon() override;
45 };
46 } // namespace tlp
47 #endif
class to create an pentagon
Definition: GlPentagon.h:30
~GlPentagon() override
Default empty destructor.
GlPentagon(const Coord &position, const Size &size, const Color &outlineColor=Color(255, 0, 0, 255), const Color &fillColor=Color(0, 0, 255, 255), bool filled=true, bool outlined=true, const std::string &textureName="", float outlineSize=1.)
Constructor.
class to create a regular polygon