From bfe31552fb225b41509ed34957c31fb22faba3c0 Mon Sep 17 00:00:00 2001 From: Andreas Schuh Date: Tue, 7 Jun 2016 16:56:57 +0100 Subject: [PATCH] enh: Rename 'remesh' command to 'remesh-surface' [Applications] --- Applications/lib/python/mirtk/subprocess.py.in | 1 + Applications/src/CMakeLists.txt | 2 +- Applications/src/{remesh.cc => remesh-surface.cc} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename Applications/src/{remesh.cc => remesh-surface.cc} (100%) diff --git a/Applications/lib/python/mirtk/subprocess.py.in b/Applications/lib/python/mirtk/subprocess.py.in index 3749bf4af..28b861588 100644 --- a/Applications/lib/python/mirtk/subprocess.py.in +++ b/Applications/lib/python/mirtk/subprocess.py.in @@ -55,6 +55,7 @@ def path(argv, quiet=False): elif command == 'convert-dof2velo': command = 'convert-dof' elif command == 'concatenate-dofs': command = 'compose-dofs' elif command == 'concatenate-images': command = 'combine-images' + elif command == 'remesh': command = 'remesh-surface' fpath = None for ext in libexec_ext: p = os.path.join(libexec_dir, config, command + ext) diff --git a/Applications/src/CMakeLists.txt b/Applications/src/CMakeLists.txt index 7df79bc40..be445f5ca 100644 --- a/Applications/src/CMakeLists.txt +++ b/Applications/src/CMakeLists.txt @@ -169,7 +169,7 @@ if (MIRTK_PointSet_FOUND) add_pointset_command(extract-connected-points) add_pointset_command(offset-surface) add_pointset_command(project-onto-surface) - add_pointset_command(remesh) + add_pointset_command(remesh-surface) add_pointset_command(smooth-surface) if (FLANN_FOUND) diff --git a/Applications/src/remesh.cc b/Applications/src/remesh-surface.cc similarity index 100% rename from Applications/src/remesh.cc rename to Applications/src/remesh-surface.cc