
Damien Thivolle wrote:
Il manque un peu de doc, ca sera fait plus tard :)
C'est un déjà un assez gros patch comme ça!
Index: doc/ChangeLog from Damien Thivolle <damien@lrde.epita.fr>
* ref/Makefile.am: Correct install-data-hook rule.
Index: olena/ChangeLog from Damien Thivolle <damien@lrde.epita.fr>
* olena/oln/morpher/generic_morpher.hh: Inherit directly from oln::image.
Ca me fait un peu peur. Tu ne devais pas hériter de image_with_dim?
--- olena/oln/morpher/generic_morpher.hh Tue, 30 Mar 2004 22:10:11 +0200 thivol_d (oln/m/18_generic_mo 1.4 600) +++ olena/oln/morpher/generic_morpher.hh Sat, 03 Apr 2004 14:17:24 +0200 thivol_d (oln/m/18_generic_mo 1.4 600) @@ -36,6 +36,7 @@ # include <oln/basics2d.hh> # include <oln/basics3d.hh>
Il faut avoir de bonnes raisons pour faire ce genre d'include. En général on veut: # include <oln/core/point2d.hh> # include <oln/core/dpoint2d.hh> # include <oln/core/image2d.hh> et non pas les "io", les "w_window"... [Heu, ça m'arrive de faire #include<ntg/all.hh>, mais c'est très mal, mise à part dans les exemples.]
+ template <class Exact, class SrcType> + struct image_traits<morpher::abstract::generic_morpher<SrcType, Exact> >: + public image_traits<abstract::image_with_impl<typename image_id<Exact>::impl_type, + typename image_id<Exact>::exact_type> > + typedef oln::image<image_traits<exact_type>::dim, + value_type, + impl_type, + mlc::final> DestType;
Il me semble que tu voulais écrire image_with_dim.
+ fail = fail | (oln::utils::md5(mimd) != oln::utils::md5(mimc)); +// remove comments when it works ... +// fail = fail | (oln::utils::md5(*(oln::morpher::rmorph(imc).unmorph())) != oln::utils::key(data_key_c_r));
Merci de faire un reply a cette news lorsque ce sera corrigé. -- Niels