23 #include <tulip/Color.h>
24 #include <tulip/Coord.h>
25 #include <tulip/GlRegularPolygon.h>
44 GlCircle(
const Coord ¢er = Coord(0, 0, 0),
float radius = 1.,
45 const Color &outlineColor = Color(255, 0, 0, 255),
46 const Color &fillColor = Color(0, 0, 255, 255),
bool filled =
false,
47 bool outlined =
true,
float startAngle = 0.0,
unsigned int segments = 10);
52 void set(
const Coord ¢er,
float radius,
float startAngle);
57 void getXML(std::string &outString)
override;
Class used to render circles as GlEntity.
void set(const Coord ¢er, float radius, float startAngle)
Write-acess Accessor to the center, the radius and the startAngle of the circle.
void getXML(std::string &outString) override
Function to export data in XML.
GlCircle(const Coord ¢er=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.
class to create a regular polygon