Tulip
4.2.0
Better Visualization Through Research
Main Page
Related Pages
Modules
Classes
Files
Examples
File List
Tulip
Welcome to Tulip's documentation.
Deprecated List
Modules
Namespace Members
Classes
Files
File List
demos
doc
library
tulip-core
tulip-gui
tulip-ogdf
tulip-ogl
include
tulip
AbstractGlCurve.h
Camera.h
Curves.h
EdgeExtremityGlyph.h
EdgeExtremityGlyphManager.h
EpsFunction.h
Gl2DRect.h
GlAbstractPolygon.h
GlAxis.h
GlBezierCurve.h
GlBoundingBoxSceneVisitor.h
GlBox.h
GlCatmullRomCurve.h
GlCircle.h
GlColorScale.h
GlComplexeEntity.h
GlComplexPolygon.h
GlComposite.h
GlConvexGraphHull.h
GlConvexHull.h
GlCPULODCalculator.h
GlCubicBSplineInterpolation.h
GlCurve.h
GlDisplayListManager.h
GlDrawSceneVisitor.h
GlEdge.h
GlEntity.h
GlEPSFeedBackBuilder.h
GlFeedBackBuilder.h
GlFeedBackRecorder.h
GlGraphComposite.h
GlGraphHighDetailsRenderer.h
GlGraphInputData.h
GlGraphLowDetailsRenderer.h
GlGraphRenderer.h
GlGraphRenderingParameters.h
GlGraphStaticData.h
GlGrid.h
GlHexagon.h
GlLabel.h
GlLayer.h
GlLine.h
GlLines.h
GlLODCalculator.h
GlLODSceneVisitor.h
GlMetaNodeRenderer.h
GlNode.h
GlNominativeAxis.h
GlOpenUniformCubicBSpline.h
GlPentagon.h
GlPolygon.h
GlPolyQuad.h
GlProgressBar.h
GlQuad.h
GlQuadTreeLODCalculator.h
GlQuantitativeAxis.h
GlRect.h
GlRegularPolygon.h
GlScene.h
GlSceneObserver.h
GlSceneVisitor.h
GlSceneZoomAndPan.h
GlSelectSceneVisitor.h
GlShaderProgram.h
GlSimpleEntity.h
GlSphere.h
GlSVGFeedBackBuilder.h
GlTextureManager.h
GlTLPFeedBackBuilder.h
GlTools.h
GlTriangle.h
GlVertexArrayManager.h
GlVertexArrayVisitor.h
GlXMLTools.h
Glyph.h
GlyphManager.h
OcclusionTest.h
OpenGlConfigManager.h
ParametricCurves.h
tulipgpu.h
tulip-python
Examples
•
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