showCylinder and showCircle implementations

This commit is contained in:
ozantonkal
2013-06-26 11:32:12 +02:00
parent 98edabd42c
commit fd6eeac6aa
5 changed files with 43 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ namespace temp_viz
void showPlane(const String &id, const Vec4f &coefs, const Point3f &pt, const Color &color = Color(255,255,255));
void showCube(const String &id, const Point3f &pt1, const Point3f &pt2, const Color &color = Color(255,255,255));
void showCylinder(const String &id, const Point3f &pt_on_axis, const Point3f &axis_direction, double radius, int num_sides, const Color &color = Color(255,255,255));
void showCircle(const String &id, const Point3f &pt, double radius, const Color &color = Color(255,255,255));
bool addPlane (const ModelCoefficients &coefficients, const String &id = "plane");
bool addPlane (const ModelCoefficients &coefficients, double x, double y, double z, const String &id = "plane");