Tulip  4.1.0
Better Visualization Through Research
 All Classes Files Functions Variables Enumerations Enumerator Properties Groups Pages
GlHexagon.h
1 /*
2  *
3  * This file is part of Tulip (www.tulip-software.org)
4  *
5  * Authors: David Auber and the Tulip development Team
6  * from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest
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,
36  const Size &size,
37  const Color &outlineColor = Color(255, 0 , 0 , 255),
38  const Color &fillColor = Color (0, 0, 255,255),
39  bool filled = true,
40  bool outlined =true,
41  const std::string &textureName="",
42  float outlineSize=1.);
43  /**
44  * @brief Default empty destructor
45  */
46  virtual ~GlHexagon();
47 
48 };
49 
50 }
51 #endif