<?xml version="1.0" encoding="utf-8"?>
<executable>
  <category>Application</category>
  <title>Slicer3</title>
  <description>The ultimate 3D Segmentation, Registration and Visualization System</description>
  <version>3.0.$Revision$(alpha)</version>
  <documentation-url></documentation-url>
  <license></license>
  <contributor>NA-MIC</contributor>

  <parameters>
    <label>Command Line Parameters</label>
    <description>Parameters used to start up Slicer3</description>

      <boolean>
      <name>Threads</name>
      <longflag>--no_threads</longflag>
      <flag>-t</flag>
      <description>Disables multi threading</description>
      <default>false</default>
      <label>Threads On/Off</label>
      </boolean>

      <boolean>
      <name>NoSplash</name>
      <longflag>--no_splash</longflag>
      <description>Disables the startup splash screen</description>
      <default>false</default>
      <label>Splash Screen On/Off</label>
      </boolean>

      <boolean>
      <name>TestMode</name>
      <longflag>--test_mode</longflag>
      <description>Disables registry and exit confirmation dialogs (forces --no-splash)</description>
      <default>false</default>
      <label>Registry and Exit Confirmation Dialogs Off/On</label>
      </boolean>

      <boolean>
      <name>NoModuleStreamsRedirect</name>
      <longflag>--no_module_stream_redirect</longflag>
      <description>For debugging: disables stream redirection for Command Line Modules</description>
      <default>false</default>
      <label>Command Line Module stream redirection On/Off</label>
      </boolean>

      <boolean>
      <name>NoModules</name>
      <longflag>--no_modules</longflag>
      <description>Disables the loading of Command Line Modules</description>
      <default>false</default>
      <label>Command Line Modules On/Off</label>
      </boolean>

      <boolean>
      <name>NoModuleCache</name>
      <longflag>--no_module_cache</longflag>
      <description>Disables the loading of Command Line Modules from the cache</description>
      <default>false</default>
      <label>Command Line Modules Caching On/Off</label>
      </boolean>

      <boolean>
      <name>ClearModuleCache</name>
      <longflag>--clear_module_cache</longflag>
      <description>Clear the module cache file</description>
      <default>false</default>
      <label>Delete the Command Line Module Cache On/Off</label>
      </boolean>
        
      <boolean>
      <name>VerboseModuleDiscovery</name>
      <longflag>--verbose_module_discovery</longflag>
      <description>Enable verbose output during module discovery process.</description>
      <default>false</default>
      <label>Verbose module discovery</label>
      </boolean>

      <boolean>
      <name>PrintModulePaths</name>
      <longflag>--print_module_paths</longflag>
      <description>Print the module paths registry key and exit without running slicer.</description>
      <default>false</default>
      <label>Print Module Paths</label>
      </boolean>

      <string multiple="true">
      <name>IgnoreModule</name>
      <longflag>--ignore_module</longflag>
      <description>Specify module name to ignore on loading</description>
      <label>Module to Ignore</label>
      </string>

      <string multiple="false">
      <name>EventLog</name>
      <longflag>--event_log</longflag>
      <description>Specify File to Log Event Broker mediated invocations</description>
      <label>Event Log File Name</label>
      </string>

      <boolean>
      <name>Daemon</name>
      <longflag>--daemon</longflag>
      <description>Turns on the Slicer Daemon (open listening socket port)</description>
      <default>false</default>
      <label>Slicer Daemon On/Off</label>
      </boolean>

      <boolean>
      <name>Tkcon</name>
      <longflag>--tkcon</longflag>
      <flag>-k</flag>
      <description>Brings up just the tk console</description>
      <default>false</default>
      <label>Tkcon On/Off</label>
      </boolean>

      <string>
      <name>LoadDicomDir</name>
      <longflag>--load_dicom</longflag>
      <description>Read dicom files from dir</description>
      <label>Load Dicom</label>
      </string>

      <string>
      <name>LoadFreeSurferVolume</name>
      <longflag>--load_freesurfer_volume</longflag>
      <flag>-y</flag>
      <description>Read freesurfer file</description>
      <label>Load Freesurfer</label>
      </string>

      <string>
      <name>LoadFreeSurferLabelVolume</name>
      <longflag>--load_freesurfer_label_volume</longflag>
      <flag>-l</flag>
      <description>Read freesurfer label file</description>
      <label>Load Freesurfer Label Volume</label>
      </string>

      <string>
      <name>LoadFreeSurferModel</name>
      <longflag>--load_freesurfer_model</longflag>
      <flag>-m</flag>
      <description>Read freesurfer model file</description>
      <label>Read Freesurfer Model File</label>
      </string>

      <string>
      <name>LoadFreeSurferScalar</name>
      <longflag>--load_freesurfer_scalar</longflag>
      <flag>-s</flag>
      <description>Read freesurfer scalar file</description>
      <label>Read Freesurfer Scalar File</label>
      </string>

      <string>
      <name>LoadFreeSurferAnnot</name>
      <longflag>--load_freesurfer_annot</longflag>
      <flag>-n</flag>
      <description>Read freesurfer annotation file</description>
      <label>Load Freesurfer Annotation File</label>
      </string>

      <string>
      <name>LoadFreeSurferQA</name>
      <longflag>--load_freesurfer_qa</longflag>
      <flag>-q</flag>
      <description>Read freesurfer QA subjects.csh file</description>
      <label>Read Freesurfer QA subjects</label>
      </string>

      <string>
      <name>LoadBXH</name>
      <longflag>--load_bxh</longflag>
      <flag>-x</flag>
      <description>Read bxh file</description>
      <label>Read BXH file</label>
      </string>

      <string>
      <name>File</name>
      <longflag>--file</longflag>
      <flag>-f</flag>
      <description>Script to execute instead of loading slicer</description>
      <label>Script to load</label>
      </string>

      <string>
      <name>Script</name>
      <longflag>--script</longflag>
      <flag>-p</flag>
      <description>Script to execute after slicer loads</description>
      <label>Script to load</label>
      </string>

      <string>
      <name>Exec</name>
      <longflag>--exec</longflag>
      <flag>-e</flag>
      <description>Some code to execute after slicer loads. (note: cannot specify scene after --exec) (note: use ,. instead of ; between tcl statements)</description>
      <label>Some code to execute after slicer loads</label>
      </string>

      <string>
      <name>Eval</name>
      <longflag>--eval</longflag>
      <flag>-v</flag>
      <description>Like --exec, but doesn't load slicer first</description>
      <label>Some code to execute (don't load slicer)</label>
      </string>

      <string>
      <name>ExecPython</name>
      <longflag>--execpython</longflag>
      <description>Some Python code to execute after slicer loads. (note: cannot specify scene after --exec)</description>
      <label>Some code to execute after slicer loads</label>
      </string>

      <string>
      <name>EvalPython</name>
      <longflag>--evalpython</longflag>
      <description>Like --exec, but doesn't load slicer first</description>
      <label>Some code to execute (don't load slicer)</label>
      </string>

      <boolean>
      <name>Stereo</name>
      <longflag>--stereo</longflag>
      <flag>-3</flag>
      <description>Set the flag to allow use of frame sequential stereo</description>
      <default>false</default>
      <label>Stereo On/Off</label>
      </boolean>

      <boolean>
      <name>OldVoxelShift</name>
      <longflag>--old_voxel_shift</longflag>
      <flag>-o</flag>
      <description>start slicer with voxel coords in corner not center of image pixel</description>
      <default>false</default>
      <label>Old Voxel Shift On/Off</label>
      </boolean>

      <boolean>
      <name>ImmediateMode</name>
      <longflag>--immediate_mode</longflag>
      <flag>-i</flag>
      <description>Turn on immediate mode rendering (slower)</description>
      <default>true</default>
      <label>Immediate Mode On/Off</label>
      </boolean>

      <boolean>
      <name>VTKDebugOn</name>
      <longflag>--vtk_debug</longflag>
      <description>Turn on vtk's debug macros (lots of output)</description>
      <default>false</default>
      <label>VTK Debug Mode On/Off</label>
      </boolean>

<!-- this does okay for passing the arguments, but it doesn't allow me
     to leave the argument off (even when I put in a default value).
     Also, it doesn't look like I can pass in argument strings that have
     spaces in them even if I put them in quotes.  That is:
		Slicer3 "my args" split
     gives me a vector of three strings rather than two.
-->

      <string multiple="true">
      <name>Args</name>
      <description>Remaining arguments to be passed to scripts (-f or -p)</description>
      <label>Script Arguments</label>
      <index>1</index>
      </string>

    </parameters>

</executable>
