ctkCmdLineModuleTour.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <executable>
  3. <category>Tours</category>
  4. <title>Execution Model Tour</title>
  5. <description>
  6. Shows one of each type of parameter.
  7. </description>
  8. <version>1.0</version>
  9. <documentation-url></documentation-url>
  10. <license></license>
  11. <contributor>Daniel Blezek</contributor>
  12. <parameters>
  13. <label>Scalar Parameters</label>
  14. <description>
  15. Variations on scalar parameters
  16. </description>
  17. <integer>
  18. <name>integerVariable</name>
  19. <flag>i</flag>
  20. <longflag>integer</longflag>
  21. <description>
  22. An integer without constraints
  23. </description>
  24. <label>Integer Parameter</label>
  25. <default>30</default>
  26. </integer>
  27. <boolean>
  28. <name>booleanParam</name>
  29. <flag>b</flag>
  30. <description>
  31. A boolean without constraints
  32. </description>
  33. <label>Boolean Parameter</label>
  34. </boolean>
  35. <double>
  36. <name>doubleVariable</name>
  37. <flag>d</flag>
  38. <longflag>double</longflag>
  39. <description>An double with constraints</description>
  40. <label>Double Parameter</label>
  41. <default>30</default>
  42. <constraints>
  43. <minimum>0</minimum>
  44. <maximum>1.e3</maximum>
  45. <step>0</step>
  46. </constraints>
  47. </double>
  48. </parameters>
  49. <parameters advanced="true">
  50. <label>Vector Parameters</label>
  51. <description>Variations on vector parameters</description>
  52. <float-vector>
  53. <name>floatVector</name>
  54. <flag>f</flag>
  55. <description>A vector of floats</description>
  56. <label>Float Vector Parameter</label>
  57. <default>1.3,2,-14</default>
  58. </float-vector>
  59. <string-vector>
  60. <name>stringVector</name>
  61. <longflag>string_vector</longflag>
  62. <description>A vector of strings</description>
  63. <label>String Vector Parameter</label>
  64. <default>"foo",bar,"foobar"</default>
  65. </string-vector>
  66. </parameters>
  67. <parameters>
  68. <label>Enumeration Parameters</label>
  69. <description>Variations on enumeration parameters</description>
  70. <string-enumeration>
  71. <name>stringChoice</name>
  72. <flag>e</flag>
  73. <longflag>enumeration</longflag>
  74. <description>An enumeration of strings</description>
  75. <label>String Enumeration Parameter</label>
  76. <default>foo</default>
  77. <element>foo</element>
  78. <element>"foobar"</element>
  79. <element>foofoo</element>
  80. </string-enumeration>
  81. <point>
  82. <name>pointVar</name>
  83. <flag>p</flag>
  84. <description>asf</description>
  85. <label>A point</label>
  86. <default>0.5,-34.2,43</default>
  87. </point>
  88. </parameters>
  89. <parameters advanced="true">
  90. <label>Directory I/O Parameters</label>
  91. <description>Various Directory I/O parameters.</description>
  92. <directory>
  93. <name>dirVar</name>
  94. <longflag>dirVar</longflag>
  95. <description>Some dir</description>
  96. <label>Some dir</label>
  97. <default>/home</default>
  98. </directory>
  99. </parameters>
  100. <parameters advanced="true">
  101. <label>File I/O Parameters</label>
  102. <description>Various File I/O parameters.</description>
  103. <file>
  104. <name>inputFileVarNoFileExtensions</name>
  105. <longflag>if1</longflag>
  106. <description>Input file, with no file extensions specified, so all files selectable.</description>
  107. <label>File, no extensions specified.</label>
  108. <default>bla</default>
  109. <channel>input</channel>
  110. </file>
  111. <file fileExtensions=".txt,.mat">
  112. <name>inputFileVarListCommaSeparated</name>
  113. <longflag>if2</longflag>
  114. <description>Input file, where a correct comma separated list of .txt and .mat are specified, which should include the first dot, but should not include any asterisks.</description>
  115. <label>Some .txt or .mat file.</label>
  116. <default>bla.txt</default>
  117. <channel>input</channel>
  118. </file>
  119. <file fileExtensions="*.txt,*.mat">
  120. <name>inputFileVarListCommaSeparatedWithINCORRECTAdditionOfAsterisks</name>
  121. <longflag>if3</longflag>
  122. <description>Input file, where the XML has incorrect addition of asterisks.</description>
  123. <label>Some .txt or .mat file.</label>
  124. <default>bla2.txt</default>
  125. <channel>input</channel>
  126. </file>
  127. <file fileExtensions="txt,mat">
  128. <name>inputFileVarListCommaSeparatedWithINCORRECTMissingFirstDot</name>
  129. <longflag>if4</longflag>
  130. <description>Input file, where the XML has incorrectly missed the first dot of the file extensions.</description>
  131. <label>Some .txt or .mat file.</label>
  132. <default>bla3.txt</default>
  133. <channel>input</channel>
  134. </file>
  135. <file>
  136. <name>outputFileVarNoFileExtensions</name>
  137. <longflag>of1</longflag>
  138. <description>Output file, with no file extensions specified, so all files selectable.</description>
  139. <label>Output file, no extensions specified.</label>
  140. <default>bla</default>
  141. <channel>output</channel>
  142. </file>
  143. <file fileExtensions=".txt,.mat">
  144. <name>outputFileVarListCommaSeparated</name>
  145. <longflag>of2</longflag>
  146. <description>Output file, where a correct comma separated list of .txt and .mat are specified, which should include the first dot, but should not include any asterisks.</description>
  147. <label>Some .txt or .mat file.</label>
  148. <default>bla.txt</default>
  149. <channel>output</channel>
  150. </file>
  151. <file fileExtensions="*.txt,*.mat">
  152. <name>outputFileVarListCommaSeparatedWithINCORRECTAdditionOfAsterisks</name>
  153. <longflag>of3</longflag>
  154. <description>Output file, where the XML has incorrect addition of asterisks.</description>
  155. <label>Some .txt or .mat file.</label>
  156. <default>bla2.txt</default>
  157. <channel>output</channel>
  158. </file>
  159. <file fileExtensions="txt,mat">
  160. <name>outputFileVarListCommaSeparatedWithINCORRECTMissingFirstDot</name>
  161. <longflag>of4</longflag>
  162. <description>Output file, where the XML has incorrectly missed the first dot of the file extensions.</description>
  163. <label>Some .txt or .mat file.</label>
  164. <default>bla3.txt</default>
  165. <channel>output</channel>
  166. </file>
  167. </parameters>
  168. <parameters advanced="true">
  169. <label>Image I/O Parameters</label>
  170. <description>Various Image I/O parameters.</description>
  171. <image>
  172. <name>inputImageVarNoFileExtensions</name>
  173. <longflag>ii1</longflag>
  174. <description>Input image, with no file extensions specified, so all files selectable.</description>
  175. <label>Image, no extensions specified.</label>
  176. <default>bla</default>
  177. <channel>input</channel>
  178. </image>
  179. <image fileExtensions=".nii,.nrrd,.nii.gz">
  180. <name>inputImageVarListCommaSeparated</name>
  181. <longflag>ii2</longflag>
  182. <description>Input image, where a correct comma separated list is specified, which should include the first dot, but should not include any asterisks.</description>
  183. <label>Some .nii or .nrrd or .nii.gz image.</label>
  184. <default>bla.nii</default>
  185. <channel>input</channel>
  186. </image>
  187. <image fileExtensions="*.nii,*.nrrd,*.nii.gz">
  188. <name>inputImageVarListCommaSeparatedWithINCORRECTAdditionOfAsterisks</name>
  189. <longflag>ii3</longflag>
  190. <description>Input image, where the XML has incorrect addition of asterisks.</description>
  191. <label>Some .nii or .nrrd or .nii.gz image.</label>
  192. <default>bla2.nii</default>
  193. <channel>input</channel>
  194. </image>
  195. <image fileExtensions="nii,nrrd,nii.gz">
  196. <name>inputImageVarListCommaSeparatedWithINCORRECTMissingFirstDot</name>
  197. <longflag>ii4</longflag>
  198. <description>Input file, where the XML has incorrectly missed the first dot of the file extensions.</description>
  199. <label>Some .nii or .nrrd or .nii.gz image.</label>
  200. <default>bla3.nii</default>
  201. <channel>input</channel>
  202. </image>
  203. <image>
  204. <name>outputImageVarNoFileExtensions</name>
  205. <longflag>oi1</longflag>
  206. <description>Output image, with no file extensions specified, so all files selectable.</description>
  207. <label>Image, no extensions specified.</label>
  208. <default>bla</default>
  209. <channel>output</channel>
  210. </image>
  211. <image fileExtensions=".nii,.nrrd,.nii.gz">
  212. <name>outputImageVarListCommaSeparated</name>
  213. <longflag>oi2</longflag>
  214. <description>Output image, where a correct comma separated is specified, which should include the first dot, but should not include any asterisks.</description>
  215. <label>Some .nii or .nrrd or .nii.gz image.</label>
  216. <default>bla.nii</default>
  217. <channel>output</channel>
  218. </image>
  219. <image fileExtensions="*.nii,*.nrrd,*.nii.gz">
  220. <name>outputImageVarListCommaSeparatedWithINCORRECTAdditionOfAsterisks</name>
  221. <longflag>oi3</longflag>
  222. <description>Output image, where the XML has incorrect addition of asterisks.</description>
  223. <label>Some .nii or .nrrd or .nii.gz image.</label>
  224. <default>bla2.nii</default>
  225. <channel>output</channel>
  226. </image>
  227. <image fileExtensions="nii,nrrd,nii.gz">
  228. <name>outputImageVarListCommaSeparatedWithINCORRECTMissingFirstDot</name>
  229. <longflag>oi4</longflag>
  230. <description>Output file, where the XML has incorrectly missed the first dot of the file extensions.</description>
  231. <label>Some .nii or .nrrd or .nii.gz image.</label>
  232. <default>bla3.nii</default>
  233. <channel>output</channel>
  234. </image>
  235. </parameters>
  236. <parameters advanced="true">
  237. <label>Geometry I/O Parameters</label>
  238. <description>Various Geometry I/O parameters, which are for things like vtkPolyData.</description>
  239. <geometry>
  240. <name>inputGeometryVarNoFileExtensions</name>
  241. <longflag>ig1</longflag>
  242. <description>Input geometry, with no file extensions specified, so all files selectable.</description>
  243. <label>Geometry, no extensions specified.</label>
  244. <default>bla</default>
  245. <channel>input</channel>
  246. </geometry>
  247. <geometry fileExtensions=".vtk,.vtp">
  248. <name>inputGeometryVarListCommaSeparated</name>
  249. <longflag>ig2</longflag>
  250. <description>Input geometry, where a correct comma separated list is specified, which should include the first dot, but should not include any asterisks.</description>
  251. <label>Some .vtk or .vtp file.</label>
  252. <default>bla.vtk</default>
  253. <channel>input</channel>
  254. </geometry>
  255. <geometry fileExtensions="*.vtk,*.vtp">
  256. <name>inputGeometryVarListCommaSeparatedWithINCORRECTAdditionOfAsterisks</name>
  257. <longflag>ig3</longflag>
  258. <description>Input geometry, where the XML has incorrect addition of asterisks.</description>
  259. <label>Some .vtk or .vtp file.</label>
  260. <default>bla2.vtk</default>
  261. <channel>input</channel>
  262. </geometry>
  263. <geometry fileExtensions=".vtk,.vtp">
  264. <name>inputGeometryVarListCommaSeparatedWithINCORRECTMissingFirstDot</name>
  265. <longflag>ig4</longflag>
  266. <description>Input geometry, where the XML has incorrectly missed the first dot of the file extensions.</description>
  267. <label>Some .vtk or .vtp file.</label>
  268. <default>bla3.vtk</default>
  269. <channel>input</channel>
  270. </geometry>
  271. <geometry>
  272. <name>outputGeometryVarNoFileExtensions</name>
  273. <longflag>og1</longflag>
  274. <description>Output geometry, with no file extensions specified, so all files selectable.</description>
  275. <label>Geometry, no extensions specified.</label>
  276. <default>bla</default>
  277. <channel>output</channel>
  278. </geometry>
  279. <geometry fileExtensions=".vtk,.vtp">
  280. <name>outputGeometryVarListCommaSeparated</name>
  281. <longflag>og2</longflag>
  282. <description>Output geometry, where a correct comma separated list is specified, which should include the first dot, but should not include any asterisks.</description>
  283. <label>Some .vtk or .vtp file.</label>
  284. <default>bla.vtk</default>
  285. <channel>output</channel>
  286. </geometry>
  287. <geometry fileExtensions="*.vtk,*.vtp">
  288. <name>outputGeometryVarListCommaSeparatedWithINCORRECTAdditionOfAsterisks</name>
  289. <longflag>og3</longflag>
  290. <description>Output geometry, where the XML has incorrect addition of asterisks.</description>
  291. <label>Some .vtk or .vtp file.</label>
  292. <default>bla2.vtk</default>
  293. <channel>output</channel>
  294. </geometry>
  295. <geometry fileExtensions=".vtk,.vtp">
  296. <name>outputGeometryVarListCommaSeparatedWithINCORRECTMissingFirstDot</name>
  297. <longflag>og4</longflag>
  298. <description>Output geometry, where the XML has incorrectly missed the first dot of the file extensions.</description>
  299. <label>Some .vtk or .vtp file.</label>
  300. <default>bla3.vtk</default>
  301. <channel>output</channel>
  302. </geometry>
  303. </parameters>
  304. </executable>