1. 10 Oct, 2006 1 commit
    • Thierry Geraud's avatar
      2006-10-10 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 5c195b4c
      Thierry Geraud authored
      	Add i/o read for pbm and pgm formats.
      	
      	* tests/io_pnm.cc: New.
      	* tests/Makefile.am (check_PROGRAMS): Update.
      	* oln/io: New directory.
      	* oln/io/pnm.hh: New.
      	* oln/core/image_entry.hh (coord_type): New single_vtype.
      	* oln/core/abstract/image.hh (decl): New comment.
      	* oln/core/2d/image2d.hh (adr_at): New.
      	* oln/basics2d.hh (include): Add fwd_piter.hh.
      	* oln/Makefile.am (nobase_oln_HEADERS): Update.
      	* img: New directory.
      	* img/chien.pbm: New.
      	* img/lena32.pgm: New.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@615 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5c195b4c
  2. 09 Oct, 2006 7 commits
    • Thierry Geraud's avatar
      2006-10-09 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 28d697de
      Thierry Geraud authored
      	* oln/core/internal/tracked_ptr.hh (operator bool):
      	Fix signature.
      	(operator bool): Add line to remove warning.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@614 4aad255d-cdde-0310-9447-f3009e2ae8c0
      28d697de
    • Roland Levillain's avatar
      Add sanity check to Olena. · c69629d7
      Roland Levillain authored
      	* configure.ac: Configure olena/tests/check/Makefile,
      	olena/tests/check/defs, olena/tests/sanity/Makefile and
      	olena/tests/sanity/check.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@613 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c69629d7
    • Thierry Geraud's avatar
      2006-10-09 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · e8f8e002
      Thierry Geraud authored
      	* stc/scoop.hh (stc_virtual_typedef): Remove this macro which
      	cannot be consistent wrt to client namespaces.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@612 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e8f8e002
    • Thierry Geraud's avatar
      2006-10-09 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · c0379564
      Thierry Geraud authored
      	Change stc_virtual_typedef into oln_virtual_typedef.
      	
      	* oln/core/macros.hh (oln_virtual_typedef): New macro.
      	It replaces stc_virtual_typedef.
      	* oln/core/abstract/image.hh: Update.
      	* oln/core/abstract/image/mutability/hierarchy.hh: Update.
      	* oln/core/abstract/image/neighborhood/hierarchy.hh: Update.
      	* oln/core/abstract/image/bbox/hierarchy.hh: Update.
      	* oln/core/abstract/point_set.hh: Update.
      	* oln/core/abstract/neighborhood.hh: Update.
      	* oln/core/abstract/topology.hh: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@611 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c0379564
    • Thierry Geraud's avatar
      2006-10-09 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 1ba3dbba
      Thierry Geraud authored
      	* oln/debug/print.hh: Separate definition from declaration.
      	* oln/core/automatic/topology_being_random_accessible.hh
      	(impl_has_large): Fix signature.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@610 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1ba3dbba
    • Thierry Geraud's avatar
      2006-10-09 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · afaada91
      Thierry Geraud authored
      	* stc/scoop.hh (stc_virtual_typedef): Fix macro.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@609 4aad255d-cdde-0310-9447-f3009e2ae8c0
      afaada91
    • Thierry Geraud's avatar
      2006-10-09 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · f5c31fa0
      Thierry Geraud authored
      	Separate definition code from declaration code in olena.
      
      	* oln/core/type.hh: Split code.
      	* oln/core/point_set_entry.hh: Likewise.
      	* oln/core/automatic/image.hh: Likewise.
      	* oln/core/automatic/topology_having_bbox.hh: Likewise.
      	* oln/core/automatic/image_being_random_accessible.hh: Likewise.
      	* oln/core/automatic/image_having_neighborhood.hh: Likewise.
      	* oln/core/automatic/topology_being_random_accessible.hh: Likewise.
      	* oln/core/automatic/topology_having_subset.hh: Likewise.
      	* oln/core/automatic/image_being_mutable.hh: Likewise.
      	* oln/core/automatic/topology_having_neighborhood.hh: Likewise.
      	* oln/core/neighborhood_entry.hh: Likewise.
      	* oln/core/topology_entry.hh: Likewise.
      	* oln/core/image_entry.hh: Likewise.
      	* oln/core/abstract/iterator_on_points.hh: Likewise.
      	* oln/core/abstract/topology_having_bbox.hh: Likewise.
      	* oln/core/abstract/image.hh: Likewise.
      	* oln/core/abstract/image/type/binary.hh: Likewise.
      	* oln/core/abstract/image/type/data.hh: Likewise.
      	* oln/core/abstract/image/type/grey_level.hh: Likewise.
      	* oln/core/abstract/image/type/color.hh: Likewise.
      	* oln/core/abstract/image/type/label.hh: Likewise.
      	* oln/core/abstract/image/hybrid/classical.hh: Likewise.
      	* oln/core/abstract/image/mutability/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/dimension/2d.hh: Likewise.
      	* oln/core/abstract/image/neighborhood/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/accessibility/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/bbox/hierarchy.hh: Likewise.
      	* oln/core/abstract/point_set_being_random_accessible.hh: Likewise.
      	* oln/core/abstract/grid.hh: Likewise.
      	* oln/core/abstract/iterator.hh: Likewise.
      	* oln/core/abstract/point.hh: Likewise.
      	* oln/core/abstract/bbox.hh: Likewise.
      	* oln/core/abstract/point_set_being_connected.hh: Likewise.
      	* oln/core/abstract/dpoint.hh: Likewise.
      	* oln/core/abstract/topology_being_random_accessible.hh: Likewise.
      	* oln/core/abstract/topology_having_subset.hh: Likewise.
      	* oln/core/abstract/topology_having_neighborhood.hh: Likewise.
      	* oln/core/abstract/entry.hh: Likewise.
      	* oln/core/abstract/point_set.hh: Likewise.
      	* oln/core/abstract/point_set_having_known_size.hh: Likewise.
      	* oln/core/abstract/neighborhood.hh: Likewise.
      	* oln/core/abstract/point_set_having_bbox.hh: Likewise.
      	* oln/core/abstract/topology.hh: Likewise.
      	* oln/core/2d/neighb2d.hh: Likewise.
      	* oln/core/2d/dpoint2d.hh: Likewise.
      	* oln/core/2d/array2d.hh: Likewise.
      	* oln/core/2d/image2d.hh: Likewise.
      	* oln/core/2d/point2d.hh: Likewise.
      	* oln/core/gen/piter_isubset.hh: Likewise.
      	* oln/core/gen/topo_add_isubset.hh: Likewise.
      	* oln/core/gen/bbox.hh: Likewise.
      	* oln/core/gen/topo_bbox.hh: Likewise.
      	* oln/core/gen/neighb.hh: Likewise.
      	* oln/core/gen/fwd_piter_bbox.hh: Likewise.
      	* oln/core/gen/bbox_fwd_piter.hh: Likewise.
      	* oln/core/gen/fwd_niter_neighb.hh: Likewise.
      	* oln/core/gen/fwd_qiter_win.hh: Likewise.
      	* oln/core/gen/topo_lbbox.hh: Likewise.
      	* oln/core/gen/window.hh: Likewise.
      	* oln/core/gen/bbox_bkd_piter.hh: Likewise.
      	* oln/core/gen/bkd_piter_bbox.hh: Likewise.
      	* oln/core/gen/topo_add_nbh.hh: Likewise.
      	* oln/core/gen/mapimage.hh: Likewise.
      	* oln/core/internal/tracked_ptr.hh: Likewise.
      	* oln/core/internal/topology_morpher.hh: Likewise.
      	* oln/core/internal/point_nd.hh: Likewise.
      	* oln/core/internal/bbox_bkd_piter.hh: Likewise.
      	* oln/core/internal/bbox_fwd_piter.hh: Likewise.
      	* oln/core/internal/dpoint_nd.hh: Likewise.
      	* oln/basics2d.hh: Likewise.
      	* oln/morpher/add_isubset.hh: Likewise.
      	* oln/morpher/identity.hh: Likewise.
      	* oln/morpher/internal/image_extension.hh: Likewise.
      	* oln/morpher/add_neighborhood.hh: Likewise.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@608 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f5c31fa0
  3. 05 Oct, 2006 1 commit
    • Thierry Geraud's avatar
      2006-10-05 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 1f303fb1
      Thierry Geraud authored
      	Decouple iterators from image topology; update neighborhood tools
      	and start to add window tools.
      	
      	* oln/core/automatic/topology_having_subset.hh: New.
      	* oln/core/abstract/topology_having_subset.hh: New.
      	* oln/core/gen/fwd_niter_neighb.hh: New.
      	* oln/core/gen/fwd_qiter_win.hh: New.
      	* oln/core/gen/window.hh: New.
      	* oln/core/typedefs.hh
      	(qiter_type, fwd_qiter_type, bkd_qiter_type): Uncomment.
      	(niter_type, fwd_niter_type, bkd_niter_type): Uncomment.
      	(isubset): Rename into...
      	(subset_type): ...this.
      	* oln/core/macros.hh
      	(oln_type_of, oln_deduce_type_of, oln_type_of_): Rely on direct access.
      	(oln_check_type_of, oln_check_type_of_): Rely on direct access.
      	(oln_deduce_direct_type_of): New.
      	* oln/core/topology_entry.hh (subset_type): New.
      	* oln/core/image_entry.hh (fwd_piter_type, bkd_piter_type): Move
      	from vtypes to single_vtype.
      	(fwd_qiter_type): New.
      	* oln/core/abstract/topology_hierarchies.hh
      	(topology_hierarchy_wrt_subset): New.
      	(include): Add topology_having_subset.hh.
      	* oln/core/abstract/image/neighborhood/hierarchy.hh
      	(niter, fwd_niter, bkd_niter): New in decl.
      	* oln/core/2d/aliases.hh
      	(fwd_piter_bbox_, bkd_piter_bbox_): Change param letter.
      	(fwd_piter2d, bkd_piter2d): Update.
      	* oln/core/2d/neighb2d.hh (c4, c8, c2_row, c2_col): Rename into...
      	(mk_c4, mk_c8, mk_c2_row, mk_c2_col): ...these in namespace internal.
      	(c4, c8, c2r, c2c): New objects.
      	* oln/core/gen/piter_isubset.hh (piter_isubset_): New ctor for
      	iterators around a point.
      	(topo): Return a copy.
      	(change_topology_): Remove; obsolete.
      	* oln/core/gen/topo_add_isubset.hh (isubset_type): Rename into...
      	(subset_type): ...this.
      	(isubset): Rename into...
      	(impl_subset): ...this.
      	* oln/core/gen/topo_bbox.hh (impl_lbbox): New; experimental!
      	* oln/core/gen/fwd_piter_bbox.hh (fwd_piter_bbox_): Change parameter
      	from topo to point; update.
      	(topo): Remove this method; obsolete.
      	(change_topology_): Remove; obsolete.
      	(topo_): Remove this attribute; obsolete.
      	* oln/core/gen/bkd_piter_bbox.hh: Likewise.
      	* oln/basics2d.hh: Update.
      	* oln/Makefile.am (nobase_oln_HEADERS): Update.
      	* oln/core/2d/image2d.hh
      	(fwd_piter_type, bkd_piter_type): Move these definitions into...
      	* oln/core/fwd_piter.hh: ... this new file.
      	* oln/morpher/add_isubset.hh: Likewise.
      	* oln/morpher/add_neighborhood.hh: Likewise.
      	* oln/morpher/internal/image_extension.hh (image_): Change from
      	const& to plain type.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@607 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f303fb1
  4. 03 Oct, 2006 5 commits
    • Roland Levillain's avatar
      Fix the distribution. · e145418e
      Roland Levillain authored
      	* oln/Makefile.am (nobase_oln_HEADERS): Add core/1d/aliases.hh,
      	core/1d/array1d.hh, core/1d/dpoint1d.hh, core/1d/image1d.hh,
      	core/1d/neighb1d.hh, core/1d/point1d.hh, core/3d/aliases.hh,
      	core/3d/array3d.hh, core/3d/dpoint3d.hh, core/3d/image3d.hh,
      	core/3d/neighb3d.hh, core/3d/point3d.hh,
      	core/internal/tracked_ptr.hh, basics1d.hh, basics3d.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@606 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e145418e
    • Roland Levillain's avatar
      Add oln::image3d and associated types. · 57b5b067
      Roland Levillain authored
      	* oln/core/3d/image3d.hh, oln/core/3d/array3d.hh,
      	* oln/core/3d/point3d.hh, oln/core/3d/dpoint3d.hh,
      	* oln/core/3d/neighb3d.hh, oln/core/3d/aliases.hh,
      	* oln/basics3d.hh: New.
      	* oln/core/abstract/point_set_being_connected.hh
      	(oln::abstract::point_set_being_3d_connected): New class.
      	(oln::case_<point_set_hierarchy_wrt_connectivity, E, 3>): New
      	case.
      	* tests/image3d.cc: New test.
      	* tests/Makefile.am (check_PROGRAMS): Add image3d.
      	(image3d_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@605 4aad255d-cdde-0310-9447-f3009e2ae8c0
      57b5b067
    • Roland Levillain's avatar
      Add oln::image1d and associated types. · e9b02fbc
      Roland Levillain authored
      	* oln/core/1d/image1d.hh, oln/core/1d/array1d.hh,
      	* oln/core/1d/point1d.hh, oln/core/1d/dpoint1d.hh,
      	* oln/core/1d/neighb1d.hh, oln/core/1d/aliases.hh,
      	* oln/basics1d.hh: New.
      	* oln/core/abstract/point_set_being_connected.hh
      	(oln::abstract::point_set_being_1d_connected): New class.
      	(oln::case_<point_set_hierarchy_wrt_connectivity, E, 1>): Handle
      	the 1-dimension case, and move the 2-dimension case...
      	(oln::case_<point_set_hierarchy_wrt_connectivity, E, 2>): ...here
      	(new).
      	* tests/image1d.cc: New test.
      	* tests/Makefile.am (check_PROGRAMS): Add image1d.
      	(image1d_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@604 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e9b02fbc
    • Roland Levillain's avatar
      Clean up morphers. · 3a331bf9
      Roland Levillain authored
      	* oln/morpher/identity.hh
      	(oln::vtypes< morpher::identity<Image> >): Remove (was useless).
      	(oln/morpher/tags.hh): Move header inclusion...
      	* oln/morpher/internal/image_extension.hh: ...here
      	* oln/morpher/add_neighborhood.hh, oln/morpher/add_isubset.hh
      	(oln/morpher/tags.hh): No longer include it.
      	* oln/morpher/tags.hh (oln::morpher::tag::add_neighborhood):
      	Remove (was useless).
      	(oln::morpher::tag::identity): Adjust documentation.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@603 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3a331bf9
    • Roland Levillain's avatar
      Take borders into account in data allocation of image2d. · e96eed2a
      Roland Levillain authored
      	* oln/core/2d/image2d.hh (image2d(unsigned, unsigned, unsigned)):
      	Allocate space for the border in the array.
      	* oln/core/2d/point2d.hh, oln/core/typedefs.hh: Add FIXMEs.
      	* oln/core/2d/neighb2d.hh, oln/core/2d/dpoint2d.hh,
      	* oln/core/internal/point_nd.hh: Aesthetic changes.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@602 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e96eed2a
  5. 02 Oct, 2006 5 commits
    • Roland Levillain's avatar
      Add simple tests for point2d and dpoint2d. · 2a0f88b8
      Roland Levillain authored
      	* tests/dpoint2d.cc, tests/point2d.cc: New tests.
      	* tests/image_entry.cc: Fix comments.
      	* tests/Makefile.am (check_PROGRAMS): Add dpoint2d and point2d.
      	(dpoint2d_SOURCES, point2d_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@601 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2a0f88b8
    • Roland Levillain's avatar
      Separate tracked_ptr from array2d. · 03d01fa8
      Roland Levillain authored
      	* oln/core/2d/array2d.hh (oln::tracked_ptr): Move...
      	* oln/core/internal/tracked_ptr.hh: ...here (new file).
      	* oln/core/2d/image2d.hh (oln::image2d::data_): Adjust type.
      	(oln::image2d(const topo2d&)): New ctor.
      	* tests/image2d.cc: New test.
      	* tests/Makefile.am (check_PROGRAMS): Add image2d.
      	(image2d_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@600 4aad255d-cdde-0310-9447-f3009e2ae8c0
      03d01fa8
    • Roland Levillain's avatar
      Fix ChangeLog. · 2265fb70
      Roland Levillain authored
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@599 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2265fb70
    • Roland Levillain's avatar
      Fix the inheritance of oln::point2d_ and oln::dpoint2d_. · 9391b7d3
      Roland Levillain authored
      	* oln/core/2d/point2d.hh (oln::set_super_type< point2d_<C> >):
      	New.
      	(oln::point2d_): Use stc_get_supers to set the base class.
      	(oln::point2d_::super_t): Use stc_get_super to define it.
      	(oln::point2d_::point2d_(coord_t, coord_t)): Use xtd::mk_vec
      	to initialize the base class.
      	* oln/core/2d/dpoint2d.hh (oln::set_super_type< dpoint2d_<C> >):
      	Re-enable it.
      	(oln::dpoint2d_): Use stc_get_supers to set the base class.
      	(oln::dpoint2d_::super_t): Use stc_get_super to define it.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@598 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9391b7d3
    • Thierry Geraud's avatar
      2006-10-02 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · e8e89197
      Thierry Geraud authored
      	Add isubset image morpher and subsequent tools.
      	
      	* oln/core/gen/piter_isubset.hh: New.
      	* oln/core/gen/topo_add_isubset.hh: New.
      	* oln/morpher/add_isubset.hh: New.
      	* oln/debug/print.hh (println): New.
      	* oln/core/typedefs.hh (isubset): New.
      	* oln/core/automatic/image_being_random_accessible.hh
      	(set_impl): Remove; cause error-prone.
      	* oln/core/abstract/image/type/hierarchy.hh
      	(where_): Rely on xtd_is_binary instead of an hard-coded test. 
      	(include): Update.
      	* oln/core/gen/fwd_piter_bbox.hh (topo_type): new.
      	(topo_): Change ref into plain type so it is more secure.
      	* oln/core/gen/bkd_piter_bbox.hh (topo_type): new.
      	(topo_): Change ref into plain type so it is more secure.
      	* oln/core/gen/topo_add_nbh.hh (operator topo_t): New.
      	* oln/core/internal/topology_morpher.hh
      	(delegated_type): New.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@597 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e8e89197
  6. 29 Sep, 2006 8 commits
  7. 28 Sep, 2006 6 commits
    • Roland Levillain's avatar
      * xtd/abstract/fun.hh, xtd/abstract/fun_expr.hh, · e824ed57
      Roland Levillain authored
      	* xtd/abstract/fun_nary_expr.hh, xtd/abstract/meta_fun.hh,
      	* xtd/abstract/meta_nary_fun.hh, xtd/abstract/nary_fun.hh,
      	* xtd/abstract/open_fun.hh, xtd/abstract/open_nary_fun.hh,
      	* xtd/abstract/plain_fun.hh, xtd/abstract/plain_nary_fun.hh,
      	* xtd/builtin/traits.hh, xtd/internal/mlc.hh,
      	* xtd/internal/opmacros.hh, xtd/math/abs.hh, xtd/math/acos.hh,
      	* xtd/math/arith.hh, xtd/math/asin.hh, xtd/math/atan.hh,
      	* xtd/math/atan2.hh, xtd/math/ceil.hh, xtd/math/cmp.hh,
      	* xtd/math/constraints.hh, xtd/math/cos.hh, xtd/math/cosh.hh,
      	* xtd/math/exp.hh, xtd/math/floor.hh, xtd/math/id.hh,
      	* xtd/math/includes.hh, xtd/math/log.hh, xtd/math/log10.hh,
      	* xtd/math/logic.hh, xtd/math/pow.hh, xtd/math/sin.hh,
      	* xtd/math/sinh.hh, xtd/math/sqrt.hh, xtd/math/tan.hh,
      	* xtd/math/tanh.hh, xtd/arg.hh,* xtd/args.hh, xtd/bind.hh,
      	* xtd/cast.hh, xtd/cfun.hh, xtd/literal.hh, xtd/math.hh,
      	* xtd/mexpr.hh, xtd/mfun.hh, xtd/optraits.hh, xtd/res.hh,
      	* xtd/traits.hh, xtd/vec.hh: Adjust header guards to match the
      	file name.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@588 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e824ed57
    • Roland Levillain's avatar
      * mlc/abstract/type.hh, mlc/abstract/bexpr.hh, · cb9d6908
      Roland Levillain authored
      	* mlc/abort.hh, mlc/assert.hh, mlc/bexpr.hh, mlc/bool.hh,
      	* mlc/case.hh, mlc/char.hh, mlc/cmp.hh, mlc/comma.hh,
      	* mlc/contract.hh, mlc/elt.hh, mlc/flags.hh, mlc/if.hh,
      	* mlc/implies.hh, mlc/int.hh, mlc/is_a.hh, mlc/logic.hh,
      	* mlc/pair.hh, mlc/ret.hh, mlc/switch.hh, mlc/to_string.hh,
      	* mlc/typedef.hh, mlc/uint.hh, mlc/valist.hh, mlc/value.hh,
      	* mlc/values.hh, mlc/wrap.hh: Adjust header guards to match
      	the file name.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@587 4aad255d-cdde-0310-9447-f3009e2ae8c0
      cb9d6908
    • Roland Levillain's avatar
      * stc/any.hh, stc/entry.hh, stc/exact.hh, stc/find_exact.hh, · 0a6b61be
      Roland Levillain authored
      	* stc/scoop.hh, stc/valist_aggregator.hh,
      	* stc/internal/extract_vtype_from_list.hh: Adjust header guards to
      	match the file name.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@586 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0a6b61be
    • Roland Levillain's avatar
      Add oln::level::fill(). · 1cd4b005
      Roland Levillain authored
      	* oln/level/fill.hh: New.
      	* oln/Makefile.am (nobase_oln_HEADERS): Add level/fill.hh.
      	* tests/fill.cc: New test.
      	* tests/Makefile.am (AM_CXXFLAGS): Rename as...
      	(CXXFLAGS): ...this.
      	(check_PROGRAMS): Add fill.
      	(fill_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@585 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1cd4b005
    • Roland Levillain's avatar
      Catch up with Static's changes on automatically retrieved · 79c7b4b8
      Roland Levillain authored
      	implementations.
      
      	* oln/core/automatic/impl.hh: New.
      	* oln/automatic/image.hh: Move...
      	* oln/core/automatic/image.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/image_being_mutable.hh: Move...
      	* oln/core/automatic/image_being_mutable.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/image_being_random_accessible.hh: Move...
      	* oln/core/automatic/image_being_random_accessible.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/image_having_neighborhood.hh: Move...
      	* oln/core/automatic/image_having_neighborhood.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/topology_being_random_accessible.hh: Move...
      	* oln/core/automatic/topology_being_random_accessible.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/topology_having_bbox.hh: Move...
      	* oln/core/automatic/topology_having_bbox.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/topology_having_neighborhood.hh: Move...
      	* oln/core/automatic/topology_having_neighborhood.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	Adjust.
      	* oln/core/abstract/image.hh (oln::abstract::image)
      	* oln/core/abstract/image/accessibility/hierarchy.hh
      	(oln::abstract::image_being_random_accessible)
      	* oln/core/abstract/image/bbox/hierarchy.hh
      	(oln::abstract::image_having_bbox)
      	* oln/core/abstract/image/dimension/1d.hh
      	(oln::abstract::image1d)
      	* oln/core/abstract/image/dimension/2d.hh
      	(oln::abstract::image2d)
      	* oln/core/abstract/image/dimension/3d.hh
      	(oln::abstract::image3d)
      	* oln/core/abstract/image/mutability/hierarchy.hh
      	(oln::abstract::image_being_mutable)
      	* oln/core/abstract/image/neighborhood/hierarchy.hh
      	(oln::abstract::image_having_neighborhood)
      	* oln/core/abstract/topology_being_random_accessible.hh
      	(oln::abstract::topology_being_random_accessible)
      	* oln/core/abstract/topology_having_bbox.hh
      	(oln::abstract::topology_having_bbox)
      	* oln/core/abstract/topology_having_neighborhood.hh
      	(oln::abstract::topology_having_neighborhood): Adjust.
      	* oln/Makefile.am (nobase_oln_HEADERS): Adjust.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@584 4aad255d-cdde-0310-9447-f3009e2ae8c0
      79c7b4b8
    • Roland Levillain's avatar
      Get rid of the handling of automatically retrieved implementations. · 5db1a116
      Roland Levillain authored
      	* stc/scoop.hh (automatic::impl): Remove.
      	The handling of automatically retrieved implementations is
      	now the responsibility of the ``client'' (here, Olena).
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@583 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5db1a116
  8. 27 Sep, 2006 6 commits
    • Thierry Geraud's avatar
      2006-09-27 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 73abf4a2
      Thierry Geraud authored
      	Add oln debug print and a "classical" image abstraction.
      	
      	* oln/debug/print.hh: New.
      	* oln/core/abstract/image/hybrid/classical.hh: New.
      	* oln/core/abstract/image/hierarchies.hh
      	(image_hybrid_hierarchy_wrt_classical): New.
      	(include): Update.
      	* oln/Makefile.am (nobase_oln_HEADERS): Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@582 4aad255d-cdde-0310-9447-f3009e2ae8c0
      73abf4a2
    • Thierry Geraud's avatar
      2006-09-27 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 5e7e523d
      Thierry Geraud authored
      	Update grid classes and add static checks for image vtypes.
      	
      	* oln/core/abstract/fwd_decls.hh: New.
      	* tests/image_entry.cc: Update.
      	* oln/core/abstract/image.hh (include): Add fwd_decls.
      	(decl): Add static checks.
      	* oln/core/abstract/image/mutability/hierarchy.hh
      	(lvalue_t, psite_t): Update.  oln_check_type_of is now useless
      	cause vtypes are now automatically checked in the decl structure.
      	* oln/core/abstract/image/bbox/hierarchy.hh
      	(bbox_t, point_t): Likewise.
      	(decl): Add static checks.
      	* oln/core/abstract/grid.hh (include): Update.
      	(point_type, dpoint_type, size_type, coord_type): Remove.
      	We have point->grid, not the contrary.
      	(grid): Change inheritance to stc::any__simple.
      	* oln/core/1d/grid1d.hh: Update.
      	* oln/core/2d/grid2d.hh: Update.
      	* oln/core/3d/grid3d.hh: Update.
      	* oln/basics2d.hh (include): Add grid2d.
      	* oln/Makefile.am (nobase_oln_HEADERS): Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@581 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5e7e523d
    • Thierry Geraud's avatar
      2006-09-27 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 939e5581
      Thierry Geraud authored
      	Enforce safety in some SCOOP tools.
      	
      	* stc/scoop.hh (stc_set_nth_super, stc_set_super): Add
      	"end of semicolon" safety.
      	(stc_virtual_typedef): Use oln_check_type_of instead of
      	oln_type_of.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@580 4aad255d-cdde-0310-9447-f3009e2ae8c0
      939e5581
    • Thierry Geraud's avatar
      2006-09-27 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 09b42296
      Thierry Geraud authored
      	Adjust guards to directory names.
      	
      	* oln/automatic/topology_having_bbox.hh: Adjust guard to directory name.
      	* oln/automatic/image.hh: Likewise.
      	* oln/automatic/image_being_random_accessible.hh: Likewise.
      	* oln/automatic/image_having_neighborhood.hh: Likewise.
      	* oln/automatic/topology_being_random_accessible.hh: Likewise.
      	* oln/automatic/topology_having_neighborhood.hh: Likewise.
      	* oln/automatic/image_being_mutable.hh: Likewise.
      	* oln/core/type.hh: Likewise.
      	* oln/core/traits_id.hh: Likewise.
      	* oln/core/typedefs.hh: Likewise.
      	* oln/core/macros.hh: Likewise.
      	* oln/core/point_set_entry.hh: Likewise.
      	* oln/core/neighborhood_entry.hh: Likewise.
      	* oln/core/topology_entry.hh: Likewise.
      	* oln/core/image_entry.hh: Likewise.
      	* oln/core/abstract/iterator_on_points.hh: Likewise.
      	* oln/core/abstract/image.hh: Likewise.
      	* oln/core/abstract/topology_hierarchies.hh: Likewise.
      	* oln/core/abstract/topology_having_bbox.hh: Likewise.
      	* oln/core/abstract/image/type/binary.hh: Likewise.
      	* oln/core/abstract/image/type/data.hh: Likewise.
      	* oln/core/abstract/image/type/integre.hh: Likewise.
      	* oln/core/abstract/image/type/grey_level.hh: Likewise.
      	* oln/core/abstract/image/type/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/type/color.hh: Likewise.
      	* oln/core/abstract/image/type/label.hh: Likewise.
      	* oln/core/abstract/image/mutability/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/hierarchies.hh: Likewise.
      	* oln/core/abstract/image/dimension/1d.hh: Likewise.
      	* oln/core/abstract/image/dimension/2d.hh: Likewise.
      	* oln/core/abstract/image/dimension/3d.hh: Likewise.
      	* oln/core/abstract/image/dimension/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/neighborhood/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/accessibility/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/bbox/hierarchy.hh: Likewise.
      	* oln/core/abstract/grid.hh: Likewise.
      	* oln/core/abstract/point_set_being_random_accessible.hh: Likewise.
      	* oln/core/abstract/any.hh: Likewise.
      	* oln/core/abstract/point.hh: Likewise.
      	* oln/core/abstract/iterator.hh: Likewise.
      	* oln/core/abstract/point_set_being_connected.hh: Likewise.
      	* oln/core/abstract/bbox.hh: Likewise.
      	* oln/core/abstract/topology_being_random_accessible.hh: Likewise.
      	* oln/core/abstract/dpoint.hh: Likewise.
      	* oln/core/abstract/topology_having_neighborhood.hh: Likewise.
      	* oln/core/abstract/entry.hh: Likewise.
      	* oln/core/abstract/point_set.hh: Likewise.
      	* oln/core/abstract/point_set_having_known_size.hh: Likewise.
      	* oln/core/abstract/neighborhood.hh: Likewise.
      	* oln/core/abstract/point_set_having_bbox.hh: Likewise.
      	* oln/core/abstract/point_set_hierarchies.hh: Likewise.
      	* oln/core/abstract/topology.hh: Likewise.
      	* oln/core/abstract/internal/image_impl.hh: Likewise.
      	* oln/core/1d/grid1d.hh: Likewise.
      	* oln/core/traits.hh: Likewise.
      	* oln/core/2d/aliases.hh: Likewise.
      	* oln/core/2d/neighb2d.hh: Likewise.
      	* oln/core/2d/dpoint2d.hh: Likewise.
      	* oln/core/2d/array2d.hh: Likewise.
      	* oln/core/2d/image2d.hh: Likewise.
      	* oln/core/2d/grid2d.hh: Likewise.
      	* oln/core/2d/point2d.hh: Likewise.
      	* oln/core/3d/grid3d.hh: Likewise.
      	* oln/core/case.hh: Likewise.
      	* oln/core/gen/topo_lbbox.hh: Likewise.
      	* oln/core/gen/bbox.hh: Likewise.
      	* oln/core/gen/topo_bbox.hh: Likewise.
      	* oln/core/gen/neighb.hh: Likewise.
      	* oln/core/gen/fwd_piter_bbox.hh: Likewise.
      	* oln/core/gen/bbox_fwd_piter.hh: Likewise.
      	* oln/core/gen/bbox_bkd_piter.hh: Likewise.
      	* oln/core/gen/bkd_piter_bbox.hh: Likewise.
      	* oln/core/gen/topo_add_nbh.hh: Likewise.
      	* oln/core/gen/mapimage.hh: Likewise.
      	* oln/core/internal/topology_morpher.hh: Likewise.
      	* oln/core/internal/point_nd.hh: Likewise.
      	* oln/core/internal/bbox_bkd_piter.hh: Likewise.
      	* oln/core/internal/bbox_fwd_piter.hh: Likewise.
      	* oln/core/internal/dpoint_nd.hh: Likewise.
      	* oln/basics2d.hh: Likewise.
      	* oln/morpher/identity.hh: Likewise.
      	* oln/morpher/internal/image_extension.hh: Likewise.
      	* oln/morpher/tags.hh: Likewise.
      	* oln/morpher/add_neighborhood.hh: Likewise.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@579 4aad255d-cdde-0310-9447-f3009e2ae8c0
      09b42296
    • Thierry Geraud's avatar
      2006-09-27 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · e79fdf8e
      Thierry Geraud authored
      	Add array2d and tracked_ptr.
      	
      	* oln/core/2d/array2d.hh: New.
      	This file also provides the tracked_ptr class which should be
      	moved later in a more appropriate file.
      	* oln/core/2d/image2d.hh (lvalue_type, is_mutable_type): Add.
      	(data_): New attribute.
      	(impl_op_read): Update; code is no more fake.
      	(impl_op_readwrite): New.
      	(image2d): Update.
      	* oln/Makefile.am (nobase_oln_HEADERS): Update; remove
      	the core/2d/grid2d.hh duplicate.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@578 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e79fdf8e
    • Roland Levillain's avatar
      2006-09-27 Roland Levillain <roland@lrde.epita.fr> · bed298a1
      Roland Levillain authored
      	* tests/Makefile.am (AM_CXXFLAGS): Set to -O0 -ggdb.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@577 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bed298a1
  9. 26 Sep, 2006 1 commit