Commit a93cf009 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

mln/debug/println_with_border.spe.hh: Improve output for 3D images.

parent f46fc5c9
2011-09-02 Guillaume Lazzara <z@lrde.epita.fr>
* mln/debug/println_with_border.spe.hh: Improve output for 3D
images.
2011-09-02 Guillaume Lazzara <z@lrde.epita.fr>
 
Add vbbox() method.
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008, 2009, 2011 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -92,8 +93,11 @@ namespace mln
{
for (unsigned j = 0; j < real_len_r; ++j)
{
for (unsigned l = 0; l < real_len_r - j; ++l)
std::cout << ' ';
for (unsigned i = 0; i < real_len_c; ++i)
std::cout << format(input.point_at_index(k * (real_len_r * real_len_c) + j * real_len_c + i))
std::cout << format(input.buffer()[k * (real_len_r * real_len_c) + j * real_len_c + i])
<< ' ';
std::cout << std::endl;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment