Commit 81f00060 authored by Roland Levillain's avatar Roland Levillain
Browse files

Clean up and new FIXMES in in apps/mesh-segm-skel.

	* apps/mesh-segm-skel/mesh-complex-max-curv.cc: Remove dead code.
	* apps/mesh-segm-skel/mesh-complex-skel.cc: Typo.
	* apps/mesh-segm-skel/Makefile.am: Add titles and FIXMES.
parent afa46ab7
2010-05-11 Roland Levillain <roland@lrde.epita.fr>
Clean up and new FIXMES in in apps/mesh-segm-skel.
* apps/mesh-segm-skel/mesh-complex-max-curv.cc: Remove dead code.
* apps/mesh-segm-skel/mesh-complex-skel.cc: Typo.
* apps/mesh-segm-skel/Makefile.am: Add titles and FIXMES.
2010-05-11 Roland Levillain <roland@lrde.epita.fr>
 
New application: mesh-complex-max-curv-extrema.
......@@ -30,16 +30,33 @@ MOSTLYCLEANFILES =
# FIXME: Have program names embed the type of structure used (either
# graph or complex).
## --------------------------- ##
## Graph-based applications. ##
## --------------------------- ##
# FIXME: To be written (and factored, of course):
#
# mesh-graph-{max,pinv}-curv
#
# mesh-graph-segm
# mesh-graph-{max,pinv}-curv-segm
#
# mesh-graph-skel
# mesh-graph-{max,pinv}-curv-skel
#
# ...
## ---------------------------- ##
## Complex-based applications. ##
## ---------------------------- ##
# A Milena re-implementation of some features from Trimesh. This code
# is completely independent from the Trimesh library.
# FIXME: Integrate this header into Milena.
noinst_HEADERS = misc.hh
## Segmentation.
## ------------
## Curvature computation.
## ----------------------
# A small program exercising the curvature computation routines ported
# from Trimesh to Milena.
......@@ -47,6 +64,7 @@ bin_PROGRAMS += mesh-complex-max-curv
TESTS += test-mesh-complex-max-curv
MOSTLYCLEANFILES += teapot-complex-max-curv.off
# FIXME: Implement (and exercise) mesh-complex-pinv-curv.
# A program computing the max curvature at each (2-)face of the
# surface of a triangle mesh and displaying its local minima
......@@ -58,7 +76,14 @@ MOSTLYCLEANFILES += \
socket-complex-max-curv-extrema.off \
teapot-complex-max-curv-extrema.off
# Segmentation program working on precomputed meshes with curvatures data.
# FIXME: Implement (and exercise) mesh-complex-pinv-curv-extrema.
## Segmentation.
## -------------
# Segmentation program working on precomputed meshes with curvature
# data. Less accurate, since curvature is stored on triangles
# (polygons), whereas the segmentation is performed on edges.
bin_PROGRAMS += mesh-complex-segm
TESTS += test-mesh-complex-segm
MOSTLYCLEANFILES += \
......@@ -92,3 +117,6 @@ MOSTLYCLEANFILES += \
socket-max-curv-skel.off \
teapot-max-curv-skel.off \
three-triangles-skel.off
# FIXME: Implement `mesh-complex-{max,pinv}-curv-skel'.
# ...
// Copyright (C) 2008, 2009, 2013 EPITA Research and Development
// Copyright (C) 2008, 2009, 2010, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
......@@ -81,16 +81,6 @@ int main(int argc, char* argv[])
mln::bin_2complex_image3df input;
mln::io::off::load(input, input_filename);
// // ------------------------------------------------------------
// // FIXME: TEST.
// mln::complex_image< 2, mln::space_2complex_geometry, mln::algebra::vec<3, float> >
// normal = mesh_normal(input.domain());
// mln::p_n_faces_fwd_piter<D, G> v_(normal.domain(), 0);
// for_all(v_)
// std::cout << normal(v_) << std::endl;
// std::exit(0);
// // ------------------------------------------------------------
std::pair<ima_t, ima_t> curv = mln::geom::mesh_curvature(input.domain());
// Compute the max curvature at each vertex.
......
......@@ -207,7 +207,7 @@ main(int argc, char* argv[])
`---------*/
/* FIXME: This does not work (yet).
Use workaround mln::io::off::save_bin_salt instead (bad!) */
Use workaround mln::io::off::save_bin_alt instead (bad!) */
#if 0
mln::io::off::save(skel | mln::pw::value(skel) == mln::pw::cst(true),
output_filename);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment