1. 13 Jul, 2007 1 commit
    • Thierry Geraud's avatar
      Add subset notion in milena. · 8537be0a
      Thierry Geraud authored
      	Add materials.
      
      	* mln/convert/to_image.hh: New.
      	* mln/convert/to_window.hh: New.
      	* mln/estim: New.
      	* mln/estim/count.hh: New.
      	* mln/debug/format.hh: New.
      	* mln/geom: New.
      	* mln/geom/pmin_pmax.hh: New.
      	* mln/geom/bbox.hh: New.
      	* mln/core/psubset.hh: New.
      	* mln/core/psubset_piter.hh: New.
      	* mln/core/concept/function.hh: New.
      	* mln/core/internal/piter_adaptor.hh: New.
      	* mln/fun/chess.hh: New.
      
      	Add some tests.
      	
      	* tests/safe_image.cc: New.
      	* tests/to_image.cc: New.
      	* tests/psubset.cc: New.
      	* tests/println.cc: New.
      	
      	Several improvements.
      	
      	* mln/debug/println.hh: Use debug::format.
      	* mln/core/box.hh (len): Move...
      	* mln/core/concept/box.hh: ...here.
      	* mln/core/point.hh (zero): Turn into var.
      	(point_): Bound ctor arg f.
      	* mln/core/dpoint.hh: Likewise.
      	* mln/core/neighb.hh (dpoint): New typedef.
      	* mln/core/concept/image.hh: Remove obsolete commentary.
      	* mln/core/concept/iterator.hh
      	(for_all_remaining): New macro.
      	* mln/core/concept/point_set.hh (operator<<): New.
      	* mln/core/concept/neighborhood.hh
      	(dpoint): Make it appear in commentary.
      	* mln/core/concept/doc/neighborhood.hh (dpoint): New.
      	* mln/core/concept/doc/box.hh: Cosmetics.
      	* mln/core/window.hh (b_): New attribute.
      	Update.
      	* mln/core/image2d_b.hh (bbox): Remove; redundant.
      	(at): New couple of methods.
      	Update.
      	* mln/core/internal/image_adaptor.hh: Fix.
      	* mln/core/internal/image_base.hh: Add preconditions.
      	* mln/core/internal/set_of.hh: Add a todo entry.
      	* mln/core/safe_image.hh: Help g++-2.95.
      	* mln/fun/all.hh: Add inheritance.
      	
      	Change mk_<object> into make::<object>.
      	
      	* mln/make: New directory.
      	* mln/core/dpoint2d.hh (mk_dpoint2d): Move to...
      	* mln/make/dpoint2d.hh: this new file.
      	(mk_dpoint2d): Rename as...
      	(dpoint2d): ...this.
      	* mln/core/window2d.hh (mk_window2d): Move to...
      	* mln/make/window2d.hh: this new file.
      	(mk_window2d): Rename as...
      	(window2d): ...this.
      	* mln/core/box2d.hh (mk_box2d): Move to...
      	* mln/make/box2d.hh: this new file.
      	(mk_box2d): Rename as...
      	(box2d): ...this.
      	* mln/core/point2d.hh (mk_point2d): Move to...
      	* mln/make/point2d.hh: this new file.
      	(mk_point2d): Rename as...
      	(point2d): ...this.
      	* tests/window2d.cc,
      	* tests/pixter_dpoint2d.cc,
      	* tests/box2d.cc,
      	* tests/point2d.cc,
      	* tests/dpoint2d.cc,
      	* tests/main.cc,
      	* mln/core/neighb2d.hh,
      	* mln/debug/println.hh,
      	* mln/core/rectangle2d.hh,
      	* mln/core/pixter2d_b.hh,
      	* mln/io/save_pgm.hh,
      	* mln/io/load_pgm.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1010 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8537be0a
  2. 12 Jul, 2007 1 commit
    • Thierry Geraud's avatar
      Add naive median to milena + fix problems with g++-2.95. · 1f478867
      Thierry Geraud authored
      	* tests/window2d.cc: .
      	* tests/median.cc: .
      	* tests/box2d.cc: .
      	* tests/naive_median.cc: New.
      	* tests/histo.cc: .
      	* tests/rectangle2d.cc: New.
      	* mln/convert/to_dpoint.hh: Fix missing include.
      	* mln/level/naive: New.
      	* mln/level/naive/median.hh: New.
      	* mln/level/median.hh: Update.
      	* mln/io/save_pgm.hh,
      	* mln/io/load_pgm.hh: Conform with g++-2.95.
      	* mln/core/dpoint2d.hh (up, down, left, right): New.
      	* mln/core/box.hh: Add impl inheritance.
      	* mln/core/rectangle2d.hh: Fake typedef; add FIXME.
      	(sym_): New.
      	* mln/core/concept/window.hh (operator-): New.
      	* mln/core/concept/doc/window.hh: Update.
      	* mln/core/window.hh (sym_): New.
      	(operators): Help g++-2.95.
      	* mln/core/image2d_b.hh: Add impl inheritance.
      	(init_with, bbox): New.
      	(nrows, ncols): Remove; now inherited.
      	* mln/core/internal/coord_impl.hh: Fix missing include.
      	* mln/core/internal/box_impl.hh: New.
      	* mln/core/internal/set_of.hh: Turn to lazy.
      	(operator==): New.
      	* mln/accu/median.hh: Conform with g++-2.95.
      	* mln/value/viter.hh: Help g++-2.95.
      	* mln/value/set.hh: Cosmetics.
      	* mln/value/int_u.hh: Help g++-2.95.
      	* mln/value/internal/value_like.hh (to_equiv): New.
      	* mln/border/thickness.hh: Remove const.
      	* img: New.
      	* img/lena.pgm: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1006 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f478867
  3. 11 Jul, 2007 1 commit
    • Thierry Geraud's avatar
      Better milena median. · 9fe6c1fc
      Thierry Geraud authored
      	* tests/median.cc: Update.
      	* mln/convert/to_dpoint.hh: New.
      	* mln/debug/println.hh (println): Add endl.
      	* mln/level/median.hh: New.
      	* mln/io/save_pgm.hh: New.
      	* mln/io/load_pgm.hh: New.
      	* mln/core/box.hh (len): New.
      	* mln/core/concept/box.hh: Likewise.
      	* mln/core/point.hh (zero): New.
      	* mln/core/dpoint.hh: Likewise.
      	* mln/core/concept/window.hh (dpoint, point): New.
      	* mln/core/window.hh,
      	* mln/core/rectangle2d.hh: Update.
      	* mln/core/concept/genpoint.hh: Remove dead line.
      	* mln/core/concept/dpoint.hh (operator+): New.
      	* mln/core/image2d_b.hh: .
      	* mln/core/internal/force_exact.hh: Avoid obj creation.
      	* mln/accu: New.
      	* mln/value/histo.hh: Rename as...
      	* mln/value/median.hh: ...this.
      	* mln/accu/histo.hh: Rename as...
      	* mln/accu/median.hh: ...this.
      	* mln/accu/median_alt.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1005 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9fe6c1fc
  4. 26 Apr, 2007 1 commit
    • Thierry Geraud's avatar
      Introduce zero and update some traits and ops. · 32087c69
      Thierry Geraud authored
      	* oln/convert/to_dpoint.hh: New.
      	* oln/core/gen/zero.hh: New.
      	* oln/core/concept/literal.hh: New.
      	* tests/core/pw_value.cc,
      	* oln/core/gen/over.hh,
      	* oln/convert/to_weighted_window.hh,
      	* oln/draw/bresenham.hh,
      	* oln/morpho/elementary_gradient.hh,
      	* oln/morpho/elementary_gradient_external.hh,
      	* oln/morpho/gradient_internal.hh,
      	* oln/morpho/top_hat_black.hh,
      	* oln/morpho/gradient.hh,
      	* oln/morpho/top_hat_white.hh,
      	* oln/morpho/gradient_external.hh,
      	* oln/morpho/elementary_gradient_internal.hh,
      	* oln/level/compare.hh,
      	* oln/linear/convolution.hh,
      	* oln/linear/mean.hh: Update.
      	* oln/core/gen/traits.hh
      	(oln_internal_specialize_un_trait_T_): New.
      	(clean_for_trait_): New specializations.
      	* oln/core/gen/value.hh (set_trait_): Remove.
      	* oln/core/gen/such_as.hh: Add reminder.
      	* oln/core/concept/iterator_on_points.hh
      	(set_trait_): New specializations.
      	* oln/core/concept/point.hh (assign_): New.
      	(operator): Fix.
      	* oln/core/concept/dpoint.hh: Likewise.
      	* oln/core/concept/window.hh (op_unary_minus_): Change into...
      	(operator-): ...this.
      	* oln/core/concept/operators.hh: Fix.
      	* oln/core/internal/dpoint_base.hh
      	(impl_op_equal_),
      	(impl_op_mod_equal_),
      	(impl_op_less_),
      	(impl_op_plus_equal_),
      	(impl_op_minus_equal_),
      	(impl_op_mod_equal_),
      	(impl_op_unary_minus_): Rmove; obsolete.
      	* oln/value/builtin.hh (super_trait_): New ones.
      	* oln/value/builtin_traits.hh (set_trait_): New one.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@969 4aad255d-cdde-0310-9447-f3009e2ae8c0
      32087c69
  5. 21 Mar, 2007 1 commit
    • Thierry Geraud's avatar
      Handle virtual borders. · a3ffe3dc
      Thierry Geraud authored
      	* oln/morpher/add_neighborhood.hh: Remove; obsolete.
      	* oln/border/fill.hh: New.
      	* oln/accumulator/min.hh (operator()): Untemplate.
      	* oln/debug/print_nbh.hh: Use macros.
      	* oln/debug/println.hh (println): Remove unuseful exact.
      	* oln/core/concept/image.hh (Image_with_Border): New.
      	* oln/core/concept/image_identity.hh (set_impl): New version.
      	* oln/core/concept/accumulator.hh (init_with): New.
      	* oln/core/1d/image1d_b.hh (vborder): New.
      	(border): Rename as...
      	(impl_border): ...this.
      	* oln/core/2d/image2d_b.hh: Likewise.
      	* oln/core/2d/array2d.hh (row_pad): New.
      	* oln/core/equipment.hh (vborder): New.
      	* oln/core/internal/image_selectors.hh (Image_border): New.
      	* oln/morpho/elementary_erosion.hh (elementary_erosion_): Handle border.
      	(elementary_erosion_): New version; fast, to be activated.
      	(include): Add border/fill.hh.
      	* oln/level/local.hh (init): Replace this call by...
      	(init_with): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@891 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a3ffe3dc
  6. 15 Mar, 2007 1 commit
    • Thierry Geraud's avatar
      Add type of ''image restricted_to a subset''. · e8815669
      Thierry Geraud authored
      	* tests/core/subset.cc: New.
      	* tests/core/Makefile.am: Update.
      	* oln/debug/println.hh: New.
      	* oln/core/internal/op_image_restricted_to_pset.hh: New.
      	* oln/debug/print.hh: Fix copyright.
      	* oln/core/concept/image.hh (bbox): Provide a final impl.
      	* oln/core/rle/rle_image.hh,
      	* oln/core/concept/image_identity.hh,
      	* oln/core/sparse/sparse_image.hh,
      	* oln/core/1d/image1d.hh
      	* oln/core/1d/image1d_b.hh
      	* oln/core/2d/image2d.hh
      	* oln/core/2d/image2d_b.hh: Update.
      	* oln/core/concept/neighborhood.hh (oln_decl_op_plus): Move to...
      	* oln/core/gen/neighb.hh: ...this file.
      	* oln/core/gen/op.hh (oln_decl_op_restricted_to, restricted_to):
      	New.
      	* oln/core/internal/point_set_base.hh (category): New.
      	* oln/core/internal/op_image_plus_nbh.hh: Add static assert.
      	* oln/core/internal/image_base.hh (include): Add
      	op_image_restricted_to_pset.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@877 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e8815669
  7. 08 Mar, 2007 1 commit
    • Thierry Geraud's avatar
      Add the notion of image plus neighborhood and the underlying · ae69f455
      Thierry Geraud authored
      	mechanism.
      	
      	* oln/debug/print_nbh.hh,
      	* oln/debug/iota.hh,
      	* oln/core/concept/image_identity.hh,
      	* oln/core/gen/op.hh,
      	* oln/core/internal/op_image_plus_nbh.hh,
      	* oln/core/internal/special_op.hh: New.
      	* oln/core/concept/image.hh (fwd_niter, bkd_niter, niter): New.
      	* oln/core/concept/neighborhood.hh (category): New.
      	(include): Add op_image_plus_nbh.hh.
      	(oln_decl_op_plus): New.  Handle "Image + Neighborhood".
      	* oln/core/equipment.hh (left, right, oper, tag): New.
      	* oln/core/gen/single_value_image.hh: Fix.
      	* oln/core/internal/neighborhood_base.hh (category): New.
      	(neighborhood_base_): Fix inheritance.
      	* oln/core/internal/image_base.hh (image_extension_): New.
      	(image_base_): Add dpoint.
      	* oln/stc/scoop.hxx (vtypes, super_trait_): Add specialization
      	for const types.
      	(super_trait_): Handle error when not user-defined.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@859 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ae69f455
  8. 19 Jan, 2007 1 commit
    • Thomas Moulard's avatar
      Split morphers' interface and implementation. · a161df7d
      Thomas Moulard authored
      	* oln/morpher/add_isubset.hh: Split into...
      	* oln/morpher/add_isubset.hxx: ...this new file.
      	* oln/morpher/add_neighborhood.hh: Split into...
      	* oln/morpher/add_neighborhood.hxx: : ...this new file.
      	* oln/morpher/count_rw.hh: Split into...
      	* oln/morpher/count_rw.hxx: : ...this new file.
      	* oln/morpher/identity.hh: Split into...
      	* oln/morpher/identity.hxx: : ...this new file.
      	* oln/morpher/stack.hh: Split into...
      	* oln/morpher/stack.hxx: : ...this new file.
      	* oln/morpher/stack_rw.hh: Split into...
      	* oln/morpher/stack_rw.hxx: : ...this new file.
      	* oln/morpher/thru_fun.hh: Split into...
      	* oln/morpher/thru_mfun.hh: Split into...
      	* oln/morpher/thru_mfun.hxx: : ...this new file.
      	* oln/morpher/two_way.hh: Split into...
      	* oln/morpher/two_way.hxx: : ...this new file.
      	* oln/morpher/two_way_rw.hh: Split into...
      	* oln/morpher/two_way_rw.hxx: : ...this new file.
      	* oln/morpher/value_cast.hh: Split into...
      	* oln/morpher/value_cast.hxx: : ...this new file.
      	* oln/morpher/with_lut.hh: Split into...
      	* oln/morpher/with_lut.hxx: : ...this new file.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@720 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a161df7d
  9. 09 Oct, 2006 1 commit
    • 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
  10. 27 Sep, 2006 1 commit
    • 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
  11. 31 Aug, 2006 1 commit
    • Thierry Geraud's avatar
      2006-08-31 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 65f043b1
      Thierry Geraud authored
      	Add dpoint, oln traits, and operators on point/dpoint.
      	
      	* oln/core/type.hh: New.
      	* oln/core/traits_id.hh: New.
      	* oln/core/abstract/dpoint.hh: New.
      	* oln/core/abstract/dpoint_nd.hh: New.
      	* oln/core/traits.hh: New.
      	* oln/core/2d/dpoint2d.hh: New.
      	* oln/core/abstract/point.hh (point): Add inheritance to
      	oln::type.
      	(operators): New.
      	* oln/core/abstract/point_nd.hh (point_): New meta-function.
      	(impl_eq): Rename as...
      	(impl_equal): ...this.
      	(coord): Rename as...
      	(coord_t): ...this.
      	(impl_less): New.
      	(impl_plus_equal, impl_plus): New.
      	(impl_minus_equal, impl_minus, impl_minus): New.
      	(vec): New.
      	(case_): New specializations.
      	(point_nd): New ctor.
      	* oln/core/2d/point2d.hh: Update forward declarations.
      	(point_, dpoint_): New specializations.
      	(point2d): New ctor.
      	(coord): Rename as...
      	(coord_t): ...this.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@511 4aad255d-cdde-0310-9447-f3009e2ae8c0
      65f043b1
  12. 21 Apr, 2006 1 commit
    • Roland Levillain's avatar
      Fix copyright notices. · bab301fd
      Roland Levillain authored
      	* extended/xtd/res.hh,
      	* extended/xtd/math.hh,
      	* extended/xtd/cast.hh,
      	* extended/xtd/cfun.hh,
      	* extended/xtd/mexpr.hh,
      	* extended/xtd/math/log.hh,
      	* extended/xtd/math/floor.hh,
      	* extended/xtd/math/tan.hh,
      	* extended/xtd/math/log10.hh,
      	* extended/xtd/math/atan.hh,
      	* extended/xtd/math/cos.hh,
      	* extended/xtd/math/acos.hh,
      	* extended/xtd/math/sqrt.hh,
      	* extended/xtd/math/sin.hh,
      	* extended/xtd/math/tanh.hh,
      	* extended/xtd/math/asin.hh,
      	* extended/xtd/math/cosh.hh,
      	* extended/xtd/math/id.hh,
      	* extended/xtd/math/exp.hh,
      	* extended/xtd/math/logic.hh,
      	* extended/xtd/math/sinh.hh,
      	* extended/xtd/math/abs.hh,
      	* extended/xtd/math/pow.hh,
      	* extended/xtd/math/atan2.hh,
      	* extended/xtd/math/includes.hh,
      	* extended/xtd/math/arith.hh,
      	* extended/xtd/math/constraints.hh,
      	* extended/xtd/math/ceil.hh,
      	* extended/xtd/math/cmp.hh,
      	* extended/xtd/literal.hh,
      	* extended/xtd/args.hh,
      	* extended/xtd/mfun.hh,
      	* extended/xtd/abstract/nary_fun.hh,
      	* extended/xtd/abstract/open_nary_fun.hh,
      	* extended/xtd/abstract/plain_nary_fun.hh,
      	* extended/xtd/abstract/fun_expr.hh,
      	* extended/xtd/abstract/meta_nary_fun.hh,
      	* extended/xtd/abstract/fun.hh,
      	* extended/xtd/abstract/open_fun.hh,
      	* extended/xtd/abstract/plain_fun.hh,
      	* extended/xtd/abstract/meta_fun.hh,
      	* extended/xtd/abstract/fun_nary_expr.hh,
      	* extended/xtd/optraits.hh,
      	* extended/xtd/traits.hh,
      	* extended/xtd/builtin/traits.hh,
      	* extended/xtd/arg.hh,
      	* extended/xtd/bind.hh,
      	* extended/xtd/internal/opmacros.hh,
      	* extended/xtd/internal/mlc.hh,
      	* metalic/mlc/elt.hh,
      	* metalic/mlc/ret.hh,
      	* metalic/mlc/int.hh,
      	* metalic/mlc/pair.hh,
      	* metalic/mlc/bool.hh,
      	* metalic/mlc/flags.hh,
      	* metalic/mlc/comma.hh,
      	* metalic/mlc/logic.hh,
      	* metalic/mlc/if.hh,
      	* metalic/mlc/values.hh,
      	* metalic/mlc/typedef.hh,
      	* metalic/mlc/assert.hh,
      	* metalic/mlc/switch.hh,
      	* metalic/mlc/valist.hh,
      	* metalic/mlc/implies.hh,
      	* metalic/mlc/abstract/type.hh,
      	* metalic/mlc/abstract/bexpr.hh,
      	* metalic/mlc/abort.hh,
      	* metalic/mlc/to_string.hh,
      	* metalic/mlc/wrap.hh,
      	* metalic/mlc/is_a.hh,
      	* metalic/mlc/case.hh,
      	* metalic/mlc/value.hh,
      	* metalic/mlc/char.hh,
      	* metalic/mlc/contract.hh,
      	* metalic/mlc/uint.hh,
      	* metalic/mlc/cmp.hh,
      	* metalic/mlc/bexpr.hh,
      	* static/tests/properties.cc,
      	* static/tests/entry.cc,
      	* static/tests/any.cc: Update the FSF postal address.
      
      	* extended/tests/cfun.cc,
      	* extended/tests/id.cc,
      	* extended/tests/bind.cc,
      	* extended/tests/bi_traits/bool.cc,
      	* extended/tests/bi_traits/char.cc,
      	* extended/tests/bi_traits/sint.cc,
      	* extended/tests/bi_traits/uint.cc,
      	* extended/tests/bi_traits/schar.cc,
      	* extended/tests/bi_traits/slong.cc,
      	* extended/tests/bi_traits/sshort.cc,
      	* extended/tests/bi_traits/uchar.cc,
      	* extended/tests/bi_traits/ushort.cc,
      	* extended/tests/bi_traits/ulong.cc,
      	* extended/tests/bi_traits/float.cc,
      	* extended/tests/bi_traits/ldouble.cc,
      	* extended/tests/bi_traits/double.cc,
      	* extended/tests/cos.cc,
      	* extended/tests/abs.cc,
      	* extended/tests/optraits.cc,
      	* extended/tests/lit.cc,
      	* extended/tests/math.cc,
      	* extended/tests/cast.cc,
      	* metalic/tests/is_a.cc,
      	* metalic/tests/case.cc,
      	* metalic/tests/if.cc,
      	* metalic/tests/typedef.cc,
      	* metalic/tests/or.cc,
      	* metalic/tests/switch.cc,
      	* metalic/tests/gcase.cc,
      	* metalic/tests/protected.cc,
      	* metalic/tests/ret.cc,
      	* static/stc/entry.hh,
      	* static/stc/any.hh,
      	* static/stc/properties.hh: Add missing copyright notices.
      
      	* olena/oln/core/typedefs.hh,
      	* olena/oln/core/abstract/image.hh,
      	* olena/oln/core/abstract/image_entry.hh,
      	* olena/oln/core/abstract/macros.hh,
      	* olena/oln/core/abstract/image_dimension.hh,
      	* olena/oln/core/abstract/any.hh,
      	* olena/oln/core/abstract/internal/image_impl.hh: .
      	* olena/tests/image_entry.cc: Fix the FSF postal address.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@465 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bab301fd
  13. 11 Apr, 2006 1 commit
    • Thierry Geraud's avatar
      Fix some icpc remarks and update operator traits. · 1f570ebc
      Thierry Geraud authored
      - xtd/res.hh (macros): Add spaces to fix pb with icpc preproc.
      - xtd/args.hh (xtd_nargs): Likewise.
      - xtd/math/abs.hh (internal::int_): Handwrite code.
      - xtd/math/pow.hh: Cosmetics.
      - xtd/math/arith.hh: Add comments.
      - xtd/literal.hh (argument): Remove reference so that temporaries
      are copied.
      - xtd/abstract/fun_nary_expr.hh: Likewise.
      - xtd/bind.hh: Likewise.
      - xtd/abstract/any.hh: Remove cause obsolete.
      - xtd/abstract/fun.hh: Add doc.
      (abstract::fun_): Disable imperative operators.
      - xtd/abstract/plain_fun.hh: Add doc.
      - xtd/optraits.hh: Rewrite.
      - xtd/traits.hh: New.
      - xtd/builtin/traits.hh: Replace dummy code by effective one.
      - xtd/internal/opmacros.hh: Rewrite.
      - xtd/internal/mlc.hh: Add include.
      - tests: Add ignore rule for '.deps'.
      - tests/cfun.cc: Fix icpc remark.
      - tests/abs.cc: New.
      - tests/optraits.cc: New.
      - tests/Makefile.am: Update.
      - tests/bi_traits: New directory to test builtin op traits.
      - tests/bi_traits/bool.cc: New.
      - tests/bi_traits/char.cc: New.
      - tests/bi_traits/sint.cc: New.
      - tests/bi_traits/uint.cc: New.
      - tests/bi_traits/schar.cc: New.
      - tests/bi_traits/slong.cc: New.
      - tests/bi_traits/uchar.cc: New.
      - tests/bi_traits/sshort.cc: New.
      - tests/bi_traits/ulong.cc: New.
      - tests/bi_traits/ushort.cc: New.
      - tests/bi_traits/float.cc: New.
      - tests/bi_traits/ldouble.cc: New.
      - tests/bi_traits/double.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@457 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f570ebc