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
GlTriangle.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 GLTRIANGLE_H
21
#define GLTRIANGLE_H
22
23
#include <tulip/GlRegularPolygon.h>
24
25
namespace
tlp {
26
27
/**
28
* @ingroup OpenGL
29
* @brief Class to create a triangle
30
*/
31
class
TLP_GL_SCOPE
GlTriangle
:
public
GlRegularPolygon
{
32
public
:
33
/**
34
* @brief Constructor
35
*/
36
GlTriangle
(
const
Coord &position,
37
const
Size &size,
38
const
Color &outlineColor = Color(255, 0 , 0 , 255),
39
const
Color &fillColor = Color (0, 0, 255,255),
40
bool
filled =
true
,
41
bool
outlined =
true
,
42
const
std::string &textureName=
""
,
43
float
outlineSize=1.);
44
/**
45
* @brief Default empty destructor
46
*
47
* @warning Don't use this constructor
48
*/
49
virtual
~
GlTriangle
();
50
51
};
52
53
}
54
#endif
library
tulip-ogl
include
tulip
GlTriangle.h
Generated on Thu Mar 28 2013 23:02:11 for Tulip by
1.8.2