X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=pose.cc;h=b2b189199cc10681679bdb64b16ac6f1a0a022f6;hb=b8222ae1fb874f0783803f55e0bc4c4b9ffca8b2;hp=989f6857194bc32a803be8d7489973c2155ef716;hpb=33852c7b378d419be75d15a9663ee6b071c2f534;p=folded-ctf.git diff --git a/pose.cc b/pose.cc index 989f685..b2b1891 100644 --- a/pose.cc +++ b/pose.cc @@ -12,7 +12,9 @@ // You should have received a copy of the GNU General Public License // // along with this program. If not, see . // // // -// Written by Francois Fleuret, (C) IDIAP // +// Written by Francois Fleuret // +// (C) Idiap Research Institute // +// // // Contact for comments & bug reports // /////////////////////////////////////////////////////////////////////////// @@ -94,6 +96,7 @@ bool Pose::collide(int level, Pose *pose) { } 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, @@ -117,6 +120,7 @@ void Pose::draw(int thickness, int r, int g, int b, int level, RGBImage *image) } // 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); }