#include <AbstractGlCurve.h>
List of all members.
Public Member Functions
- AbstractGlCurve (const std::string &shaderProgramName, const std::string &curveSpecificShaderCode)
- AbstractGlCurve (const std::string &shaderProgramName, const std::string &curveSpecificShaderCode, const std::vector< Coord > &controlPoints, const Color &startColor, const Color &endColor, const float startSize, const float endSize, const unsigned int nbCurvePoints)
- virtual ~AbstractGlCurve ()
- void draw (float lod, Camera *camera)
- void translate (const Coord &move)
- virtual void setTexture (const std::string &texture)
- virtual void setOutlined (const bool outlined)
- virtual void setOutlineColor (const Color &outlineColor)
- virtual void setOutlineColorInterpolation (const bool outlineColorInterpolation)
- void setLineCurve (const bool lineCurve)
- void setCurveLineWidth (const float curveLineWidth)
- void setCurveQuadBordersWidth (const float curveQuadBorderWidth)
- virtual void setBillboardCurve (const bool billboardCurve)
- virtual void setLookDir (const Coord &lookDir)
- void getXML (xmlNodePtr rootNode)
- void setWithXML (xmlNodePtr rootNode)
- virtual void drawCurve (std::vector< Coord > &controlPoints, const Color &startColor, const Color &endColor, const float startSize, const float endSize, const unsigned int nbCurvePoints=100)
Protected Member Functions
Static Protected Member Functions
Protected Attributes
Static Protected Attributes
Constructor & Destructor Documentation
tlp::AbstractGlCurve::AbstractGlCurve |
( |
const std::string & |
shaderProgramName, |
|
|
const std::string & |
curveSpecificShaderCode, |
|
|
const std::vector< Coord > & |
controlPoints, |
|
|
const Color & |
startColor, |
|
|
const Color & |
endColor, |
|
|
const float |
startSize, |
|
|
const float |
endSize, |
|
|
const unsigned int |
nbCurvePoints |
|
) |
| |
Member Function Documentation
virtual void tlp::AbstractGlCurve::drawCurve |
( |
std::vector< Coord > & |
controlPoints, |
|
|
const Color & |
startColor, |
|
|
const Color & |
endColor, |
|
|
const float |
startSize, |
|
|
const float |
endSize, |
|
|
const unsigned int |
nbCurvePoints = 100 |
|
) |
| [virtual] |
If set to true, the curve is drawn as a line and not as a thick quad
If set to true, the curve quad outlines will have the same colors than the curve quad
virtual fucntion : Translate entity of vector translation
Reimplemented from tlp::GlSimpleEntity.
Member Data Documentation
|