#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.
Show replies by date
#176: Fix override of center_at() in graph and complex iterators
----------------------+-----------------------------------------------------
Reporter: lazzara | Owner: Olena Team
Type: defect | Status: new
Priority: major | Milestone: Olena 1.0
Component: Milena | Version: 1.0
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Changes (by levill_r):
* milestone: => Olena 1.0
--
Ticket URL: <https://trac.lrde.org/olena/ticket/176#comment:1>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
#176: Fix override of center_at() in graph and complex iterators
----------------------+-----------------------------------------------------
Reporter: lazzara | Owner: Olena Team
Type: defect | Status: closed
Priority: major | Milestone: Olena 1.0
Component: Milena | Version: 1.0
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by lazzara):
* status: new => closed
* resolution: => fixed
Comment:
Fixed in r3112 and r3142.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/176#comment:2>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.