
#176: Fix override of center_at() in graph and complex iterators ---------------------+------------------------------------------------------ Reporter: lazzara | Owner: Olena Team Type: defect | Status: new Priority: major | Milestone: Component: Milena | Version: 1.0 Keywords: | ---------------------+------------------------------------------------------ Graph and complex iterators inherit from site_relative_iterator_base. site_relative_iterator_base provides center_at() but do not allow derived classes to implement their own. Graph and complex iterators need to update an underlying iterator while calling center_at() which is not possible currently, except by overriding center_at(). We may add the following call in site_relative_iterator_base::center_at(): exact(this)->center_at_(); And rename center_at() to center_at_() in the following files: - mln/core/image/graph_window_piter.hh - mln/core/image/complex_neighborhood_piter.hh -- Ticket URL: <https://trac.lrde.org/olena/ticket/176> Olena <http://olena.lrde.epita.fr> Olena, a generic and efficient C++ image processing library.