Tulip
4.2.0
Better Visualization Through Research
Main Page
Related Pages
Modules
Classes
Files
Examples
File List
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Groups
Pages
GlPentagon.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 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,
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
* @warning Don't use this constructor
47
*/
48
virtual
~
GlPentagon
();
49
50
};
51
52
}
53
#endif
library
tulip-ogl
include
tulip
GlPentagon.h
Generated on Thu Mar 28 2013 23:02:11 for Tulip by
1.8.2