createSphere and showSphere implementations

This commit is contained in:
ozantonkal
2013-06-27 11:51:36 +03:00
parent 17bdc29d5b
commit c4a07b7531
7 changed files with 61 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ namespace temp_viz
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));
void showSphere (const String &id, const Point3f &pt, double radius, const Color &color = Color(255,255,255));
Affine3f getShapePose(const String &id);
bool setShapePose(const String &id, const Affine3f &pose);