last-svn-commit-35-gdb3dc85 scribo/draw/bounding_boxes.hh: Do not draw box centers anymore.
--- scribo/ChangeLog | 4 ++++ scribo/draw/bounding_boxes.hh | 9 +++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/scribo/ChangeLog b/scribo/ChangeLog index d35119e..bfde10a 100644 --- a/scribo/ChangeLog +++ b/scribo/ChangeLog @@ -1,5 +1,9 @@ 2010-02-19 Guillaume Lazzara <z@lrde.epita.fr> + * scribo/draw/bounding_boxes.hh: Do not draw box centers anymore. + +2010-02-19 Guillaume Lazzara <z@lrde.epita.fr> + Add dedicated routines for AFP's use case. * scribo/src/afp/components.hh, diff --git a/scribo/draw/bounding_boxes.hh b/scribo/draw/bounding_boxes.hh index 2fe2cd3..0d4ab9b 100644 --- a/scribo/draw/bounding_boxes.hh +++ b/scribo/draw/bounding_boxes.hh @@ -28,7 +28,7 @@ /// \file /// -/// Draw a list of bounding boxes and their associated mass center. +/// Draw a list of bounding boxes # include <mln/core/concept/image.hh> # include <mln/draw/box.hh> @@ -45,7 +45,7 @@ namespace scribo using namespace mln; - /// Draw a list of bounding boxes and their associated mass center. + /// Draw a list of bounding boxes. template <typename I> void bounding_boxes(Image<I>& input_, @@ -53,7 +53,7 @@ namespace scribo const mln_value(I)& value); - /// Draw object bounding boxes and their associated mass center. + /// Draw object bounding boxes. template <typename I, typename L> void bounding_boxes(Image<I>& input_, @@ -79,10 +79,7 @@ namespace scribo for_all_components(i, boxes) if (boxes[i].is_valid()) - { - input(boxes[i].center()) = value; mln::draw::box(input, boxes[i], value); - } trace::exiting("scribo::draw::bounding_boxes"); } -- 1.5.6.5
participants (1)
-
Guillaume Lazzara