- 12 Oct, 2006 1 commit
-
-
Roland Levillain authored
* oln/core/gen/topo_bbox.hh (oln::topo_bbox_<point>) * oln/core/gen/topo_lbbox.hh (oln::topo_lbbox_<point>): Ensure parameter point is an oln::abstract::point. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@621 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 11 Oct, 2006 3 commits
-
-
Thierry Geraud authored
Add new facilities to access to components such as row, col, etc. * oln/core/spe/row.hh: New. * oln/core/spe/col.hh: New. * oln/core/spe/slice.hh: New. * oln/debug/print.hh (print): Use min_row, etc. (include): Update. * oln/core/typedefs.hh (index_comp_type): New. (row_comp_type, col_comp_type, slice_comp_type): New. (vec_type): New. * oln/core/abstract/iterator_on_points.hh (coord_type): New. * oln/core/abstract/point.hh (vec_type): New. (vec): New. * oln/core/1d/dpoint1d.hh (index_comp_type): New. * oln/core/1d/point1d.hh (index_comp_type): New. * oln/core/2d/dpoint2d.hh (row_comp_type, col_comp_type): New. * oln/core/2d/point2d.hh (row_comp_type, col_comp_type): New. * oln/core/3d/dpoint3d.hh (slice_comp_type, row_comp_type, col_comp_type): New. * oln/core/3d/point3d.hh (slice_comp_type, row_comp_type, col_comp_type): New. * oln/core/internal/point_nd.hh (vec_t): New. (vec): Rename as... (impl_vec): this. * oln/basics2d.hh (include): Update. * oln/basics3d.hh (include): Update. * oln/Makefile.am (nobase_oln_HEADERS): Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@620 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
New facilities related to windows and q-iterators. * tests/window2d.cc: New. * tests/Makefile.am (window2d_SOURCES): New. * oln/debug/print.hh (format): New. (print): Update; use format to correctly print 'unsigned char'. * oln/level/fill.hh: Separate header and implementation. (fill): Use shortcut. * oln/core/typedefs.hh: New shortcuts oln_something(T) for oln_type_of(T, something). * oln/core/fwd_piter.hh (fwd_qiter_type): New. * oln/core/abstract/window.hh: New. * oln/core/2d/aliases.hh (window2d, fwd_qiter2d): New. * oln/core/gen/fwd_qiter_win.hh (include): Add abstract::window.hh. (fwd_qiter_win_): Update ctor signature. * oln/core/gen/window.hh (grid_type): New. (window_): Add inheritance from abstract::window. (impl_is_valid): New. (include): Update. * oln/basics2d.hh (include): Add window.hh and fwd_qiter_win.hh. * oln/Makefile.am (nobase_oln_HEADERS): Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@619 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add some tools related to morphers over image value. * oln/core/abstract/value.hh: New. * oln/morpher/thru_fun.hh: New. * oln/morpher/internal/image_value_morpher.hh: New. * oln/color: New. * oln/color/rgb.hh: New. * tests/Makefile.am (check_PROGRAMS): Reorganize. (io_pnm_SOURCES): New. * oln/core/abstract/grid.hh (grid): Add inheritance from oln::type. * oln/Makefile.am (nobase_oln_HEADERS): Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@618 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 10 Oct, 2006 3 commits
-
-
Roland Levillain authored
* oln/core/abstract/image/hybrid/classical.hh, * oln/core/gen/neighb.hh, oln/core/gen/window.hh, * oln/core/gen/fwd_qiter_win.hh, oln/core/gen/piter_isubset.hh, * oln/core/gen/mapimage.hh, * oln/core/internal/bbox_fwd_piter.hh, * oln/core/internal/bbox_bkd_piter.hh, * oln/core/fwd_piter.hh, oln/core/1d/point1d.hh, * oln/core/1d/dpoint1d.hh, oln/core/2d/point2d.hh, * oln/core/2d/dpoint2d.hh, oln/core/2d/neighb2d.hh, * oln/core/3d/point3d.hh, oln/core/3d/dpoint3d.hh, * oln/core/3d/neighb3d.hh, * oln/morpher/add_isubset.hh, oln/morpher/add_neighborhood.hh, * oln/debug/print.hh, oln/io/pnm.hh, oln/level/fill.hh: Include needed (missing) headers. * oln/core/1d/image1d.hh, oln/core/2d/image2d.hh, * oln/core/3d/image3d.hh: Likewise. Instantiate oln::bbox_ explicitly. * oln/core/gen/bbox.hh (oln/core/gen/bbox_fwd_piter.hh, oln/core/gen/bbox_bkd_piter.hh): Don't include them. * oln/core/gen/topo_bbox.hh (impl_has_large): Typo. Reorganize the abstract::image hierarchy. * oln/core/abstract/image/hierarchies.hh: Move inclusions of point set abstractions... * oln/core/abstract/image/all.hh: ...here (new file). * oln/core/image_entry.hh: Adjust. * oln/Makefile.am (nobase_oln_HEADERS): Adjust. * oln/basics1d.hh, oln/basics2d.hh, oln/basics3d.hh: Remove explicit template instantiations. * oln/core/abstract/image.hh (oln/core/abstract/image/hierarchies.hh): Don't include it. * oln/core/abstract/image/dimension/hierarchy.hh * oln/core/abstract/image/type/hierarchy.hh, * oln/core/abstract/image/neighborhood/hierarchy.hh * oln/core/abstract/image/bbox/hierarchy.hh * oln/core/abstract/image/accessibility/hierarchy.hh * oln/core/abstract/image/mutability/hierarchy.hh * oln/core/abstract/image/hybrid/classical.hh (oln/core/abstract/image/hierarchies.hh): Include it. * oln/core/abstract/image/type/integre.hh (oln::abstract::case_<image_hierarchy_wrt_type, E, 4>) (oln::abstract::case_<image_hierarchy_wrt_type, E, 5>) (oln::abstract::case_<image_hierarchy_wrt_type, E, 6>): Catch up with image type hierarchy. Reorganize the abstract::point_set hierarchy. * oln/core/abstract/point_set_hierarchies.hh: Rename as... * oln/core/abstract/point_set/hierarchies.hh: ...this. Move inclusions of point set abstractions... * oln/core/abstract/point_set/all.hh: ...here (new file). * oln/core/point_set_entry.hh: Adjust. * oln/core/abstract/point_set_being_connected.hh, * oln/core/abstract/point_set_being_random_accessible.hh, * oln/core/abstract/point_set_having_bbox.hh, * oln/core/abstract/point_set_having_known_size.hh: Rename as... * oln/core/abstract/point_set/point_set_being_connected.hh, * oln/core/abstract/point_set/point_set_being_random_accessible.hh, * oln/core/abstract/point_set/point_set_having_bbox.hh, * oln/core/abstract/point_set/point_set_having_known_size.hh: ...these. Adjust header guards and inclusions. * oln/Makefile.am (nobase_oln_HEADERS): Adjust. * oln/core/abstract/bbox.hh (oln::case_<point_set_hierarchy_wrt_bbox, E, 1>) (oln::case_<point_set_hierarchy_wrt_bbox, E, 2>): Move... * oln/core/abstract/point_set/point_set_having_bbox.hh: ...here. (oln::abstract::point_set_having_bbox): s/oln_type_of/oln_check_type_of/g. Reorganize the abstract::topology hierarchy. * oln/core/abstract/topology_hierarchies.hh: Rename as... * oln/core/abstract/topology/hierarchies.hh: ...this. Move inclusions of topology abstractions... * oln/core/abstract/topology/all.hh: ...here (new file). * oln/core/topology_entry.hh: Adjust * oln/core/abstract/topology_being_random_accessible.hh, * oln/core/abstract/topology_having_bbox.hh, * oln/core/abstract/topology_having_neighborhood.hh, * oln/core/abstract/topology_having_subset.hh: Rename as... * oln/core/abstract/topology/topology_being_random_accessible.hh, * oln/core/abstract/topology/topology_having_bbox.hh, * oln/core/abstract/topology/topology_having_neighborhood.hh, * oln/core/abstract/topology/topology_having_subset.hh: ...these. Adjust header guards and inclusions. * oln/Makefile.am (nobase_oln_HEADERS): Adjust. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@617 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add xtd accessors (pure functions based on accessor methods). * xtd/accessor.hh: New. * xtd/vec.hh (operator<<): Move outside of class. (operator<<): New specializations for 'unsigned char' and 'signed char' so that data is considered as number and not as 'char'. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@616 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add i/o read for pbm and pgm formats. * tests/io_pnm.cc: New. * tests/Makefile.am (check_PROGRAMS): Update. * oln/io: New directory. * oln/io/pnm.hh: New. * oln/core/image_entry.hh (coord_type): New single_vtype. * oln/core/abstract/image.hh (decl): New comment. * oln/core/2d/image2d.hh (adr_at): New. * oln/basics2d.hh (include): Add fwd_piter.hh. * oln/Makefile.am (nobase_oln_HEADERS): Update. * img: New directory. * img/chien.pbm: New. * img/lena32.pgm: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@615 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 09 Oct, 2006 7 commits
-
-
Thierry Geraud authored
* oln/core/internal/tracked_ptr.hh (operator bool): Fix signature. (operator bool): Add line to remove warning. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@614 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* configure.ac: Configure olena/tests/check/Makefile, olena/tests/check/defs, olena/tests/sanity/Makefile and olena/tests/sanity/check. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@613 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* stc/scoop.hh (stc_virtual_typedef): Remove this macro which cannot be consistent wrt to client namespaces. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@612 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Change stc_virtual_typedef into oln_virtual_typedef. * oln/core/macros.hh (oln_virtual_typedef): New macro. It replaces stc_virtual_typedef. * oln/core/abstract/image.hh: Update. * oln/core/abstract/image/mutability/hierarchy.hh: Update. * oln/core/abstract/image/neighborhood/hierarchy.hh: Update. * oln/core/abstract/image/bbox/hierarchy.hh: Update. * oln/core/abstract/point_set.hh: Update. * oln/core/abstract/neighborhood.hh: Update. * oln/core/abstract/topology.hh: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@611 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* oln/debug/print.hh: Separate definition from declaration. * oln/core/automatic/topology_being_random_accessible.hh (impl_has_large): Fix signature. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@610 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* stc/scoop.hh (stc_virtual_typedef): Fix macro. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@609 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
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
-
- 05 Oct, 2006 1 commit
-
-
Thierry Geraud authored
Decouple iterators from image topology; update neighborhood tools and start to add window tools. * oln/core/automatic/topology_having_subset.hh: New. * oln/core/abstract/topology_having_subset.hh: New. * oln/core/gen/fwd_niter_neighb.hh: New. * oln/core/gen/fwd_qiter_win.hh: New. * oln/core/gen/window.hh: New. * oln/core/typedefs.hh (qiter_type, fwd_qiter_type, bkd_qiter_type): Uncomment. (niter_type, fwd_niter_type, bkd_niter_type): Uncomment. (isubset): Rename into... (subset_type): ...this. * oln/core/macros.hh (oln_type_of, oln_deduce_type_of, oln_type_of_): Rely on direct access. (oln_check_type_of, oln_check_type_of_): Rely on direct access. (oln_deduce_direct_type_of): New. * oln/core/topology_entry.hh (subset_type): New. * oln/core/image_entry.hh (fwd_piter_type, bkd_piter_type): Move from vtypes to single_vtype. (fwd_qiter_type): New. * oln/core/abstract/topology_hierarchies.hh (topology_hierarchy_wrt_subset): New. (include): Add topology_having_subset.hh. * oln/core/abstract/image/neighborhood/hierarchy.hh (niter, fwd_niter, bkd_niter): New in decl. * oln/core/2d/aliases.hh (fwd_piter_bbox_, bkd_piter_bbox_): Change param letter. (fwd_piter2d, bkd_piter2d): Update. * oln/core/2d/neighb2d.hh (c4, c8, c2_row, c2_col): Rename into... (mk_c4, mk_c8, mk_c2_row, mk_c2_col): ...these in namespace internal. (c4, c8, c2r, c2c): New objects. * oln/core/gen/piter_isubset.hh (piter_isubset_): New ctor for iterators around a point. (topo): Return a copy. (change_topology_): Remove; obsolete. * oln/core/gen/topo_add_isubset.hh (isubset_type): Rename into... (subset_type): ...this. (isubset): Rename into... (impl_subset): ...this. * oln/core/gen/topo_bbox.hh (impl_lbbox): New; experimental! * oln/core/gen/fwd_piter_bbox.hh (fwd_piter_bbox_): Change parameter from topo to point; update. (topo): Remove this method; obsolete. (change_topology_): Remove; obsolete. (topo_): Remove this attribute; obsolete. * oln/core/gen/bkd_piter_bbox.hh: Likewise. * oln/basics2d.hh: Update. * oln/Makefile.am (nobase_oln_HEADERS): Update. * oln/core/2d/image2d.hh (fwd_piter_type, bkd_piter_type): Move these definitions into... * oln/core/fwd_piter.hh: ... this new file. * oln/morpher/add_isubset.hh: Likewise. * oln/morpher/add_neighborhood.hh: Likewise. * oln/morpher/internal/image_extension.hh (image_): Change from const& to plain type. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@607 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 03 Oct, 2006 5 commits
-
-
Roland Levillain authored
* oln/Makefile.am (nobase_oln_HEADERS): Add core/1d/aliases.hh, core/1d/array1d.hh, core/1d/dpoint1d.hh, core/1d/image1d.hh, core/1d/neighb1d.hh, core/1d/point1d.hh, core/3d/aliases.hh, core/3d/array3d.hh, core/3d/dpoint3d.hh, core/3d/image3d.hh, core/3d/neighb3d.hh, core/3d/point3d.hh, core/internal/tracked_ptr.hh, basics1d.hh, basics3d.hh. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@606 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/core/3d/image3d.hh, oln/core/3d/array3d.hh, * oln/core/3d/point3d.hh, oln/core/3d/dpoint3d.hh, * oln/core/3d/neighb3d.hh, oln/core/3d/aliases.hh, * oln/basics3d.hh: New. * oln/core/abstract/point_set_being_connected.hh (oln::abstract::point_set_being_3d_connected): New class. (oln::case_<point_set_hierarchy_wrt_connectivity, E, 3>): New case. * tests/image3d.cc: New test. * tests/Makefile.am (check_PROGRAMS): Add image3d. (image3d_SOURCES): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@605 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/core/1d/image1d.hh, oln/core/1d/array1d.hh, * oln/core/1d/point1d.hh, oln/core/1d/dpoint1d.hh, * oln/core/1d/neighb1d.hh, oln/core/1d/aliases.hh, * oln/basics1d.hh: New. * oln/core/abstract/point_set_being_connected.hh (oln::abstract::point_set_being_1d_connected): New class. (oln::case_<point_set_hierarchy_wrt_connectivity, E, 1>): Handle the 1-dimension case, and move the 2-dimension case... (oln::case_<point_set_hierarchy_wrt_connectivity, E, 2>): ...here (new). * tests/image1d.cc: New test. * tests/Makefile.am (check_PROGRAMS): Add image1d. (image1d_SOURCES): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@604 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/morpher/identity.hh (oln::vtypes< morpher::identity<Image> >): Remove (was useless). (oln/morpher/tags.hh): Move header inclusion... * oln/morpher/internal/image_extension.hh: ...here * oln/morpher/add_neighborhood.hh, oln/morpher/add_isubset.hh (oln/morpher/tags.hh): No longer include it. * oln/morpher/tags.hh (oln::morpher::tag::add_neighborhood): Remove (was useless). (oln::morpher::tag::identity): Adjust documentation. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@603 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/core/2d/image2d.hh (image2d(unsigned, unsigned, unsigned)): Allocate space for the border in the array. * oln/core/2d/point2d.hh, oln/core/typedefs.hh: Add FIXMEs. * oln/core/2d/neighb2d.hh, oln/core/2d/dpoint2d.hh, * oln/core/internal/point_nd.hh: Aesthetic changes. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@602 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 02 Oct, 2006 5 commits
-
-
Roland Levillain authored
* tests/dpoint2d.cc, tests/point2d.cc: New tests. * tests/image_entry.cc: Fix comments. * tests/Makefile.am (check_PROGRAMS): Add dpoint2d and point2d. (dpoint2d_SOURCES, point2d_SOURCES): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@601 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/core/2d/array2d.hh (oln::tracked_ptr): Move... * oln/core/internal/tracked_ptr.hh: ...here (new file). * oln/core/2d/image2d.hh (oln::image2d::data_): Adjust type. (oln::image2d(const topo2d&)): New ctor. * tests/image2d.cc: New test. * tests/Makefile.am (check_PROGRAMS): Add image2d. (image2d_SOURCES): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@600 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@599 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/core/2d/point2d.hh (oln::set_super_type< point2d_<C> >): New. (oln::point2d_): Use stc_get_supers to set the base class. (oln::point2d_::super_t): Use stc_get_super to define it. (oln::point2d_::point2d_(coord_t, coord_t)): Use xtd::mk_vec to initialize the base class. * oln/core/2d/dpoint2d.hh (oln::set_super_type< dpoint2d_<C> >): Re-enable it. (oln::dpoint2d_): Use stc_get_supers to set the base class. (oln::dpoint2d_::super_t): Use stc_get_super to define it. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@598 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add isubset image morpher and subsequent tools. * oln/core/gen/piter_isubset.hh: New. * oln/core/gen/topo_add_isubset.hh: New. * oln/morpher/add_isubset.hh: New. * oln/debug/print.hh (println): New. * oln/core/typedefs.hh (isubset): New. * oln/core/automatic/image_being_random_accessible.hh (set_impl): Remove; cause error-prone. * oln/core/abstract/image/type/hierarchy.hh (where_): Rely on xtd_is_binary instead of an hard-coded test. (include): Update. * oln/core/gen/fwd_piter_bbox.hh (topo_type): new. (topo_): Change ref into plain type so it is more secure. * oln/core/gen/bkd_piter_bbox.hh (topo_type): new. (topo_): Change ref into plain type so it is more secure. * oln/core/gen/topo_add_nbh.hh (operator topo_t): New. * oln/core/internal/topology_morpher.hh (delegated_type): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@597 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 29 Sep, 2006 8 commits
-
-
Roland Levillain authored
* tests/Makefile.am (TESTS_CXXFLAGS): New. Append it to... (CXXFLAGS): ...this variable. * tests/fill.cc: Typo in comment. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@596 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* tests/Makefile.am (TESTS_CXXFLAGS): New. Append it to... (CXXFLAGS): ...this variable. * tests/tour.cc (dynamic_hierarchy::A, dynamic_hierarchy::B) (dynamic_hierarchy::C): Add missing virtual destructors. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@595 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* tests/Makefile.am (TESTS_CXXFLAGS): New. Append it to... (CXXFLAGS): ...this variable. * tests/optraits.cc (main): Make dummy use of all variables to avoid compiler warnings. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@594 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* tests/gcase.cc (print), tests/protected.cc (reveal), * tests/switch.cc (print): Make dummy use of all variables to void compiler warnings. * tests/Makefile.am (TESTS_CXXFLAGS): New. Append it to... (CXXFLAGS): ...this variable. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@593 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
tests. * configure.ac (TESTS_CXXFLAGS): New variable. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@592 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* tests/vtypes-and-exact.cc (my_direct_type_of), (my_direct_type_of_): New macros. (my::A::foo_type, my::A::bar_type, my::A::baz_type) (my::B::foo_type, my::B::bar_type, my::B::baz_type) (my::B::quux_type, my::B::yin_type) (my::C::foo_type, my::C::quux_type, my::C::zorg_type): Rename typedefs as... (my::A::foo_t, my::A::bar_t, my::A::baz_t) (my::B::foo_t, my::B::bar_t, my::B::baz_t) (my::B::quux_t, my::B::yin_t) (my::C::foo_t, my::C::quux_t, my::C::zorg_t): ...this. Use my_direct_type_of and my_direct_type_of_ (on the exact type) instead of my_type_of and my_type_of_ (on the ``self'', current type) to work around a bug in g++ 4.1 and 4.2. (main): Adjust. * tests/Makefile.am (AM_CXXFLAGS): Rename as... (CXXFLAGS): ...this. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@591 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* xtd/valtraits.hh: Use bexpr_. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@590 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add a temporary simple version of xtd_is_binary for use in oln. * xtd/valtraits.hh: New. * xtd/Makefile.am (nobase_xtd_HEADERS): Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@589 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 28 Sep, 2006 6 commits
-
-
Roland Levillain authored
* xtd/abstract/fun_nary_expr.hh, xtd/abstract/meta_fun.hh, * xtd/abstract/meta_nary_fun.hh, xtd/abstract/nary_fun.hh, * xtd/abstract/open_fun.hh, xtd/abstract/open_nary_fun.hh, * xtd/abstract/plain_fun.hh, xtd/abstract/plain_nary_fun.hh, * xtd/builtin/traits.hh, xtd/internal/mlc.hh, * xtd/internal/opmacros.hh, xtd/math/abs.hh, xtd/math/acos.hh, * xtd/math/arith.hh, xtd/math/asin.hh, xtd/math/atan.hh, * xtd/math/atan2.hh, xtd/math/ceil.hh, xtd/math/cmp.hh, * xtd/math/constraints.hh, xtd/math/cos.hh, xtd/math/cosh.hh, * xtd/math/exp.hh, xtd/math/floor.hh, xtd/math/id.hh, * xtd/math/includes.hh, xtd/math/log.hh, xtd/math/log10.hh, * xtd/math/logic.hh, xtd/math/pow.hh, xtd/math/sin.hh, * xtd/math/sinh.hh, xtd/math/sqrt.hh, xtd/math/tan.hh, * xtd/math/tanh.hh, xtd/arg.hh,* xtd/args.hh, xtd/bind.hh, * xtd/cast.hh, xtd/cfun.hh, xtd/literal.hh, xtd/math.hh, * xtd/mexpr.hh, xtd/mfun.hh, xtd/optraits.hh, xtd/res.hh, * xtd/traits.hh, xtd/vec.hh: Adjust header guards to match the file name. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@588 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mlc/abort.hh, mlc/assert.hh, mlc/bexpr.hh, mlc/bool.hh, * mlc/case.hh, mlc/char.hh, mlc/cmp.hh, mlc/comma.hh, * mlc/contract.hh, mlc/elt.hh, mlc/flags.hh, mlc/if.hh, * mlc/implies.hh, mlc/int.hh, mlc/is_a.hh, mlc/logic.hh, * mlc/pair.hh, mlc/ret.hh, mlc/switch.hh, mlc/to_string.hh, * mlc/typedef.hh, mlc/uint.hh, mlc/valist.hh, mlc/value.hh, * mlc/values.hh, mlc/wrap.hh: Adjust header guards to match the file name. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@587 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* stc/scoop.hh, stc/valist_aggregator.hh, * stc/internal/extract_vtype_from_list.hh: Adjust header guards to match the file name. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@586 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/level/fill.hh: New. * oln/Makefile.am (nobase_oln_HEADERS): Add level/fill.hh. * tests/fill.cc: New test. * tests/Makefile.am (AM_CXXFLAGS): Rename as... (CXXFLAGS): ...this. (check_PROGRAMS): Add fill. (fill_SOURCES): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@585 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
implementations. * oln/core/automatic/impl.hh: New. * oln/automatic/image.hh: Move... * oln/core/automatic/image.hh: ...here. (impl): Rename as... (set_impl): ...this. * oln/automatic/image_being_mutable.hh: Move... * oln/core/automatic/image_being_mutable.hh: ...here. (impl): Rename as... (set_impl): ...this. * oln/automatic/image_being_random_accessible.hh: Move... * oln/core/automatic/image_being_random_accessible.hh: ...here. (impl): Rename as... (set_impl): ...this. * oln/automatic/image_having_neighborhood.hh: Move... * oln/core/automatic/image_having_neighborhood.hh: ...here. (impl): Rename as... (set_impl): ...this. * oln/automatic/topology_being_random_accessible.hh: Move... * oln/core/automatic/topology_being_random_accessible.hh: ...here. (impl): Rename as... (set_impl): ...this. * oln/automatic/topology_having_bbox.hh: Move... * oln/core/automatic/topology_having_bbox.hh: ...here. (impl): Rename as... (set_impl): ...this. * oln/automatic/topology_having_neighborhood.hh: Move... * oln/core/automatic/topology_having_neighborhood.hh: ...here. (impl): Rename as... (set_impl): ...this. Adjust. * oln/core/abstract/image.hh (oln::abstract::image) * oln/core/abstract/image/accessibility/hierarchy.hh (oln::abstract::image_being_random_accessible) * oln/core/abstract/image/bbox/hierarchy.hh (oln::abstract::image_having_bbox) * oln/core/abstract/image/dimension/1d.hh (oln::abstract::image1d) * oln/core/abstract/image/dimension/2d.hh (oln::abstract::image2d) * oln/core/abstract/image/dimension/3d.hh (oln::abstract::image3d) * oln/core/abstract/image/mutability/hierarchy.hh (oln::abstract::image_being_mutable) * oln/core/abstract/image/neighborhood/hierarchy.hh (oln::abstract::image_having_neighborhood) * oln/core/abstract/topology_being_random_accessible.hh (oln::abstract::topology_being_random_accessible) * oln/core/abstract/topology_having_bbox.hh (oln::abstract::topology_having_bbox) * oln/core/abstract/topology_having_neighborhood.hh (oln::abstract::topology_having_neighborhood): Adjust. * oln/Makefile.am (nobase_oln_HEADERS): Adjust. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@584 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* stc/scoop.hh (automatic::impl): Remove. The handling of automatically retrieved implementations is now the responsibility of the ``client'' (here, Olena). git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@583 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 27 Sep, 2006 1 commit
-
-
Thierry Geraud authored
Add oln debug print and a "classical" image abstraction. * oln/debug/print.hh: New. * oln/core/abstract/image/hybrid/classical.hh: New. * oln/core/abstract/image/hierarchies.hh (image_hybrid_hierarchy_wrt_classical): New. (include): Update. * oln/Makefile.am (nobase_oln_HEADERS): Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@582 4aad255d-cdde-0310-9447-f3009e2ae8c0
-