1. 27 Sep, 2006 1 commit
  2. 26 Sep, 2006 9 commits
    • Roland Levillain's avatar
      Let neighborhood() return a const reference instead of a copy. · 8e818e3c
      Roland Levillain authored
      	* oln/automatic/image_having_neighborhood.hh (impl_neighborhood)
      	* oln/core/abstract/image/neighborhood/hierarchy.hh
      	(image_having_neighborhood::neighborhood): Return a const
      	reference instead of a copy.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@576 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8e818e3c
    • Thierry Geraud's avatar
      2006-09-26 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 3814dc0f
      Thierry Geraud authored
      	Add mapimage type and update.
      	
      	* oln/core/gen/mapimage.hh: New.
      	* oln/automatic/image_being_random_accessible.hh: New.
      	* oln/core/abstract/topology_having_bbox.hh
      	(bbox): New; mutable version.
      	* oln/core/abstract/image.hh (has): Remove; this method
      	is now specific to a sub-abstraction.
      	* oln/core/abstract/image/mutability/hierarchy.hh
      	(lvalue_t, psite_t): Update.
      	(~image_being_mutable): Fix typo.
      	(using): New; it allows disambiguation of overloading
      	thru inheritance.
      	* oln/core/abstract/image/accessibility/hierarchy.hh
      	(has, has_large): Update.
      	(include): Update.
      	* oln/core/abstract/image/bbox/hierarchy.hh
      	(bbox_t, point_t): Update.
      	(bbox): Change return signature.
      	(pmin, pmax): New.
      	* oln/core/gen/topo_bbox.hh (impl_bbox): New.
      	* oln/Makefile.am (nobase_oln_HEADERS): Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@575 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3814dc0f
    • Thierry Geraud's avatar
      2006-09-26 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · e6708a33
      Thierry Geraud authored
      	Add some abstract image sub-hierarchies.
      	
      	* oln/automatic/image_being_mutable.hh: New.
      	* oln/core/abstract/image/mutability/hierarchy.hh: New.
      	* oln/core/abstract/image/accessibility/hierarchy.hh: New.
      	* oln/core/abstract/image/bbox/hierarchy.hh: New.
      	* oln/core/typedefs.hh (lvalue_type, is_mutable_type): New.
      	* oln/core/macros.hh (oln_deduce_type_of): New.
      	* oln/core/abstract/image.hh: Cosmetics.
      	* oln/core/abstract/image/hierarchies.hh
      	(image_hierarchy_wrt_bbox): New.
      	(image_hierarchy_wrt_accessibility): New.
      	(image_hierarchy_wrt_mutability): New.
      	(include): Update.	
      	* oln/core/abstract/image/neighborhood/hierarchy.hh (decl): New.
      	(~image_having_neighborhood): New.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@574 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e6708a33
    • Roland Levillain's avatar
      * oln/core/typedefs.hh: Catch up with changes in Static's · ec151f2f
      Roland Levillain authored
      	stc/scoop.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@573 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ec151f2f
    • Roland Levillain's avatar
      Rename stc/vtypes.hh as stc/scoop.hh. · 88031cd5
      Roland Levillain authored
      	* stc/vtypes.hh: Rename as...
      	* stc/scoop.hh: ..this.
      	Adjust headers guards.
      	(stc_equip_namespace_with_vtypes): Pass the enclosing namespace as
      	an argument of this macro.
      	Rename as...
      	(stc_scoop_equipment_for_namespace): ...this.
      	Adjust.
      	(stc::abstraction_as_type): Remove.
      	* tests/super.cc, tests/multiple-supers.cc,
      	* tests/vtypes.cc, tests/vtypes-and-exact.cc,
      	* tests/vtypes-multiple-supers.cc: Adjust.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@572 4aad255d-cdde-0310-9447-f3009e2ae8c0
      88031cd5
    • Roland Levillain's avatar
      Catch up with changes in the image abstractions hierachies. · 4fd61c76
      Roland Levillain authored
      	* tests/identity_morpher.cc, tests/add_neighborhood_morpher.cc,
      	* tests/morphers.cc: Catch up with changes in the image
      	abstractions hierachies.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@571 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4fd61c76
    • Thierry Geraud's avatar
      2006-09-26 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 754f9cde
      Thierry Geraud authored
      	Dispatch image abstract classes into subdirs and files.
      	
      	* oln/core/abstract/image/type: New directory.
      	* oln/core/abstract/image/dimension: New directory.
      	* oln/core/abstract/image/neighborhood: New directory.
      	* oln/core/abstract/image_type.hh (internal): Remove.
      	Rename into...
      	* oln/core/abstract/image/type/hierarchy.hh: ...this file.
      	* oln/core/abstract/image_dimension.hh: Rename into...
      	* oln/core/abstract/image/dimension/hierarchy.hh: ...this file.
      	* oln/core/abstract/image_hierarchies.hh: Rename into...
      	* oln/core/abstract/image/hierarchies.hh: ...this file.
      	* oln/core/abstract/image_type_integre.hh: Rename into...
      	* oln/core/abstract/image/type/integre.hh: ...this file.
      	* oln/core/abstract/image_having_neighborhood.hh: Rename into...
      	* oln/core/abstract/image/neighborhood/hierarchy.hh: ...this file.
      	* oln/core/abstract/image.hh (include): Update.
      	* Makefile.am: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@570 4aad255d-cdde-0310-9447-f3009e2ae8c0
      754f9cde
    • Roland Levillain's avatar
      Clean up ChangeLog. · c74503a1
      Roland Levillain authored
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@569 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c74503a1
    • Roland Levillain's avatar
      Have all classes of oln::automatic inherit from stc::any__simple. · 998033fd
      Roland Levillain authored
      	* oln/automatic/image_having_neighborhood.hh
      	(impl<abstract::image_having_neighborhood, morpher::tag::identity, E>):
      	Inherit from stc::any__simple<E> instead of abstract::image<E>.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@568 4aad255d-cdde-0310-9447-f3009e2ae8c0
      998033fd
  3. 25 Sep, 2006 9 commits
    • Roland Levillain's avatar
      Fix the distribution. · d8bbe253
      Roland Levillain authored
      	* olena/oln/Makefile.am (nobase_oln_HEADERS): Add
      	automatic/image.hh,
      	automatic/topology_being_random_accessible.hh,
      	automatic/topology_having_bbox.hh,
      	automatic/topology_having_neighborhood.hh,
      	core/abstract/topology_having_neighborhood.hh,
      	core/gen/topo_add_nbh.hh and
      	core/internal/topology_morpher.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@567 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d8bbe253
    • Thierry Geraud's avatar
      2006-09-25 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · b605d237
      Thierry Geraud authored
      	Properly define fwd_piter_type and bkd_piter_type for the
      	add_neighborhood image morpher.
      	
      	* oln/core/abstract/image_hierarchies.hh: Remove end blank line.
      	* oln/core/gen/fwd_piter_bbox.hh (change_topology_): New.
      	* oln/core/gen/bkd_piter_bbox.hh (change_topology_): New.
      	* oln/morpher/add_neighborhood.hh (morpher_type): Remove; obsolete
      	cause defined in super class.
      	(fwd_piter_type, bkd_piter_type): New definitions.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@566 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b605d237
    • 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
    • Thierry Geraud's avatar
      2006-09-25 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 3a586d8a
      Thierry Geraud authored
      	Add morpher capabilities to topology classes.
      	
      	* oln/automatic/topology_having_bbox.hh: New.
      	* oln/automatic/topology_being_random_accessible.hh: New.
      	* oln/automatic/topology_having_neighborhood.hh: New.
      	* oln/core/abstract/topology_having_neighborhood.hh: New.
      	* oln/core/gen/topo_add_nbh.hh: New.
      	* oln/core/internal/topology_morpher.hh: New.
      	* oln/automatic/image_having_neighborhood.hh: Fix typo in guards.
      	Fix comment.
      	Fix delegation code.
      	* oln/core/topology_entry.hh (neighborhood_type, morpher_type):
      	New.
      	* oln/core/abstract/topology_hierarchies.hh
      	(topology_hierarchy_wrt_neighborhood): New.
      	Update include.
      	* oln/core/abstract/topology_having_bbox.hh: Inherit from
      	automatic::impl.
      	* oln/core/abstract/topology_being_random_accessible.hh: Likewise.
      	* oln/core/abstract/topology.hh (neighborhood): New vtype.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@564 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3a586d8a
    • Roland Levillain's avatar
      Fix the distribution (again). · 7235443a
      Roland Levillain authored
      	* oln/Makefile.am (nobase_oln_HEADERS): Add
      	core/internal/bbox_bkd_piter.hh and
      	core/internal/bbox_fwd_piter.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@563 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7235443a
    • Roland Levillain's avatar
      Add convenience shortcuts for stc_{direct_,}check_type_of{_,}. · fd90e21e
      Roland Levillain authored
      	* oln/core/macros.hh (oln_check_type_of, oln_check_type_of_) 
      	(oln_check_direct_type_of, oln_check_direct_type_of_): New macros.
      	* oln/morpher/internal/image_extension.hh, oln/morpher/identity.hh
      	* oln/morpher/add_neighborhood.hh: Remove FIXMEs.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@562 4aad255d-cdde-0310-9447-f3009e2ae8c0
      fd90e21e
    • Roland Levillain's avatar
      Add a version of type_of_ checking that the vtype is actually found. · eb049f34
      Roland Levillain authored
      	* stc/vtypes.hh (stc::ERROR::NO_VALID_VIRTUAL_TYPE_FOUND),
      	(stc::ERROR::NO_VALID_RETURN_TYPE_FOR_type_of_): Remove.
      	(stc::ERROR::VIRTUAL_TYPE_NOT_FOUND): New.
      	(check_direct_type_of_, check_type_of_): New.
      	(stc_check_type_of, stc_check_type_of_)
      	(stc_check_direct_type_of, stc_check_direct_type_of_): New macros.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@561 4aad255d-cdde-0310-9447-f3009e2ae8c0
      eb049f34
    • Roland Levillain's avatar
      Keep type_of_ its original semantics, and be consistent with macro · f6d492b5
      Roland Levillain authored
      	names.
      
      	* stc/vtypes.hh (type_of_): Rename as...
      	(direct_type_of_): ...this.
      	(exact_type_of_): Rename as...
      	(type_of_): ...this.
      	(stc_type_of_, stc_direct_type_of_): Adjust macros.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@560 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f6d492b5
    • Roland Levillain's avatar
      Fix the distribution. · 972c9798
      Roland Levillain authored
      	* oln/Makefile.am (nobase_oln_HEADERS): Add morpher/tags.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@559 4aad255d-cdde-0310-9447-f3009e2ae8c0
      972c9798
  4. 24 Sep, 2006 2 commits
    • Roland Levillain's avatar
      Restore the compatibility of morphers with G++ 4.0. · 555fe8df
      Roland Levillain authored
      	* oln/core/macros.hh (oln_direct_type_of, oln_direct_type_of_):
      	New macros.
      	* oln/morpher/internal/image_extension.hh (oln): Use
      	`oln_direct_type_of(Exact, ...)' instead of
      	`oln_type_of(self_t, ...)'.
      	* tests/morphers.cc (main): Add more static assertions.
      	* tests/identity_morpher.cc: More documentation.
      	* tests/add_neighborhood_morpher.cc: New test.
      	* tests/Makefile.am (check_PROGRAMS): Add
      	add_neighborhood_morpher.
      	(add_neighborhood_morpher_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@558 4aad255d-cdde-0310-9447-f3009e2ae8c0
      555fe8df
    • Roland Levillain's avatar
      Provide two versions of type_of_: one working on `from_type' · 86a4f2fb
      Roland Levillain authored
      	directly (new behavior), the other working on its exact type (old
      	behavior).
      
      	* stc/vtypes.hh (type_of_): Don't perform the virtual type
      	retrieval on the exact type of `from_type', use it directly.
      	(exact_type_of_): New.
      	Perform a virtual type retrieval using the exact type of
      	`from_type' (i.e., implement the previous behavior of type_of_).
      	(stc_type_of): Adjust macro.
      	(stc_direct_type_of, stc_direct_type_of_): New macros.
      	(stc_local_type_of, stc_local_type_of_): Remove these macros, as
      	they are used nowhere (but in tests), and are just (useless) sugar
      	for `stc_type_of' and `stc_type_of_'.
      	* tests/vtypes.cc (my_type_of_)
      	* tests/vtypes-and-exact.cc (my_type_of_)
      	* tests/vtypes-multiple-supers.cc (my_type_of_): Adjust.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@557 4aad255d-cdde-0310-9447-f3009e2ae8c0
      86a4f2fb
  5. 22 Sep, 2006 1 commit
    • Thierry Geraud's avatar
      2006-09-22 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 7ffa74f7
      Thierry Geraud authored
      	Add image point iterators parameterized by the image topology;
      	factor code into an internal class.
      	
      	* oln/core/gen/bbox_fwd_piter.hh: Change inheritance and move
      	methods into...
      	* oln/core/internal/bbox_fwd_piter.hh: ...this new class.
      	* oln/core/gen/bbox_bkd_piter.hh: Change inheritance and move
      	methods into...
      	* oln/core/internal/bbox_bkd_piter.hh: ...this new class.
      	* oln/core/gen/fwd_piter_bbox.hh: New.
      	* oln/core/gen/bkd_piter_bbox.hh: New.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@556 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7ffa74f7
  6. 20 Sep, 2006 3 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
    • Roland Levillain's avatar
      * stc/vtypes.hh (stc_equip_namespace_with_vtypes): Swap the · 3034fd5d
      Roland Levillain authored
      	definitions of single_vtype and ext_vtype (for aesthetic purpose
      	only).
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@554 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3034fd5d
    • 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
  7. 18 Sep, 2006 6 commits
    • Roland Levillain's avatar
      Add the first two morphers: identity and neighborhood addition. · 7b62e266
      Roland Levillain authored
      	* oln/core/typedefs.hh (morpher_type, neighborhood_type): New
      	typedef declarations.
      	(neighb_type, image_neighbness_type, image_constness_type)
      	(image_dimension_type, image_typeness_type)
      	(image_valuedness_type, image_rawness_type): Remove typedef
      	declarations.
      	* oln/core/image_entry.hh
      	(single_vtype<image_entry<E>, typedef_::morpher_type>): New
      	virtual type.
      	* oln/core/abstract/image.hh: Check it.
      
      	* oln/core/abstract/image_hierarchies.hh
      	(image_dimension_hierarchy, image_type_hierarchy): Rename as...
      	(image_hierarchy_wrt_dimension, image_hierarchy_wrt_type):
      	...this.
      	(image_neighborhood_hierarchy): Make it the third image hierarchy.
      	Rename as...
      	(image_hierarchy_wrt_neighborhood).
      	(image_value_hierarchy, image_rawness_hierarchy): Adjust and
      	rename as...
      	(image_hierarchy_wrt_value, image_hierarchy_wrt_data_retrieval):
      	...this.	
      	(oln/core/abstract/image_having_neighborhood.hh): Include it.
      	* oln/core/abstract/image_dimension.hh:
      	s/image_dimension_hierarchy/image_hierarchy_wrt_dimension/.
      	(oln::abstract::image1d, oln::abstract::image2d)
      	(oln::abstract::image3d): Inherit from automatic::impl.
      	* oln/core/abstract/image_type.hh,
      	* oln/core/abstract/image_type_integre.hh:
      	s/image_type_hierarchy/image_hierarchy_wrt_type/.
      	* oln/core/abstract/image_having_neighborhood.hh: New
      	abstraction.
      	* oln/automatic/image_having_neighborhood.hh: New automatic
      	implementation.
      
      	* oln/morpher/internal/image_extension.hh: New abstract
      	class.
      	* oln/morpher/identity.hh,
      	* oln/morpher/add_neighborhood.hh: New morphers.
      	* tests/morphers.cc, tests/identity_morpher.cc: New tests.
      
      	* oln/Makefile.am (nobase_oln_HEADERS): Catch up with renamings
      	from the previous patches.
      	Add automatic/image_having_neighborhood.hh,
      	core/abstract/image_having_neighborhood.hh,
      	morpher/internal/image_extension.hh,
      	morpher/add_neighborhood.hh and
      	morpher/identity.hh.
      	* tests/Makefile.am (check_PROGRAMS): Add identity_morpher and
      	morphers.
      	(identity_morpher_SOURCES, morphers_SOURCES): New.
      	* oln/core/abstract/topology_hierarchies.hh: Aesthetic changes.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@552 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7b62e266
    • 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
    • Thierry Geraud's avatar
      2006-09-18 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · a58172d2
      Thierry Geraud authored
      	Rename point set related classes.
      	
      	* oln/core/pset_entry.hh: Update and rename as...
      	* oln/core/point_set_entry.hh: ...this.
      	* oln/core/abstract/pset_fixed.hh: Update and rename as...
      	* oln/core/abstract/point_set_having_known_size.hh: ...this.
      	* oln/core/abstract/pset_ra.hh: Update and rename as...
      	* oln/core/abstract/point_set_being_random_accessible.hh: ...this.
      	* oln/core/abstract/pset_bboxed.hh: Update and rename as...
      	* oln/core/abstract/point_set_having_bbox.hh: ...this.
      	* oln/core/abstract/pset.hh: Update and rename as...
      	* oln/core/abstract/point_set.hh: ...this.
      	* oln/core/abstract/pset_hierarchies.hh: Update and rename as...
      	* oln/core/abstract/point_set_hierarchies.hh: ...this.
      	* oln/core/abstract/pset_cnx.hh: Update and rename as...
      	* oln/core/abstract/point_set_being_connected.hh: ...this.
      	* oln/core/abstract/piter.hh: Update and rename as...
      	* oln/core/abstract/iterator_on_points.hh: ...this.
      	* oln/core/abstract/iter.hh: Update and rename as...
      	* oln/core/abstract/iterator.hh: ...this.
      	* oln/core/typedefs.hh
      	(fixed_type, ra_type, cnx_type): Rename as...
      	(has_known_size_type, is_random_accessible_type): ...these and...
      	(is_connected_type): ....this.
      	* oln/core/abstract/bbox.hh: Update.
      	* oln/core/gen/fwd_piter.hh: Update.
      	* oln/core/gen/bkd_piter.hh: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@549 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a58172d2
    • Thierry Geraud's avatar
      2006-09-18 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 6891a65c
      Thierry Geraud authored
      	Add oln topology class for enlarged bbox.
      	
      	* oln/core/gen/topo_lbbox.hh: New.
      	* oln/core/abstract/dpoint_nd.hh (set_all): New.
      	* oln/core/gen/topo_bbox.hh (impl_has_large): New.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@548 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6891a65c
    • Roland Levillain's avatar
      Make virtual type retrieval more flexible and fix automatic::impl. · 64bd093a
      Roland Levillain authored
      	* stc/vtypes.hh (automatic::impl): Turn the first parameter into a
      	`template <class> class'.
      	(select_typedef): Typo in comment.
      	Don't abort on default case; not finding a virtual type is no
      	lomger a static error, but instead just gives mlc::not_found.
      	(type_of_): Likewise, don't abort on mlc::not_found, just return
      	it.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@547 4aad255d-cdde-0310-9447-f3009e2ae8c0
      64bd093a
  8. 15 Sep, 2006 5 commits
  9. 14 Sep, 2006 4 commits