LRE
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
List overview
Download
Olena-patches
May 2009
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
olena-patches@lrde.epita.fr
11 participants
312 discussions
Start a n
N
ew thread
[PATCH 18/31] Adjust .gitignore files.
by Roland Levillain
* .gitignore: Ignore patterns *.pyc and *.stamp globally. * build-aux/.gitignore: Remove local pattern *.pyc. * milena/doc/.gitignore: Remove local pattern headers.stamp. --- .gitignore | 4 ++-- ChangeLog | 8 ++++++++ build-aux/.gitignore | 1 - milena/doc/.gitignore | 1 - 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index b130779..a7d574a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # Global. *~ *.dSYM +*.pyc +*.stamp .deps Makefile.in Makefile @@ -8,8 +10,6 @@ Makefile # Local. /*-stamp /*.patch -/*.pyc -/*.stamp /*TAGS /*aclocal.m4 /*stamp-* diff --git a/ChangeLog b/ChangeLog index 494377a..64868be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-05-14 Roland Levillain <roland(a)lrde.epita.fr> + + Adjust .gitignore files. + + * .gitignore: Ignore patterns *.pyc and *.stamp globally. + * build-aux/.gitignore: Remove local pattern *.pyc. + * milena/doc/.gitignore: Remove local pattern headers.stamp. + 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> Use more canonical names to handle the configuration of Swilena. diff --git a/build-aux/.gitignore b/build-aux/.gitignore index d96c228..fb342f9 100644 --- a/build-aux/.gitignore +++ b/build-aux/.gitignore @@ -13,7 +13,6 @@ /missing /*.patch /patches* -/*.pyc /py-compile /*.rej /*TAGS diff --git a/milena/doc/.gitignore b/milena/doc/.gitignore index f107fe3..642caef 100644 --- a/milena/doc/.gitignore +++ b/milena/doc/.gitignore @@ -1,3 +1,2 @@ /Doxyfile -/headers.stamp /html/ -- 1.6.1.2
15 years, 7 months
1
0
0
0
[PATCH 17/31] Clean up Milena's top-level Makefile.am.
by Roland Levillain
* Makefile.am (EXTRA_DIST): Remove tools, tools/area_flooding.cc and tools/seed2tiling.cc. Reindent. --- milena/ChangeLog | 8 ++++++ milena/Makefile.am | 64 +++++++++++++++++++++++---------------------------- 2 files changed, 37 insertions(+), 35 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index 51618ca..d5f79b1 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,13 @@ 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Clean up Milena's top-level Makefile.am. + + * Makefile.am (EXTRA_DIST): Remove tools, tools/area_flooding.cc and + tools/seed2tiling.cc. + Reindent. + +2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Use conditional ENABLE_TRIMESH. * apps/statues/Makefile.am [ENABLE_TRIMESH]: Compile diff --git a/milena/Makefile.am b/milena/Makefile.am index a854381..e186158 100644 --- a/milena/Makefile.am +++ b/milena/Makefile.am @@ -30,44 +30,38 @@ regen-dist: $(srcdir)/headers.mk # # $< $@.tmp && mv -f $@.tmp $@ && chmod -w $@ # +EXTRA_DIST = generate_dist_headers.sh $(srcdir)/headers.mk: $(srcdir)/generate_dist_headers.sh cd $(srcdir) && ./generate_dist_headers.sh && chmod -w headers.mk include $(srcdir)/headers.mk -EXTRA_DIST = \ -img/README \ -img/fly.pbm \ -img/fly.pgm \ -img/fly.ppm \ -img/lena.pbm \ -img/lena.pgm \ -img/lena.ppm \ -img/lena_16.ppm \ -img/medium.pgm \ -img/medium.ppm \ -img/picasso.pbm \ -img/picasso.pgm \ -img/quite-small.pgm \ -img/small.pbm \ -img/small.pgm \ -img/small.ppm \ -img/squares-lc.pgm \ -img/squares.pgm \ -img/test.fits \ -img/tiny.pbm \ -img/tiny.pgm \ -img/tiny.ppm \ -img/toto.pbm - -EXTRA_DIST += \ -tests/img/test_rgb8.tif \ -tests/img/test_bw.tif \ -tests/img/test_gl.tif - -EXTRA_DIST += \ -generate_dist_headers.sh\ -tools \ -tools/area_flooding.cc \ -tools/seed2tiling.cc +EXTRA_DIST += \ + img/README \ + img/fly.pbm \ + img/fly.pgm \ + img/fly.ppm \ + img/lena.pbm \ + img/lena.pgm \ + img/lena.ppm \ + img/lena_16.ppm \ + img/medium.pgm \ + img/medium.ppm \ + img/picasso.pbm \ + img/picasso.pgm \ + img/quite-small.pgm \ + img/small.pbm \ + img/small.pgm \ + img/small.ppm \ + img/squares-lc.pgm \ + img/squares.pgm \ + img/test.fits \ + img/tiny.pbm \ + img/tiny.pgm \ + img/tiny.ppm \ + img/toto.pbm +EXTRA_DIST += \ + tests/img/test_rgb8.tif \ + tests/img/test_bw.tif \ + tests/img/test_gl.tif -- 1.6.1.2
15 years, 7 months
1
0
0
0
[PATCH 16/31] Use conditional ENABLE_TRIMESH.
by Roland Levillain
* apps/statues/Makefile.am [ENABLE_TRIMESH]: Compile mesh-pinv-curv and mesh-max-curv. --- milena/ChangeLog | 7 +++++++ milena/apps/statues/Makefile.am | 35 ++++++++++++++++++++++------------- 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index 5ed7f50..51618ca 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,12 @@ 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Use conditional ENABLE_TRIMESH. + + * apps/statues/Makefile.am [ENABLE_TRIMESH]: Compile + mesh-pinv-curv and mesh-max-curv. + +2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Address comparisons of signed vs unsigned in apps/statues/. * apps/statues/io.hh: Use unsigned loop indices. diff --git a/milena/apps/statues/Makefile.am b/milena/apps/statues/Makefile.am index 3c04596..bf0aa4c 100644 --- a/milena/apps/statues/Makefile.am +++ b/milena/apps/statues/Makefile.am @@ -19,18 +19,21 @@ AM_CXXFLAGS = -Wall -Wextra -ggdb -O3 -DNDEBUG LDFLAGS_trimesh = $(GLFLAGS) LDADD_trimesh = -L$(top_builddir)/external/trimesh/libsrc -ltrimesh $(GLLIBS) -# FIXME: Have program names embed the type of structure used (either -# graph or complex). bin_PROGRAMS = TESTS = -## FIXME: Programs' names should reflect a dependency on Trimesh, if any. +# FIXME: Have program names embed the type of structure used (either +# graph or complex). + +## FIXME: Likewise, programs' names should reflect a dependency on +## Trimesh, if any. ## ------------------------------------------------ ## ## Graph-based applications, depending on Trimesh. ## ## ------------------------------------------------ ## +if ENABLE_TRIMESH # bin_PROGRAMS += mesh-segm mesh-skel # # mesh_segm_SOURCES = mesh-segm.cc io.hh @@ -47,28 +50,34 @@ TESTS = # mesh_skel_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_trimesh) # mesh_skel_LDFLAGS = $(LDFLAGS_trimesh) # mesh_skel_LDADD = $(LDADD_trimesh) +endif ENABLE_TRIMESH ## -------------------------------------------------- ## ## Complex-based applications, depending on Trimesh. ## ## -------------------------------------------------- ## -bin_PROGRAMS += mesh-pinv-curv mesh-max-curv +if ENABLE_TRIMESH + bin_PROGRAMS += mesh-pinv-curv mesh-max-curv -mesh_pinv_curv_SOURCES = mesh-pinv-curv.cc io.hh -mesh_pinv_curv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_trimesh) -mesh_pinv_curv_LDFLAGS = $(LDFLAGS_trimesh) -mesh_pinv_curv_LDADD = $(LDADD_trimesh) + mesh_pinv_curv_SOURCES = mesh-pinv-curv.cc io.hh + mesh_pinv_curv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_trimesh) + mesh_pinv_curv_LDFLAGS = $(LDFLAGS_trimesh) + mesh_pinv_curv_LDADD = $(LDADD_trimesh) -mesh_max_curv_SOURCES = mesh-max-curv.cc io.hh -mesh_max_curv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_trimesh) -mesh_max_curv_LDFLAGS = $(LDFLAGS_trimesh) -mesh_max_curv_LDADD = $(LDADD_trimesh) -TESTS += test-mesh-max-curv + mesh_max_curv_SOURCES = mesh-max-curv.cc io.hh + mesh_max_curv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_trimesh) + mesh_max_curv_LDFLAGS = $(LDFLAGS_trimesh) + mesh_max_curv_LDADD = $(LDADD_trimesh) + TESTS += test-mesh-max-curv +endif ENABLE_TRIMESH ## ---------------------------------------------------- ## ## Complex-based applications, independent of Trimesh. ## ## ---------------------------------------------------- ## +# A Milena re-implementation of some features from Trimesh. This code +# is completely independent from the Trimesh library. +# FIXME: Change the name of this directory, as it is confusing. noinst_HEADERS = trimesh/misc.hh EXTRA_DIST = trimesh/README -- 1.6.1.2
15 years, 7 months
1
0
0
0
[PATCH 15/31] Use more canonical names to handle the configuration of Swilena.
by Roland Levillain
* configure.ac: s/with_swilena/enable_swilena/. (ENABLE_SWILENA): Adjust conditional. --- ChangeLog | 7 +++++++ configure.ac | 6 ++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d64a04d..494377a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Use more canonical names to handle the configuration of Swilena. + + * configure.ac: s/with_swilena/enable_swilena/. + (ENABLE_SWILENA): Adjust conditional. + +2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Make Milena tools (milena/tools/) optional. * configure.ac: Add option `--enable-tools'. diff --git a/configure.ac b/configure.ac index 7b0aacb..48a849c 100644 --- a/configure.ac +++ b/configure.ac @@ -130,11 +130,9 @@ AC_CONFIG_SUBDIRS([external/trimesh]) ## Swilena. ## ## --------- ## -OLN_WITH_SWILENA([with_swilena=yes], [with_swilena=no]) -AM_CONDITIONAL([ENABLE_SWILENA], [test x$with_swilena = xyes]) +OLN_WITH_SWILENA([enable_swilena=yes], []) +AM_CONDITIONAL([ENABLE_SWILENA], [test x$enable_swilena = xyes]) -# FIXME: Should we still configure these files if ENABLE_SWILENA is -# false? AC_CONFIG_FILES([swilena/Makefile swilena/python/Makefile]) -- 1.6.1.2
15 years, 7 months
1
0
0
0
[PATCH 14/31] Make Milena tools (milena/tools/) optional.
by Roland Levillain
* configure.ac: Add option `--enable-tools'. (ENABLE_TOOLS): New conditional. Gather lines related to tools. * milena/Makefile.am (SUBDIRS) [ENABLE_TOOLS]: Add tools. --- ChangeLog | 9 +++++++++ configure.ac | 30 ++++++++++++++++++++---------- milena/Makefile.am | 4 ++++ 3 files changed, 33 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index ff0d142..d64a04d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Make Milena tools (milena/tools/) optional. + + * configure.ac: Add option `--enable-tools'. + (ENABLE_TOOLS): New conditional. + Gather lines related to tools. + * milena/Makefile.am (SUBDIRS) [ENABLE_TOOLS]: Add tools. + +2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Make Milena applications (milena/apps/) optional. * configure.ac: Add option `--enable-apps'. diff --git a/configure.ac b/configure.ac index 5cb3f06..7b0aacb 100644 --- a/configure.ac +++ b/configure.ac @@ -87,15 +87,7 @@ if test "$GXX" = yes && test -z "$TESTS_CXXFLAGS_DEBUG"; then TESTS_CXXFLAGS_DEBUG="-O0 -ggdb -Wall -W -D_GLIBCXX_DEBUG -D_GLIBCXX_CONCEPT_CHECKS" fi -# ----------------- # -# Flags for tools. # -# ----------------- # -AC_ARG_VAR([TOOLS_CXXFLAGS]) -# We want fast binaries for tools. -if test "$GXX" = yes && test -z "$TOOLS_CXXFLAGS"; then - TOOLS_CXXFLAGS="-O3 -DNDEBUG -ggdb -Wall -W" -fi ## ------------------ ## @@ -176,10 +168,8 @@ AC_CONFIG_FILES([ milena/doc/tutorial/Makefile milena/doc/white_paper/Makefile milena/mesh/Makefile - milena/tools/Makefile ]) - ## ------- ## ## Tests. ## ## ------- ## @@ -333,4 +323,24 @@ if test "$GXX" = yes && test -z "$APPS_CXXFLAGS"; then APPS_CXXFLAGS="-O3 -DNDEBUG -ggdb -Wall -W" fi +## ------- ## +## Tools. ## +## ------- ## + +AC_ARG_ENABLE([tools], + [AS_HELP_STRING([--enable-tools], + [enable tools])]) +AM_CONDITIONAL([ENABLE_TOOLS], [test "x$enable_tools" = "xyes"]) + +# Ask for the creation of tools' Makefiles. +AC_CONFIG_FILES([milena/tools/Makefile]) + +# Flags for tools. +AC_ARG_VAR([TOOLS_CXXFLAGS]) +# We want fast binaries for tools. +if test "$GXX" = yes && test -z "$TOOLS_CXXFLAGS"; then + TOOLS_CXXFLAGS="-O3 -DNDEBUG -ggdb -Wall -W" +fi + + AC_OUTPUT diff --git a/milena/Makefile.am b/milena/Makefile.am index e267598..a854381 100644 --- a/milena/Makefile.am +++ b/milena/Makefile.am @@ -9,6 +9,10 @@ if ENABLE_APPS SUBDIRS += apps endif ENABLE_APPS +if ENABLE_TOOLS + SUBDIRS += tools +endif ENABLE_TOOLS + .PHONY: doc tutorial tools doc: -- 1.6.1.2
15 years, 7 months
1
0
0
0
[PATCH 13/31] Make Milena applications (milena/apps/) optional.
by Roland Levillain
* configure.ac: Add option `--enable-apps'. (ENABLE_APPS): New conditional. Always configure milena/apps/Makefile and milena/apps/statues/Makefile. Populate APPS_CXXFLAGS with default flags. * milena/Makefile.am (SUBDIRS) [ENABLE_APPS]: Add apps. --- ChangeLog | 11 +++++++++++ configure.ac | 23 ++++++++++++++++------- milena/Makefile.am | 6 ++++-- 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3f7ea4c..ff0d142 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Make Milena applications (milena/apps/) optional. + + * configure.ac: Add option `--enable-apps'. + (ENABLE_APPS): New conditional. + Always configure milena/apps/Makefile and + milena/apps/statues/Makefile. + Populate APPS_CXXFLAGS with default flags. + * milena/Makefile.am (SUBDIRS) [ENABLE_APPS]: Add apps. + +2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Improve configure.ac w.r.t. Trimesh. * m4/trimesh.m4: Remove, and move relevant lines... diff --git a/configure.ac b/configure.ac index 6b46bc8..5cb3f06 100644 --- a/configure.ac +++ b/configure.ac @@ -298,14 +298,16 @@ AC_CONFIG_FILES([ ## Applications. ## ## -------------- ## -# FIXME: Don't build applications depending on Trimesh if Trimesh is not built. +AC_ARG_ENABLE([apps], + [AS_HELP_STRING([--enable-apps], + [enable application])]) +AM_CONDITIONAL([ENABLE_APPS], [test "x$enable_apps" = "xyes"]) + # Ask for the creation of applications' Makefiles. -# FIXME: Should it be achieved through oln.m4 macros, as we did in Olena 0.11? -# FIXME: ENABLE IT -#AC_CONFIG_FILES([ -# milena/apps/Makefile -# milena/apps/statues/Makefile -#]) +AC_CONFIG_FILES([ + milena/apps/Makefile + milena/apps/statues/Makefile +]) # Configure tests. # FIXME: Consider using `sed' instead of `configure' to create these @@ -324,4 +326,11 @@ AC_CONFIG_FILES([milena/apps/statues/test-mesh-complex-max-curv-segm], AC_CONFIG_FILES([milena/apps/statues/test-mesh-complex-skel], [chmod +x milena/apps/statues/test-mesh-complex-skel]) +# Flags for apps. +AC_ARG_VAR([APPS_CXXFLAGS]) +# We want fast binaries for apps. +if test "$GXX" = yes && test -z "$APPS_CXXFLAGS"; then + APPS_CXXFLAGS="-O3 -DNDEBUG -ggdb -Wall -W" +fi + AC_OUTPUT diff --git a/milena/Makefile.am b/milena/Makefile.am index 8ff2f4f..e267598 100644 --- a/milena/Makefile.am +++ b/milena/Makefile.am @@ -1,11 +1,13 @@ ## Process this file through Automake to create Makefile.in. -##FIXME SUBDIRS = \ doc \ mesh \ tests -# apps + +if ENABLE_APPS + SUBDIRS += apps +endif ENABLE_APPS .PHONY: doc tutorial tools -- 1.6.1.2
15 years, 7 months
1
0
0
0
[PATCH 12/31] Address comparisons of signed vs unsigned in apps/statues/.
by Roland Levillain
* apps/statues/io.hh: Use unsigned loop indices. --- milena/ChangeLog | 6 ++++++ milena/apps/statues/io.hh | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index 9bef11c..5ed7f50 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,11 @@ 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Address comparisons of signed vs unsigned in apps/statues/. + + * apps/statues/io.hh: Use unsigned loop indices. + +2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + * mln/topo/skeleton/breadth_first_thinning.hh: Aesthetic changes. 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> diff --git a/milena/apps/statues/io.hh b/milena/apps/statues/io.hh index 04ce871..cbced91 100644 --- a/milena/apps/statues/io.hh +++ b/milena/apps/statues/io.hh @@ -55,7 +55,7 @@ inline void write_verts_asc(TriMesh *mesh, FILE *f, const char *before_conf, const char *after_line) { - for (int i = 0; i < mesh->vertices.size(); i++) { + for (unsigned i = 0; i < mesh->vertices.size(); i++) { fprintf(f, "%s%.7g %.7g %.7g", before_vert, mesh->vertices[i][0], mesh->vertices[i][1], @@ -98,7 +98,7 @@ inline void write_faces_asc_colored(TriMesh *mesh, const char *after_line) { mesh->need_faces(); - for (int i = 0; i < mesh->faces.size(); i++) + for (unsigned i = 0; i < mesh->faces.size(); i++) { fprintf(f, "%s%d %d %d %d %d %d%s\n", before_face, @@ -135,7 +135,7 @@ inline void write_faces_asc_float(TriMesh *mesh, const char *after_line) { mesh->need_faces(); - for (int i = 0; i < mesh->faces.size(); i++) + for (unsigned i = 0; i < mesh->faces.size(); i++) { // Vertices Color // -------- ------------ @@ -177,7 +177,7 @@ inline void write_faces_asc_binary(TriMesh *mesh, const char *after_line) { mesh->need_faces(); - for (int i = 0; i < mesh->faces.size(); i++) + for (unsigned i = 0; i < mesh->faces.size(); i++) if (face_value[i]) { fprintf(f, "%s%d %d %d%s\n", -- 1.6.1.2
15 years, 7 months
1
0
0
0
[PATCH 11/31] mln/topo/skeleton/breadth_first_thinning.hh: Aesthetic changes.
by Roland Levillain
--- milena/ChangeLog | 4 ++++ milena/mln/topo/skeleton/breadth_first_thinning.hh | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index f7d67b5..9bef11c 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,9 @@ 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + * mln/topo/skeleton/breadth_first_thinning.hh: Aesthetic changes. + +2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Remove useless #include's. * mln/morpho/line_gradient.hh: diff --git a/milena/mln/topo/skeleton/breadth_first_thinning.hh b/milena/mln/topo/skeleton/breadth_first_thinning.hh index 6c28410..72f4d09 100644 --- a/milena/mln/topo/skeleton/breadth_first_thinning.hh +++ b/milena/mln/topo/skeleton/breadth_first_thinning.hh @@ -92,16 +92,14 @@ namespace mln F& is_simple = exact(is_simple_); const H& constraint = exact(constraint_); - typedef mln_psite(I) psite; - I output = duplicate(input); // Attach the work image to IS_SIMPLE. is_simple.set_image(output); + typedef mln_psite(I) psite; typedef p_set<psite> set_t; set_t set; - - // Populate the set with candiate simple points. + // Populate SET with candidate simple points. mln_piter(I) p_(output.domain()); for_all(p_) { -- 1.6.1.2
15 years, 7 months
1
0
0
0
[PATCH 10/31] Remove useless #include's.
by Roland Levillain
* mln/morpho/line_gradient.hh: * apps/statues/mesh-complex-max-curv.cc: Here. --- milena/ChangeLog | 8 ++++++++ milena/apps/statues/mesh-complex-max-curv.cc | 3 --- milena/mln/morpho/line_gradient.hh | 2 -- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index e83522a..f7d67b5 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,13 @@ 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Remove useless #include's. + + * mln/morpho/line_gradient.hh: + * apps/statues/mesh-complex-max-curv.cc: + Here. + +2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Have apps/statues/ catch up with Milena's current interface. * apps/statues/mesh-complex-max-curv-segm.cc, diff --git a/milena/apps/statues/mesh-complex-max-curv.cc b/milena/apps/statues/mesh-complex-max-curv.cc index 5c93d7d..5c095f8 100644 --- a/milena/apps/statues/mesh-complex-max-curv.cc +++ b/milena/apps/statues/mesh-complex-max-curv.cc @@ -39,9 +39,6 @@ #include <mln/core/image/complex_image.hh> #include <mln/core/image/complex_neighborhoods.hh> -#include <mln/morpho/closing_area.hh> -#include <mln/morpho/meyer_wst.hh> - #include <mln/data/fill.hh> #include <mln/literal/zero.hh> diff --git a/milena/mln/morpho/line_gradient.hh b/milena/mln/morpho/line_gradient.hh index 32b5975..c0c6018 100644 --- a/milena/mln/morpho/line_gradient.hh +++ b/milena/mln/morpho/line_gradient.hh @@ -40,8 +40,6 @@ # include <mln/math/abs.hh> -# include <mln/util/ord.hh> - # include <mln/core/image/image2d.hh> # include <mln/core/image/edge_image.hh> # include <mln/core/alias/window2d.hh> -- 1.6.1.2
15 years, 7 months
1
0
0
0
[PATCH 09/31] Have apps/statues/ catch up with Milena's current interface.
by Roland Levillain
* apps/statues/mesh-complex-max-curv-segm.cc, * apps/statues/mesh-complex-segm.cc, * apps/statues/mesh-segm.cc, * apps/statues/mesh-skel.cc: Adjust to the current interface of mln::morpho::closing::area. --- milena/ChangeLog | 10 ++++++++++ milena/apps/statues/mesh-complex-max-curv-segm.cc | 4 ++-- milena/apps/statues/mesh-complex-segm.cc | 4 ++-- milena/apps/statues/mesh-segm.cc | 7 +++---- milena/apps/statues/mesh-skel.cc | 7 +++---- 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index 3609d23..e83522a 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,15 @@ 2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + Have apps/statues/ catch up with Milena's current interface. + + * apps/statues/mesh-complex-max-curv-segm.cc, + * apps/statues/mesh-complex-segm.cc, + * apps/statues/mesh-segm.cc, + * apps/statues/mesh-skel.cc: + Adjust to the current interface of mln::morpho::closing::area. + +2009-05-11 Roland Levillain <roland(a)lrde.epita.fr> + * doc/.gitignore: Add headers.stamp. 2009-04-16 Roland Levillain <roland(a)lrde.epita.fr> diff --git a/milena/apps/statues/mesh-complex-max-curv-segm.cc b/milena/apps/statues/mesh-complex-max-curv-segm.cc index 37d4fbb..389f977 100644 --- a/milena/apps/statues/mesh-complex-max-curv-segm.cc +++ b/milena/apps/statues/mesh-complex-max-curv-segm.cc @@ -39,7 +39,7 @@ #include <mln/core/image/complex_image.hh> #include <mln/core/image/complex_neighborhoods.hh> -#include <mln/morpho/closing_area.hh> +#include <mln/morpho/closing/area.hh> #include <mln/morpho/meyer_wst.hh> #include <mln/math/max.hh> @@ -131,7 +131,7 @@ int main(int argc, char* argv[]) adj_edges_nbh_t; adj_edges_nbh_t adj_edges_nbh; - ima_t closed_input = mln::morpho::closing_area(input, adj_edges_nbh, lambda); + ima_t closed_input = mln::morpho::closing::area(input, adj_edges_nbh, lambda); /*------. | WST. | diff --git a/milena/apps/statues/mesh-complex-segm.cc b/milena/apps/statues/mesh-complex-segm.cc index ab049fc..c4a6dd0 100644 --- a/milena/apps/statues/mesh-complex-segm.cc +++ b/milena/apps/statues/mesh-complex-segm.cc @@ -39,7 +39,7 @@ #include <mln/core/image/complex_image.hh> #include <mln/core/image/complex_neighborhoods.hh> -#include <mln/morpho/closing_area.hh> +#include <mln/morpho/closing/area.hh> #include <mln/morpho/meyer_wst.hh> #include <mln/literal/white.hh> @@ -106,7 +106,7 @@ int main(int argc, char* argv[]) adj_edges_nbh_t; adj_edges_nbh_t adj_edges_nbh; - ima_t closed_input = mln::morpho::closing_area(input, adj_edges_nbh, lambda); + ima_t closed_input = mln::morpho::closing::area(input, adj_edges_nbh, lambda); /*------. | WST. | diff --git a/milena/apps/statues/mesh-segm.cc b/milena/apps/statues/mesh-segm.cc index 46391a1..e24fe6b 100644 --- a/milena/apps/statues/mesh-segm.cc +++ b/milena/apps/statues/mesh-segm.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2008 EPITA Research and Development Laboratory (LRDE) +// Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE) // // This file is part of the Olena Library. This library is free // software; you can redistribute it and/or modify it under the terms @@ -46,7 +46,7 @@ #include <mln/core/image/line_graph_image.hh> #include <mln/core/image/line_graph_elt_neighborhood.hh> -#include <mln/morpho/closing_area.hh> +#include <mln/morpho/closing/area.hh> #include <mln/morpho/meyer_wst.hh> #include "io.hh" @@ -173,8 +173,7 @@ int main(int argc, char* argv[]) typedef mln::line_graph_elt_neighborhood<mln::point3d> nbh_t; nbh_t nbh; - ima_t closed_lg_ima (lg_ima.domain()); - mln::morpho::closing_area(lg_ima, nbh, lambda, closed_lg_ima); + ima_t closed_lg_ima = mln::morpho::closing::area(lg_ima, nbh, lambda); /*------. | WST. | diff --git a/milena/apps/statues/mesh-skel.cc b/milena/apps/statues/mesh-skel.cc index c4fd0f2..4b2d002 100644 --- a/milena/apps/statues/mesh-skel.cc +++ b/milena/apps/statues/mesh-skel.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2008 EPITA Research and Development Laboratory (LRDE) +// Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE) // // This file is part of the Olena Library. This library is free // software; you can redistribute it and/or modify it under the terms @@ -46,7 +46,7 @@ #include <mln/core/image/graph_image.hh> #include <mln/core/image/graph_elt_neighborhood.hh> -#include <mln/morpho/closing_area.hh> +#include <mln/morpho/closing/area.hh> #include <mln/labeling/regional_minima.hh> #include "io.hh" @@ -155,8 +155,7 @@ int main(int argc, char* argv[]) typedef mln::graph_elt_neighborhood<mln::point3d> nbh_t; nbh_t nbh; - ima_t closed_g_ima (g_ima.domain()); - mln::morpho::closing_area(g_ima, nbh, lambda, closed_g_ima); + ima_t closed_g_ima = mln::morpho::closing::area(g_ima, nbh, lambda); /*------------------. | Regional minima. | -- 1.6.1.2
15 years, 7 months
1
0
0
0
← Newer
1
...
18
19
20
21
22
23
24
...
32
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Results per page:
10
25
50
100
200