// You should have received a copy of the GNU General Public License //
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
// //
-// Written by Francois Fleuret, (C) IDIAP //
+// Written by Francois Fleuret //
+// (C) Idiap Research Institute //
+// //
// Contact <francois.fleuret@idiap.ch> for comments & bug reports //
///////////////////////////////////////////////////////////////////////////
}
void Pose::draw(int thickness, int r, int g, int b, int level, RGBImage *image) {
+
// Draw the head circle
image->draw_ellipse(thickness, r, g, b,
}
// An ugly way to make a filled disc
+
for(scalar_t u = 0; u < belly_radius; u += thickness / 2) {
image->draw_ellipse(thickness, r, g, b, _belly_xc, _belly_yc, u, u, 0);
}