1. 27 Sep, 2006 2 commits
    • 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
  2. 25 Sep, 2006 1 commit
    • Thierry Geraud's avatar
      2006-09-25 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · a5e25b0e
      Thierry Geraud authored
      	Update image_extension, add_neighborhood, and some related
      	classes.
      	
      	* oln/automatic/image.hh: New.
      	* oln/core/abstract/image.hh: Include oln/automatic/image.hh.
      	Inherit from automatic::impl.
      	(has): Add FIXME.
      	* oln/core/abstract/image_having_neighborhood.hh (neighborhood):
      	Change so that it relies on topo().  impl_neighborhood() is now
      	obsolete in image classes.
      	* oln/core/2d/aliases.hh (topo2d, fwd_piter2d, bkd_piter2d):
      	Update aliases.
      	* oln/basics2d.hh: Update.
      	* oln/core/2d/image2d.hh (topo2d, fwd_piter2d, bkd_piter2d):
      	Update and make them explicit.
      	(ctor): Add border argument with default.
      	(impl_op_read): Change fake code.
      	* oln/core/2d/neighb2d.hh: Cosmetics.
      	* oln/core/gen/bbox.hh: Include files for piter types.
      	* oln/morpher/internal/image_extension.hh (morpher_type): New.
      	This class thus factors this definition.
      	(impl_topo, impl_op_read, impl_has): Remove.  These methods
      	are expected to be automatically fetch from top implementation
      	classes.
      	(self_t, image_t, topo_t, value_t, point_t): Remove cause obsolete.
      	* oln/morpher/add_neighborhood.hh (add_neighborhood): Add second
      	parameter Neighb.
      	(include, set_super_type): Update.
      	(neighborhood_type): Change.
      	(ctor): Update.
      	(impl_neighborhood): Remove.
      	(impl_topo): New.
      	(nbh_): Remove.
      	(topo_): New.
      	* tests/add_neighborhood_morpher.cc: Update.
      	* tests/morphers.cc: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@565 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a5e25b0e
  3. 20 Sep, 2006 2 commits
    • Roland Levillain's avatar
      Fix the identity and neighborhood addition morphers. · 507b4bda
      Roland Levillain authored
      	* oln/automatic/image_having_neighborhood.hh: Add a forward
      	declaration of oln::abstract::image_having_neighborhood.
      	(impl<abstract::image_having_neighborhood, morpher::tag::identity, E>):
      	Inherit from abstract::image<E>.
      	(impl_neighborhood): Make it const.
      	Get the exact type before calling delegate().
      	* oln/core/abstract/image_having_neighborhood.hh
      	(oln/automatic/image_having_neighborhood.hh): Include it.
      	(oln::abstract::image_having_neighborhood::neighborhood): New.
      	(case_<image_hierarchy_wrt_neighborhood, E, 1>): Only inherit from
      	oln::abstract::image_having_neighborhood if neighborhood is
      	different from mlc::not_found.
      	(oln::ext_vtype<image_entry<E>, typedef_::neighborhood_type>):
      	Remove.
      	* oln/core/image_entry.hh
      	(single_vtype<image_entry<E>, typedef_::morpher_type>): Remove.
      	Instead, defined the `morpher' virtual type...
      	(vtypes< image_entry<E> >): ...here.
      
      	* oln/morpher/internal/image_extension.hh (image_extension):
      	Fix the inheritance: derive from `oln::image_entry<Exact>' instead
      	of `oln::image_entry< image_extension<Image, Exact> >'.
      	* oln/morpher/identity.hh (oln/morpher/tags.hh): Include it.
      	(oln::single_vtype<morpher::identity<Image>, typedef_::morpher_type>):
      	Remove.
      	Instead, defined the `morpher' virtual type...
      	(oln::vtypes< morpher::identity<Image> >): ...here
      	(oln::morpher::tag::identity): Move...
      	* oln/morpher/tags.hh: ...here (new file).
      	* oln/morpher/add_neighborhood.hh (oln/morpher/tags.hh)
      	(oln/core/2d/aliases.hh): Include them.
      	(oln::single_vtype<morpher::add_neighborhood<Image>,
      	 typedef_::morpher_type>): Remove.
      	Instead, defined the `morpher' virtual type...
      	(oln::vtypes< morpher::add_neighborhood<Image> >): ...here
      	(oln::morpher::add_neighborhood::neighborhood_t): Fix the virtual
      	type retrieval: get it from `self_t', not from `Image'.
      	(ext_vtype<morpher::add_neighborhood< oln::image2d<T> >,
      	 typedef_::neighborhood_type>): Remove.
      	Remove corresponding forward declarations as well.
      	(oln::morpher::tag::add_neighborhood): Move...
      	* oln/morpher/tags.hh: ...here.
      	* tests/identity_morpher.cc, tests/morphers.cc: Fix the test.
      	Add more static assertions.
      
      	* oln/Makefile.am (nobase_oln_HEADERS): Add core/2d/neighb2d.hh,
      	core/abstract/neighborhood.hh, core/gen/neighb.hh and
      	core/neighborhood_entry.hh.
      	* oln/core/2d/image2d.hh: Fix copyright header.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@555 4aad255d-cdde-0310-9447-f3009e2ae8c0
      507b4bda
    • Thierry Geraud's avatar
      2006-09-20 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · c8b45f16
      Thierry Geraud authored
      	Add classes for classical 2d neighborhood.
      	
      	* oln/core/neighborhood_entry.hh: New.
      	* oln/core/abstract/neighborhood.hh: New.
      	* oln/core/2d/neighb2d.hh: New.
      	* oln/core/gen/neighb.hh: New.
      	* oln/core/2d/aliases.hh (neighb2d): New.
      	* oln/basics2d.hh: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@553 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c8b45f16
  4. 18 Sep, 2006 2 commits
    • Thierry Geraud's avatar
      2006-09-18 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · bb7bfc23
      Thierry Geraud authored
      	Rename bbox point iterators.
      	
      	* oln/core/abstract/iterator_on_points.hh
      	(p_): Remove.  Abstract classes should not have attributes.
      	(to_point): Turn abstract.
      	(point_adr): New.
      	* oln/core/gen/fwd_piter.hh: Update and rename as...
      	* oln/core/gen/bbox_fwd_piter.hh: ...this.
      	* oln/core/gen/bkd_piter.hh: Update and rename as...
      	* oln/core/gen/bbox_bkd_piter.hh: ...this.
      	* oln/core/2d/aliases.hh: Update.
      	* oln/core/gen/bbox.hh: Update.
      	* oln/basics2d.hh: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@551 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bb7bfc23
    • Thierry Geraud's avatar
      2006-09-18 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 0a01ef5e
      Thierry Geraud authored
      	Move some abstract classes below entries into internal.
      	
      	* oln/core/abstract/point_nd.hh: Update and rename as...
      	* oln/core/internal/point_nd.hh: ...this.
      	* oln/core/abstract/dpoint_nd.hh: Update and rename as...
      	* oln/core/internal/dpoint_nd.hh: ...this.
      	* oln/core/point_set_entry.hh (is_connected_type): Add in vtypes.
      	* oln/core/abstract/bbox.hh: Change super class from point_set_entry
      	to point_set_having_bbox.
      	(vtypes): Remove.
      	(set_super_type): Remove.
      	* oln/core/abstract/point_set_hierarchies.hh (include): Update.
      	* oln/core/abstract/point_set_having_bbox.hh (case_): Move to...
      	* oln/core/abstract/bbox.hh: ...this file.
      	(case_): Refine for abstract::bbox.
      	* oln/core/2d/dpoint2d.hh: Update.
      	* oln/core/2d/point2d.hh: Update.
      	* oln/core/gen/bbox.hh: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@550 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0a01ef5e
  5. 15 Sep, 2006 2 commits
    • Thierry Geraud's avatar
      2006-09-15 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 3955922c
      Thierry Geraud authored
      	Adapt topology hierarchy to new naming convention.
      	
      	* oln/core/topo_entry.hh: Rename into...
      	* oln/core/topology_entry.hh: ...this.
      	* oln/core/abstract/topo.hh: Rename into...
      	* oln/core/abstract/topology.hh: ...this.
      	* oln/core/abstract/topo_with_bbox.hh: Rename into...
      	* oln/core/abstract/topology_having_bbox.hh: ...this.
      	* oln/core/abstract/topo_hierarchies.hh: Rename into...
      	* oln/core/abstract/topology_hierarchies.hh: ...this.
      	* oln/core/abstract/topo_ra.hh: Rename into...
      	* oln/core/abstract/topology_being_random_accessible.hh: ...this.
      	* oln/core/gen/bbox_topo.hh: Rename into...
      	* oln/core/gen/topo_bbox.hh: ...this.
      	* oln/core/typedefs.hh (is_random_accessible_type): New.
      	* oln/core/2d/aliases.hh: Update.
      	* oln/basics2d.hh: Update.
      	* oln/Makefile.am: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@546 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3955922c
    • Thierry Geraud's avatar
      2006-09-15 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 684efc9e
      Thierry Geraud authored
      	Add operator- to n-dimensional dpoint types.
      	
      	* oln/core/traits_id.hh (op_uminus_dpointnd): New.
      	* oln/core/abstract/dpoint_nd.hh (operator-): New.
      	(impl_less): New.
      	(case_): New case for operator-.
      	* oln/core/2d/dpoint2d.hh (dpoint2d_): New ctor.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@544 4aad255d-cdde-0310-9447-f3009e2ae8c0
      684efc9e
  6. 12 Sep, 2006 1 commit
    • Roland Levillain's avatar
      Fix the current implementation of image_entry, as well as some · 34b029a5
      Roland Levillain authored
      	tests.
      
      	* oln/core/abstract/internal/image_impl.hh (oln::category::image):
      	Move this declaration...
      	* oln/core/abstract/image.hh: ...here.
      	* oln/core/case.hh: New file.
      	* oln/core/abstract/image_abstractions.hh,
      	* olena/oln/core/abstract/entry.hh,
      	* oln/core/traits.hh: Use it.
      	* oln/Makefile.am (nobase_oln_HEADERS): Add core/case.hh.
      
      	* oln/core/abstract/image_dimension.hh
      	(oln::ERROR::UNKNOWN_GRID_TYPE): New.
      	(oln::default_case_<grid_dim_tag, grid_type): Use it.
      	(ext_vtype_in_category): Turn into...
      	(ext_vtype): ...this.
      	* oln/core/abstract/image_typeness.hh (ext_vtype_in_category):
      	Turn into...
      	(ext_vtype): ...this.
      
      	* oln/core/typedefs.hh (oln_type_of, oln_type_of_): Move
      	these macros...
      	* oln/core/abstract/macros.hh: ...here, and replace the previous
      	ones.
      	Rename file as...
      	* oln/core/macros.hh: ...this.
      	Adjust header guards.
      	* oln/core/abstract/internal/image_impl.hh: Adjust users.
      	* oln/Makefile.am (nobase_oln_HEADERS): Remove
      	core/abstract/macros.hh.
      	Add core/macros.hh
      
      	* oln/core/abstract/grid.hh (oln_grd_type_of, oln_grd_type_of_):
      	Remove macros.
      	(vtypes_in_category< category::grid, abstract::grid<G> >): Turn
      	into...
      	(vtypes< abstract::grid<G> >): ...this.
      	(packed_vtypes_in_category<category::grid, G>):
      	s/oln_grd_type_of/oln_type_of/g.
      	* oln/core/1d/grid1d.hh, oln/core/2d/grid2d.hh,
      	* oln/core/3d/grid3d.hh (vtypes_in_category): Turn into...
      	(vtypes): ...this.
      
      	* tests/grid.cc: s/oln_grd_type_of_/oln_type_of_/g
      	* tests/image_entry.cc (my::dummy): New declaration.
      	(vtypes_in_category<category::image, my::image>): Turn into...
      	(vtypes<my::image>): ...this.
      	Add missing virtual types.
      	(my::image): Fix base class.
      	(main): Remove any references to
      	packed_vtypes_in_category<oln::category::image, my::image>, since
      	it no longer exists.
      	* tests/Makefile.am (AM_CPPFLAGS): Add -I$(top_srcdir)/extended.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@529 4aad255d-cdde-0310-9447-f3009e2ae8c0
      34b029a5
  7. 07 Sep, 2006 2 commits
    • Thierry Geraud's avatar
      2006-09-07 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · dd2ae6da
      Thierry Geraud authored
      	Add image2d and fix topo-related classes.
      	
      	* olena/tests/npoints.cc: New.
      	* olena/tests/Makefile.am: Update.
      	* olena/oln/core/image_entry.hh: New.
      	* olena/oln/core/2d/image2d.hh: New.
      	* olena/oln/basics2d.hh: Force instantiation and include
      	oln/core/2d/image2d.hh.
      	* olena/oln/core/typedefs.hh: Include mlc/assert.hh and
      	mlc/to_string.hh.
      	(piter_type): Uncomment.
      	(rvalue_type): New.
      	(psite_type): New.
      	(concrete_type): Uncomment.
      	(size_type): Add comment.
      	(topo_type): New.
      	* olena/oln/core/abstract/topo.hh (bbox): Remove this method which
      	is redundant with the one of topo_with_bbox.
      	* olena/oln/core/abstract/topo_with_bbox.hh (bbox): Fix typo.
      	* olena/oln/core/abstract/entry.hh (next_entry_node): New
      	specialization to handle the specific and rare case of having no
      	sub-hierarchy.
      	* olena/oln/core/abstract/topo_ra.hh: Fix cut n paste errors.
      	* olena/oln/core/abstract/pset.hh (piter): New vtype decl.
      	* olena/oln/core/gen/fwd_piter.hh (fwd_piter_): Add commented
      	forthcoming ctors.
      	* olena/oln/core/gen/bbox_topo.hh: Cosmetics.
      	* olena/oln/core/pset_entry.hh (piter_type): New.
      	* olena/oln/core/abstract/image.hh: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@527 4aad255d-cdde-0310-9447-f3009e2ae8c0
      dd2ae6da
    • Thierry Geraud's avatar
      2006-09-07 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 4c3a9698
      Thierry Geraud authored
      	Start the topology hierarchy.
      	
      	* oln/core/topo_entry.hh: New.
      	* oln/core/abstract/topo.hh: New.
      	* oln/core/abstract/topo_hierarchies.hh: New.
      	* oln/core/abstract/topo_with_bbox.hh: New.
      	* oln/core/abstract/topo_ra.hh: New.
      	* oln/core/gen/bbox_topo.hh: New.
      	* oln/core/2d/aliases.hh (topo2d): New.
      
      	Add a new sub-hierarchy to abstract::pset.
      	
      	* oln/core/abstract/pset_cnx.hh: New.
      	* oln/core/typedefs.hh (cnx_type): New.
      	* oln/core/abstract/pset_hierarchies.hh (pset_cnx_hierarchy): New.
      	* oln/core/abstract/bbox.hh (cnx_type): New.
      	* oln/core/abstract/pset_bboxed.hh (is_valid): Move this method into...
      	* oln/core/abstract/pset.hh (pset): ...this class.
      	(dim): New vtype.
      	* oln/core/pset_entry.hh (single_vtype): Add vtype dim.
      	* oln/basics2d.hh: Include oln/core/gen/bbox_topo.hh.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@526 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4c3a9698
  8. 04 Sep, 2006 1 commit
    • Roland Levillain's avatar
      Adjust virtual types class names. · 8d0886b4
      Roland Levillain authored
      	* oln/core/abstract/image.hh,
      	* oln/core/abstract/image_dimension.hh,
      	* oln/core/abstract/image_typeness.hh,
      	* oln/core/abstract/grid.hh, oln/core/1d/grid1d.hh,
      	* oln/core/2d/grid2d.hh, oln/core/3d/grid3d.hh,
      	* tests/image_entry.cc (vtypes): Rename as...
      	(vtypes_in_category): ...this.
      	* oln/core/abstract/image.hh, oln/core/abstract/grid.hh,
      	* tests/image_entry.cc (packed_vtypes): Rename as...
      	(packed_vtypes_in_category): ...this.
      
      	* oln/core/abstract/point.hh, oln/core/abstract/dpoint.hh,
      	* oln/core/abstract/piter.hh, oln/core/abstract/pset.hh,
      	* oln/core/gen/bbox.hh,
      	* oln/core/gen/bkd_piter.hh, oln/core/gen/fwd_piter.hh,
      	* oln/core/2d/point2d.hh, oln/core/2d/dpoint2d.hh (vtypes_):
      	Rename as...
      	(vtypes).
      	* oln/core/abstract/pset.hh, oln/core/abstract/bbox.hh
      	(ext_vtype_): Rename as...
      	(ext_vtype): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@521 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8d0886b4
  9. 01 Sep, 2006 2 commits
    • Thierry Geraud's avatar
      2006-09-01 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 0b71ec5a
      Thierry Geraud authored
      	* oln/core/abstract/piter.hh (to_point): New.
      	* oln/core/abstract/bbox.hh (pmin, pmax): New overloaded methods.
      	(is_valid, print, operator<<): New.
      	* oln/core/abstract/iter.hh (iter): Change inheritance from
      	any__simple to any__best_memory to fix trouble with multiple
      	inheritance.
      	(ctor): Remove dangerous call to invalidate.
      	* oln/core/abstract/point_nd.hh (operator<<): New.
      	(impl_less): Update.
      	* oln/core/abstract/pset.hh (coord_type): New.
      	* oln/core/2d/point2d.hh (coord_t): Move to public so that this
      	associated type is directly accessible from...
      	* oln/core/gen/bbox.hh (vtypes): ...this set of types.
      	* oln/core/gen/fwd_piter.hh (psup_): Remove.
      	(bbox): New accessor.
      	(impl_next): Rewrite.
      	(print, operator<<): New.
      	(invariant): Strengthen.
      	* oln/core/gen/bkd_piter.hh: Likewise.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@516 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0b71ec5a
    • Thierry Geraud's avatar
      2006-09-01 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 677bbd2d
      Thierry Geraud authored
      	Add bboxes and iterators.
      	
      	* oln/core/abstract/piter.hh: New.
      	* oln/core/abstract/bbox.hh: New.
      	* oln/core/abstract/iter.hh: New.
      	* oln/core/abstract/pset.hh: New.
      	* oln/core/2d/aliases.hh: New.
      	* oln/core/gen/fwd_piter.hh: New.
      	* oln/core/gen/bkd_piter.hh: New.
      	* oln/core/gen/bbox.hh: New.
      	* oln/core/2d/point2d.hh (point2d_): New ctor.
      	(point2d, dpoint2d, point2df, dpoint2df): Move typedefs to...
      	* oln/basics2d.hh: ...this new file.
      	* oln/core/typedefs.hh (oln_type_of_): New macro.
      	(include): Update.
      	(fwd_piter_type, bkd_piter_type): New decls.
      	* oln/core/abstract/point.hh (include): Update.
      	(vtypes_): New specialization.
      	* oln/core/abstract/dpoint.hh: Likewise.
      	* oln/core/abstract/point_nd.hh (include): Update.
      	(set_super_type): New specialization.
      	* oln/core/abstract/dpoint_nd.hh: Likewise.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@513 4aad255d-cdde-0310-9447-f3009e2ae8c0
      677bbd2d
  10. 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
  11. 30 Aug, 2006 1 commit
  12. 05 Jun, 2006 1 commit
  13. 25 Apr, 2006 1 commit
    • Roland Levillain's avatar
      Add grids. · ec13303d
      Roland Levillain authored
      	* oln/core/abstract/grid.hh,
      	* oln/core/1d/grid1d.hh,
      	* oln/core/2d/grid2d.hh,
      	* oln/core/3d/grid3d.hh: New files (imported from Olena proto-1.0,
      	and modified).
      	* oln/core/typedefs.hh (grid_type, point_type, dpoint_type)
      	(size_type, dimvalue_type, coord_type): Enable these types.
      	* oln/core/abstract/image.hh (grid_type): Don't mlc-declare this
      	typedef, since oln/core/typedefs.hh already takes care of it.
      	(vtypes< category::image, abstract::image<I> >): Enable	grid_type.
      	(packed_vtypes): Likewise.
      	* oln/core/abstract/internal/image_impl.hh: Improve comment.
      	* tests/grid.cc: New test.
      	* tests/image_entry.cc: Update this test.
      	* oln/Makefile.am (nobase_oln_HEADERS): Add core/abstract/grid.hh,
      	core/1d/grid1d.hh, core/2d/grid2d.hh and core/3d/grid3d.hh.
      	* tests/Makefile.am (check_PROGRAMS): Add grid.
      	(grid_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@470 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ec13303d