From a70d831e41b3ed4341a19a81b5bd707af7856912 Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Mon, 16 May 2011 11:30:39 +0200 Subject: [PATCH] clitkMeshViewer - GGO file --- tools/CMakeLists.txt | 3 ++- tools/clitkMeshViewer.ggo | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 tools/clitkMeshViewer.ggo diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 0294055..cc56a6d 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -262,7 +262,8 @@ IF (CLITK_BUILD_TOOLS) ADD_EXECUTABLE(clitkBinaryImageToMesh clitkBinaryImageToMesh.cxx ${clitkBinaryImageToMesh_GGO_C}) TARGET_LINK_LIBRARIES(clitkBinaryImageToMesh ${ITK_LIBRARIES} vtkCommon vtkRendering) - ADD_EXECUTABLE(clitkMeshViewer clitkMeshViewer.cxx) + WRAP_GGO(clitkMeshViewer_GGO_C clitkMeshViewer.ggo) + ADD_EXECUTABLE(clitkMeshViewer clitkMeshViewer.cxx ${clitkMeshViewer_GGO_C}) TARGET_LINK_LIBRARIES(clitkMeshViewer vtkCommon vtkRendering) ENDIF(CLITK_EXPERIMENTAL) diff --git a/tools/clitkMeshViewer.ggo b/tools/clitkMeshViewer.ggo new file mode 100644 index 0000000..b990d7a --- /dev/null +++ b/tools/clitkMeshViewer.ggo @@ -0,0 +1,11 @@ +#File clitkMeshViewer.ggo +package "clitkMeshViewer" +version "1.0" +purpose "Visualize a set of meshes" +usage "clitkMeshViewer FILE1 FILE2 ... [OPTIONS]" + +option "config" - "Config file" string no +option "verbose" v "Verbose" flag off + +option "animate" - "Enable animation mode (type p/m to start/stop animation)" flag off +option "fps" - "Set the animation's frame rate (in fps)" double default="4.0" no -- 2.47.1