tlp::GlCircle(3) General class used to render circles as GlEntity.

SYNOPSIS


#include <GlCircle.h>

Inherits tlp::GlPolygon.

Public Member Functions


GlCircle (const Coord &center=Coord(0, 0, 0), float radius=1., const Color &outlineColor=Color(255, 0, 0, 255), const Color &fillColor=Color(0, 0, 255, 255), bool filled=false, bool outlined=true, float startAngle=0.0, unsigned int segments=10)

void set (const Coord &center, float radius, float startAngle)

virtual const Color & fcolor (const unsigned int i) const

virtual Color & fcolor (const unsigned int i)

virtual const Color & ocolor (const unsigned int i) const

virtual Color & ocolor (const unsigned int i)

virtual void getXML (xmlNodePtr rootNode)

Detailed Description

General class used to render circles as GlEntity.

This class is a generic class to render circles as GlEntity.

Constructor & Destructor Documentation

tlp::GlCircle::GlCircle (const Coord & center = Coord(0, 0, 0), float radius = 1., const Color & outlineColor = Color(255, 0, 0, 255), const Color & fillColor = Color(0, 0, 255, 255), bool filled = false, bool outlined = true, float startAngle = 0.0, unsigned int segments = 10)Constructor

Member Function Documentation

virtual Color& tlp::GlCircle::fcolor (const unsigned int i) [inline, virtual]return the fill color of the circle (i parameters is not use) This function is write to overload the GlPolygon function

Reimplemented from tlp::GlPolygon.

virtual const Color& tlp::GlCircle::fcolor (const unsigned int i) const [inline, virtual]return the fill color of the circle (i parameters is not use) This function is write to overload the GlPolygon function

Reimplemented from tlp::GlPolygon.

virtual void tlp::GlCircle::getXML (xmlNodePtr rootNode) [virtual]Function to export data in XML

Reimplemented from tlp::GlPolygon.

virtual Color& tlp::GlCircle::ocolor (const unsigned int i) [inline, virtual]return the outline color of the circle (i parameters is not use) This function is write to overload the GlPolygon function

Reimplemented from tlp::GlPolygon.

virtual const Color& tlp::GlCircle::ocolor (const unsigned int i) const [inline, virtual]return the outline color of the circle (i parameters is not use) This function is write to overload the GlPolygon function

Reimplemented from tlp::GlPolygon.

void tlp::GlCircle::set (const Coord & center, float radius, float startAngle)Accessor in writing to the center, the radius and the startAngle of the circle

Author

Generated automatically by Doxygen for Tulip Open GL Library from the source code.