#170: Get rid of typedef mln::internal::image_base::coord
-------------------------+--------------------------------------------------
Reporter: levill_r | Owner: Olena Team
Type: enhancement | Status: new
Priority: minor | Milestone: Olena 1.0
Component: Milena | Version: 1.0
Keywords: point |
-------------------------+--------------------------------------------------
In source:branches/cleanup-2008/milena/mln/core/internal/image_base.hh,
`mln::internal::image_base` defines a typedef `coord`, which reduces the
genericity of this class:
{{{
#!cpp
/// Coordinate associated type.
typedef mln_deduce(S, site, coord) coord;
}}}
A consequence is that the site type `S::site` must define an associated
type `coord` (hence `std::vector<point2d>` is not a valid site type), yet
we had decided that there should be no prerequisites on the interfaces of
sites in Milena.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/170>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
Show replies by date
#170: Get rid of typedef mln::internal::image_base::coord
--------------------------+-------------------------------------------------
Reporter: levill_r | Owner: Olena Team
Type: enhancement | Status: new
Priority: minor | Milestone: Olena 1.0
Component: Milena | Version: 1.0
Resolution: | Keywords: point
--------------------------+-------------------------------------------------
Comment(by levill_r):
Done in r2980.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/170#comment:1>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
#170: Get rid of typedef mln::internal::image_base::coord
--------------------------+-------------------------------------------------
Reporter: levill_r | Owner: Olena Team
Type: enhancement | Status: closed
Priority: minor | Milestone: Olena 1.0
Component: Milena | Version: 1.0
Resolution: fixed | Keywords: point
--------------------------+-------------------------------------------------
Changes (by levill_r):
* status: new => closed
* resolution: => fixed
Comment:
(I forgot to close this ticket last week.)
--
Ticket URL: <https://trac.lrde.org/olena/ticket/170#comment:2>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.