1. 24 Oct, 2006 5 commits
  2. 23 Oct, 2006 5 commits
    • Thierry Geraud's avatar
      2006-10-23 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · edd41ba6
      Thierry Geraud authored
      	Fix debug track and disambiguate the 'at' method overloading
      	in const and mutable nD images.
      	
      	* oln/core/abstract/array.hh: New.
      	* oln/debug/track.hh (n_arrays): New.
      	(include): Fix.
      	* oln/core/abstract/image.hh (image): New cpy ctor so fix
      	n_images tracking.
      	* oln/core/abstract/image/dimension/1d.hh: Disambiguate by
      	changing inheritance to virtual + inserting a using directive. 
      	* oln/core/abstract/image/dimension/2d.hh: Likewise.
      	* oln/core/abstract/image/dimension/3d.hh: Likewise.
      	* oln/core/1d/array1d.hh (array1d): Add inheritance.
      	* oln/core/2d/array2d.hh: Likewise.
      	* oln/core/3d/array3d.hh: Likewise.
      	* oln/Makefile.am: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@671 4aad255d-cdde-0310-9447-f3009e2ae8c0
      edd41ba6
    • Thierry Geraud's avatar
      2006-10-23 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 576f2f0d
      Thierry Geraud authored
      	Add stack morpher and remove the hack related to indexed mutable
      	access.
      	
      	* tests/morphers/stack_morpher.cc: New.
      	* tests/morphers/Makefile.am: Update.
      	* oln/debug/track.hh: New.
      	* oln/core/automatic/image/mutable_image2d.hh: New.
      	* oln/core/automatic/image/mutable_image3d.hh: New.
      	* oln/core/automatic/image/mutable_image1d.hh: New.
      	* oln/morpher/stack.hh: New.
      	* oln/Makefile.am: Update.
      	* oln/debug/print.hh (println): Remove; too dummy.
      	(operator): New.
      	* oln/level/fill.hh (fill): New specialization for C arrays.
      	* oln/core/automatic/image/image1d.hh: Remove hack of 'at'.
      	* oln/core/automatic/image/image2d.hh: Likewise.
      	* oln/core/automatic/image/image3d.hh: Likewise.
      	* oln/core/abstract/image.hh (image, ~image): Add counting.
      	(include): Update.
      	* oln/core/abstract/image/dimension/1d.hh
      	(image1d): Split partially into...
      	(mutable_image1d): ...this new class.
      	(include): Update.
      	* oln/core/abstract/image/dimension/2d.hh: Likewise.
      	* oln/core/abstract/image/dimension/3d.hh: Likewise.
      	* oln/core/abstract/image/dimension/hierarchy.hh
      	(case_): Update.
      	* oln/core/2d/array2d.hh (memsize): Better sig.
      	(include): Update.
      	* oln/core/2d/image2d.hh (image2d): New overloading for no arg.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@670 4aad255d-cdde-0310-9447-f3009e2ae8c0
      576f2f0d
    • Thierry Geraud's avatar
      2006-10-23 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · c0c48c31
      Thierry Geraud authored
      	* xtd/vec.hh (ops): Move outside of class.
      	(vec_base_): New specialization for <4, T>.
      	(mk_vec): New overloading for 4 args.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@669 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c0c48c31
    • Roland Levillain's avatar
      Add files for oln::window[123]d. · 1fed92ea
      Roland Levillain authored
      	* oln/core/1d/window1d.hh: New file.
      	* oln/basics1d.hh: Include it.
      	* oln/core/2d/window2d.hh: New file.
      	* oln/basics2d.hh: Include it.
      	* oln/core/3d/window3d.hh: New file.
      	* oln/basics3d.hh: Include it.
      	* oln/Makefile.am (nobase_oln_HEADERS): Add core/1d/window1d.hh,
      	core/2d/window2d.hh and core/3d/window3d.hh
      	* tests/morphers/slice_morpher.cc: Remove FIXME.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@668 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1fed92ea
    • Roland Levillain's avatar
      Add qiters for oln::morpher::slice. · ad6c16c0
      Roland Levillain authored
      	* oln/core/type_fun/slice.hh
      	(TYPE_FUNCTION_slice_piter_NOT_DEFINED_FOR_THIS_PARAMETER): Rename
      	as...
      	(TYPE_FUNCTION_slice_iterator_NOT_DEFINED_FOR_THIS_PARAMETER):
      	...this.
      	Adjust.
      	(oln::type_fun::slice_piter): Rename as...
      	(oln::type_fun::slice_iterator): ...this.
      	(oln::type_fun::slice_iterator<fwd_qiter2d>)
      	(oln::type_fun::slice_iterator<bkd_qiter2d>)
      	(oln::type_fun::slice_iterator<fwd_qiter3d>)
      	(oln::type_fun::slice_iterator<bkd_qiter3d>)
      	* oln/core/iterator_vtypes.hh: s/slice_piter/slice_iterator/g.
      	(oln::single_vtype<morpher::slice<Image>, typedef_::fwd_qiter_type>)
      	(oln::single_vtype<morpher::slice<Image>, typedef_::bkd_qiter_type>)
      	* oln/morpher/slice.hh: Adjust comments.
      	* tests/morphers/slice_morpher.cc: s/ima_with_nbh/slice/g
      	Test fwd_qiter on oln::morpher::slice.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@667 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ad6c16c0
  3. 20 Oct, 2006 5 commits
  4. 19 Oct, 2006 3 commits
    • Roland Levillain's avatar
      Fix virtual types definitions in tests/core/image_entry. · 31535240
      Roland Levillain authored
      	* tests/core/image_entry.cc
      	(oln::vtypes<my::image>::fwd_piter_type)
      	(oln::vtypes<my::image>::bkd_piter_type): Remove typedefs.
      	(oln::single_vtype<my::image, typedef_::fwd_piter_type>)
      	(oln::single_vtype<my::image, typedef_::bkd_piter_type>): New
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@661 4aad255d-cdde-0310-9447-f3009e2ae8c0
      31535240
    • Roland Levillain's avatar
      Add a slice morpher. · 61efad94
      Roland Levillain authored
      	* oln/morpher/tags.hh (oln::morpher::tag::slice): New tag.
      	* oln/morpher/slice.hh: New file (new morpher).
      	* oln/core/type_fun/slice.hh: New.
      	* oln/core/iterator_vtypes.hh: Include it.
      	(oln::single_vtype<morpher::slice<Image>, typedef_::fwd_piter_type>)
      	(oln::single_vtype<morpher::slice<Image>, typedef_::bkd_piter_type>):
      	New.
      	* oln/core/1d/topo1d.hh, oln/core/2d/topo2d.hh,
      	* oln/core/3d/topo3d.hh: New (shortcuts).
      	* oln/core/gen/topo_lbbox.hh (oln::vtypes< topo_lbbox_<point> >:
      	Reduce the explanation to a reference to the virtual types of
      	oln::topo_bbox_.
      	(topo_lbbox::topo_lbbox_(const point&, const point&, unsigned)):
      	New ctor.
      	(topo_lbbox::border): New method.
      	* oln/core/gen/topo_bbox.hh
      	(topo_bbox::topo_bbox_(const point&, const point&)): New ctor.
      	* oln/Makefile.am (nobase_oln_HEADERS): Add
      	core/1d/topo1d.hh, core/2d/topo2d.hh, core/3d/topo3d.hh,
      	core/gen/piter_isubset.hh, core/type_fun/slice_piter.hh and
      	morpher/slice.hh.	
      	* tests/morphers/slice_morpher.cc: New test.
      	* tests/morphers/Makefile.am (check_PROGRAMS): Add slice_morpher.
      	(slice_morpher_SOURCES): New.
      	* oln/core/gen/bbox_fwd_piter.hh, oln/core/gen/bbox_bkd_piter.hh,
      	* tests/morphers/add_neighborhood_morpher.cc: Fix a comment.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@660 4aad255d-cdde-0310-9447-f3009e2ae8c0
      61efad94
    • Roland Levillain's avatar
      More sanity checks. · 86ba6ec5
      Roland Levillain authored
      	* tests/sanity/includes.test: Also check headers whose path
      	contains a directory named ``obsolete'' or ``internal''.
      	* oln/core/internal/dpoint_nd.hh (oln/core/traits_id.hh): Include
      	it.
      	* oln/core/internal/tracked_ptr.hh (ostream): Likewise.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@659 4aad255d-cdde-0310-9447-f3009e2ae8c0
      86ba6ec5
  5. 18 Oct, 2006 2 commits
  6. 17 Oct, 2006 7 commits
    • Thierry Geraud's avatar
      2006-10-17 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 3dbfab9b
      Thierry Geraud authored
      	Add forward declaration files.
      	
      	* oln/core/aliases.hh: New.
      	* oln/core/fwd_decls.hh: New.
      	* oln/core/1d/fwd_decls.hh: New.
      	* oln/core/2d/fwd_decls.hh: New.
      	* oln/core/3d/fwd_decls.hh: New.
      	* oln/core/gen/fwd_decls.hh: New.
      	* oln/morpher/fwd_decls.hh: New.
      	* oln/debug/typename.hh: New.
      	* oln/Makefile.am: Update.
      	
      	Sketch the mechanism for 'plain' and 'ch_value'.
      
      	* oln/core/type_fun/plain.hh: New.
      	* oln/core/type_fun/ch_value.hh: New.
      	* oln/core/typedefs.hh (oln_plain, oln_plain_): New.
      	* oln/core/image_entry.hh (concrete_type): Remove; obsolete.
      	* oln/core/abstract/image.hh
      	(topo, operator): Change sigs.
      	(topo_t, psite_t, rvalue_t): Remove; now unused.
      	(decl): Uncomment static checks.
      	* oln/core/abstract/image/computability/hierarchy.hh
      	(plain): New.
      	* oln/core/1d/image1d.hh (real_type): Remove; obsolete.
      	* oln/core/2d/image2d.hh: Likewise.
      	* oln/core/3d/image3d.hh: Likewise.
      	* oln/morpher/value_cast.hh (class): Change into struct
      	for homogeneity for other morphers.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@656 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3dbfab9b
    • Roland Levillain's avatar
      Configure new Makefiles of olena/tests. Add a bootstrap script. · adab9e11
      Roland Levillain authored
      	* configure.ac (olena/tests/algorithms/Makefile)
      	(olena/tests/core/Makefile, olena/tests/io/Makefile)
      	(olena/tests/morphers/Makefile, olena/tests/value/Makefile):
      	Configure them.
      	* bootstrap: New.  Stolen from the LRDE Tiger Compiler.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@655 4aad255d-cdde-0310-9447-f3009e2ae8c0
      adab9e11
    • Roland Levillain's avatar
      Organize the tests into a hierarchy. · 61b3b113
      Roland Levillain authored
      	* tests/fill.cc: Move file...
      	* tests/algorithms/fill.cc: ...here.
      	* tests/at.cc, tests/dpoint2d.cc, tests/grid.cc, tests/image1d.cc,
      	* tests/image2d.cc, tests/image3d.cc, tests/image_entry.cc,
      	* tests/npoints.cc, tests/point2d.cc, tests/window2d.cc: Move
      	files...
      	* tests/core/at.cc, tests/core/dpoint2d.cc, tests/core/grid.cc,
      	* tests/core/image1d.cc, tests/core/image2d.cc,
      	* tests/core/image3d.cc, tests/core/image_entry.cc,
      	* tests/core/npoints.cc, tests/core/point2d.cc,
      	* tests/core/window2d.cc: ...here.
      	* tests/io_pnm.cc: Move file...
      	* tests/io/io_pnm.cc: ...here.
      	* tests/add_neighborhood_morpher.cc, tests/identity_morpher.cc,
      	* tests/morphers.cc, tests/value_cast.cc: Move files...
      	* tests/morphers/add_neighborhood_morpher.cc,
      	* tests/morphers/identity_morpher.cc, tests/morphers/morphers.cc,
      	* tests/morphers/value_cast.cc:: ...here.
      	* tests/grey.cc: Move file...
      	* tests/value/grey.cc: ...here.
      	* tests/algorithms/Makefile.am, tests/core/Makefile.am,
      	* tests/io/Makefile.am, tests/morphers/Makefile.am,
      	* tests/value/Makefile.am: New.
      	* tests/Makefile.am: Adjust.
      	* tests/sanity/Makefile.am (CPPFLAGS): Add `-I$(srcdir)/..'.
      
      	* oln/Makefile.am: Remove
      	core/automatic/image/image_being_mutable.hh.
      	Add core/automatic/image/mutable_image.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@654 4aad255d-cdde-0310-9447-f3009e2ae8c0
      61b3b113
    • Thierry Geraud's avatar
      2006-10-17 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 6d7945c2
      Thierry Geraud authored
      	Add basic function to remove '*', '&', "const", and "[]" from
      	types.
      	
      	* mlc/basic.hh: New.
      	* mlc/is_a.hh (mlc_is_a, mlc_is_a_): Use basic_ for T.
      	(mlc_is_not_a, mlc_is_not_a_): Likewise.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@653 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6d7945c2
    • Thierry Geraud's avatar
      2006-10-17 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 6317f522
      Thierry Geraud authored
      	Replace the 'is_mutable' property by checking the 'lvalue' type.
      	
      	* oln/core/automatic/image/image_being_mutable.hh: Rename as...
      	* oln/core/automatic/image/mutable_image.hh: ...this.
      	(image_being_mutable): Rename as...
      	(mutable_image): ...this.
      	* oln/level/fill.hh: Update.
      	* oln/core/typedefs.hh (is_mutable_type): Remove; obsolete.
      	* oln/core/abstract/image/mutability/hierarchy.hh
      	(include) : Update.
      	(image_being_mutable): Rename as...
      	(mutable_image): ...this.
      	(case_): Rely now on mlc_is_ok(oln_lvalue(E)).
      	* oln/core/1d/image1d.hh: Update.
      	* oln/core/2d/image2d.hh: Update.
      	* oln/core/3d/image3d.hh: Update.
      	* oln/core/gen/mapimage.hh: Update.
      	* oln/morpher/value_cast.hh: Update.
      	* oln/morpher/thru_fun.hh: Update.
      	* oln/morpher/internal/image_value_morpher.hh: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@652 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6317f522
    • Thierry Geraud's avatar
      2006-10-17 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · a4fff6b3
      Thierry Geraud authored
      	Add computability image hierarchy.
      	
      	* oln/core/abstract/image/computability: New.
      	* oln/core/abstract/image/computability/hierarchy.hh: New.
      	* oln/core/typedefs.hh (is_computed_type): New.
      	* oln/core/image_entry.hh (is_computed_type): New in vtypes.
      	* oln/core/abstract/image.hh (decl): Update.
      	* oln/core/abstract/image/hierarchies.hh
      	(image_hierarchy_wrt_computability): New.
      	(hierarchy): Update ids.
      	* oln/core/abstract/image/all.hh
      	(include): Add computability/hierarchy.hh.
      	* oln/core/1d/image1d.hh: Update.
      	* oln/core/2d/image2d.hh: Likewise.
      	* oln/core/3d/image3d.hh: Likewise.
      	* oln/core/gen/mapimage.hh: Likewise.
      	* oln/morpher/value_cast.hh: Likewise.
      	* oln/morpher/thru_fun.hh: Likewise.
      	* oln/morpher/internal/image_value_morpher.hh: Likewise.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@651 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a4fff6b3
    • Thierry Geraud's avatar
      2006-10-17 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 274aeb4b
      Thierry Geraud authored
      	Adjust lvalue so that it handles a '&' when needed.
      	
      	* oln/core/automatic/image/image1d.hh (impl_at): Adjust.
      	* oln/core/automatic/image/image2d.hh: Likewise.
      	* oln/core/automatic/image/image3d.hh: Likewise.
      	* oln/core/automatic/image/image_being_mutable.hh: Likewise.
      	* oln/core/abstract/image/mutability/hierarchy.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/1d/image1d.hh: Likewise.
      	* oln/core/2d/image2d.hh: Likewise.
      	* oln/core/3d/image3d.hh: Likewise.
      	* oln/core/gen/mapimage.hh: Likewise.
      	* oln/core/abstract/image/type/integre.hh: Fix case number wrt
      	those defined in hierarchy.hh.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@650 4aad255d-cdde-0310-9447-f3009e2ae8c0
      274aeb4b
  7. 16 Oct, 2006 9 commits
    • Roland Levillain's avatar
      Adjust tests. · 6eaababf
      Roland Levillain authored
      	* tests/window2d.cc: Disable display.
      	* tests/image_entry.cc, tests/identity_morpher.cc,
      	* tests/add_neighborhood_morpher.cc, tests/morphers.cc:
      	Remove mlc_is_a tests w.r.t to oln::abstract::grey_level_image,
      	since its definition has changed.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@649 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6eaababf
    • Roland Levillain's avatar
      Polish the accesses to bbox_<point> as a virtual type. · 7f7a4e64
      Roland Levillain authored
      	* oln/core/gen/bbox.hh (oln::bbox_::self_t): Rename as...
      	(oln::bbox_::self_type): ...this.
      	Make it public.
      	(oln::bbox_::super_t): Adjust.
      	* oln/core/gen/topo_lbbox.hh
      	(vtypes< topo_lbbox_<point> >::bbox_type): Adjust.
      	* oln/core/gen/topo_bbox.hh (oln::vtypes< topo_lbbox_<point> >):
      	Define this virtul type using `bbox_<point>::self_t' instead of
      	just `bbox_<point>' to force the instiantiation of
      	oln::bbox_<point> at this point.
      	(oln::topo_bbox_<point>::bbox_t): Use oln_type_of to define it.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@648 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7f7a4e64
    • Thierry Geraud's avatar
      2006-10-16 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 8c83f85b
      Thierry Geraud authored
      	Add value cast image morpher.
      	
      	* tests/value_cast.cc: New.
      	* tests/Makefile.am: Update.
      	* oln/morpher/value_cast.hh: New.
      	* oln/Makefile.am: Update.
      	* oln/morpher/internal/image_value_morpher.hh (lvalue): Change
      	definition mode from single_vtype to vtypes.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@647 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8c83f85b
    • Thierry Geraud's avatar
      2006-10-16 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · c7bfe7d0
      Thierry Geraud authored
      	* xtd/optraits.hh (get_trait_): Change mlc_is_found into mlc::is_ok_
      	so that mlc::undefined means 'not user-defined'.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@646 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c7bfe7d0
    • Thierry Geraud's avatar
      Index: ChangeLog · 13b28a69
      Thierry Geraud authored
      ===================================================================
      --- ChangeLog	(revision 644)
      +++ ChangeLog	(working copy)
      @@ -1,5 +1,20 @@
       2006-10-16  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>
       
      +	Add binary value type plus update image hierarchy plugs.
      +	
      +	* oln/value/tags.hh: New.
      +	* oln/value/bin.hh: New.
      +	* oln/value/all.hh: New.
      +	* oln/core/abstract/image/type/hierarchy.hh (case_): Rely on value
      +	tags.
      +	(case_): Overload to handle other value types.
      +	(include): Update.
      +	* oln/value/greylevel.hh (greylevel_): New conversion operator.
      +	(gl1): Remove; now replaced by value::bin.
      +	* oln/Makefile.am: Update.
      +	
      +2006-10-16  Thierry GERAUD  <theo@tegucigalpa.lrde.epita.fr>
      +
       	Add grey-level types.
       	
       	* tests/grey.cc: New.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@645 4aad255d-cdde-0310-9447-f3009e2ae8c0
      13b28a69
    • Thierry Geraud's avatar
      2006-10-16 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 929af889
      Thierry Geraud authored
      	Add grey-level types.
      	
      	* tests/grey.cc: New.
      	* tests/Makefile.am: Update.
      	* oln/value/default.hh: New.
      	* oln/value/greylevel.hh: New.
      	* oln/Makefile.am: Update.
      	* oln/core/abstract/value.hh (value): Remove inheritance
      	so that a value type is not a regular oln type.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@644 4aad255d-cdde-0310-9447-f3009e2ae8c0
      929af889
    • Thierry Geraud's avatar
      2006-10-16 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · e2519278
      Thierry Geraud authored
      	Enhance xtd traits mechanism so that set of traits can be defined.
      	
      	* xtd/optraits.hh (from_set_traits_): New.
      	* xtd/traits.hh (set_traits_): New.
      	(from_set_traits_): New.
      	(set_trait_): New specialization.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@643 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e2519278
    • Roland Levillain's avatar
      Fix the distribution. · d0ff1d63
      Roland Levillain authored
      	* oln/Makefile.am (nobase_oln_HEADERS): Remove core/1d/bbox1d.hh,
      	core/2d/bbox2d.hh and core/3d/bbox3d.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@642 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d0ff1d63
    • Roland Levillain's avatar
      Get rid of the explicit instantiations of oln::bbox<>. · 963ea757
      Roland Levillain authored
      	* oln/core/gen/topo_lbbox.hh (oln::vtypes< topo_lbbox_<point> >):
      	Define this virtul type using `bbox_<point>::self_t' instead of
      	just `bbox_<point>' to force the instiantiation of
      	oln::bbox_<point> at this point.
      	(oln::topo_lbbox_<point>::bbox_t): Use oln_type_of to define it
      	(more of an aesthetic change than a functional change).
      	* oln/core/1d/bbox1d.hh, oln/core/2d/bbox2d.hh,
      	* oln/core/3d/bbox3d.hh: Remove.
      	* oln/basics1d.hh, oln/basics2d.hh, oln/basics3d.hh,
      	* oln/core/1d/image1d.hh, oln/core/2d/image2d.hh,
      	* oln/core/3d/image3d.hh: Remove their inclusions.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@641 4aad255d-cdde-0310-9447-f3009e2ae8c0
      963ea757
  8. 13 Oct, 2006 4 commits
    • Roland Levillain's avatar
      Fix oln/core/iterator_vtypes.hh w.r.t. backward niters. · 8b54945e
      Roland Levillain authored
      	* oln/core/iterator_vtypes.hh (oln::bkd_niter_neighb_): New
      	forward declaration.
      	(single_vtype<morpher::add_neighborhood<Image, Neighb>,
      	 typedef_::bkd_niter_type >): Fix ret.
      	Add comments.
      	Aesthetic changes.
      	* oln/morpher/add_neighborhood.hh
      	(oln/core/gen/bkd_niter_neighb.hh): Include it.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@640 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8b54945e
    • Roland Levillain's avatar
      Add backward iterators on neighborhoods and windows. · c265f3d3
      Roland Levillain authored
      	* oln/core/gen/bkd_niter_neighb.hh,
      	* oln/core/gen/bkd_qiter_win.hh: New.
      	* oln/core/gen/fwd_niter_neighb.hh
      	(oln::fwd_niter_neighb_<point_t>::fwd_niter_neighb_)
      	(oln::fwd_niter_neighb_<point_t>::impl_next)
      	* oln/core/gen/fwd_qiter_win.hh
      	(oln::fwd_qiter_win_<point_t>::fwd_qiter_win_)
      	(oln::fwd_qiter_win_<point_t>::impl_next): Initialize i_
      	using this->invalidate().
      	* oln/core/1d/aliases.hh (oln::bkd_qiter_win_): New forward
      	declaration.
      	(oln::bkd_qiter1d): New typedef.
      	* oln/core/2d/aliases.hh (oln::bkd_qiter_win_): New forward
      	declaration.
      	(oln::bkd_qiter2d): New typedef.
      	* oln/core/3d/aliases.hh (oln::bkd_qiter_win_): New forward
      	declaration.
      	(oln::bkd_qiter3d): New typedef.
      	* oln/core/iterator_vtypes.hh
      	(oln::single_vtype<image1d<T>, typedef_::bkd_qiter_type>)
      	(oln::single_vtype<image2d<T>, typedef_::bkd_qiter_type>)
      	(oln::single_vtype<image3d<T>, typedef_::bkd_qiter_type>): New
      	vtypes.
      	* oln/basics1d.hh (oln/core/gen/window.hh)
      	(oln/core/gen/fwd_qiter_win.hh, oln/core/gen/bkd_qiter_win.hh):
      	* oln/basics2d.hh (oln/core/gen/bkd_qiter_win.hh)
      	* oln/basics3d.hh (oln/core/gen/window.hh)
      	(oln/core/gen/fwd_qiter_win.hh, oln/core/gen/bkd_qiter_win.hh):
      	Include them.
      	* oln/Makefile.am (nobase_oln_HEADERS): Add
      	core/gen/bkd_niter_neighb.hh and core/gen/bkd_qiter_win.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@639 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c265f3d3
    • Roland Levillain's avatar
      Add some documentation to image abstractions. · ba648903
      Roland Levillain authored
      	* oln/core/abstract/image/hybrid/classical.hh: Add documentation.
      	* oln/core/abstract/image/dimension/hierarchy.hh,
      	* oln/core/abstract/image/type/hierarchy.hh: Update documentation.
      	* oln/core/abstract/image/neighborhood/hierarchy.hh: Remove dead
      	comments.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@638 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ba648903
    • Roland Levillain's avatar
      Factor oln::grid1d, oln::grid2d and oln::grid3d into oln::grid_<>. · 28bb75aa
      Roland Levillain authored
      	* oln/core/1d/grid1d.hh, oln/core/2d/grid2d.hh,
      	* oln/core/3d/grid3d.hh: Remove.
      	* oln/core/gen/grid.hh: New file.
      	* oln/core/1d/image1d.hh, oln/core/2d/image2d.hh,
      	* oln/core/3d/image3d.hh: Include it.
      	* oln/core/1d/aliases.hh (oln::grid_): Declare it.
      	(oln::grid1d): Adjust definition.
      	* oln/core/2d/aliases.hh (oln::grid_): Declare it.
      	(oln::grid2d): Adjust definition.
      	* oln/core/3d/aliases.hh (oln::grid_): Declare it.
      	(oln::grid3d): Adjust definition.
      	* oln/basics1d.hh, oln/basics2d.hh, oln/basics3d.hh,
      	* oln/core/abstract/image/dimension/hierarchy.hh,
      	* oln/core/abstract/image/hybrid/classical.hh,
      	* oln/core/abstract/point_set/point_set_being_connected.hh,
      	* oln/Makefile.am,
      	* tests/grid.cc: Adjust.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@637 4aad255d-cdde-0310-9447-f3009e2ae8c0
      28bb75aa