]> Creatis software - clitk.git/commitdiff
clitkMeshViewer
authorRomulo Pinho <romulo@linux-drod.site>
Mon, 16 May 2011 09:30:39 +0000 (11:30 +0200)
committerRomulo Pinho <romulo@linux-drod.site>
Mon, 16 May 2011 09:30:39 +0000 (11:30 +0200)
- GGO file

tools/CMakeLists.txt
tools/clitkMeshViewer.ggo [new file with mode: 0644]

index 02940551f4fe935a76c2a7dd0ab7299d6781d6a7..cc56a6dd1d4054080d2d162044b961f4a3cec8a7 100644 (file)
@@ -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 (file)
index 0000000..b990d7a
--- /dev/null
@@ -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