It seems that metaCommand can also do that, I started to see some examples, they use the function <br><br>GetValueAsFloat to get the values as follow: <br>float Point; <br>args.Point =command.GetValueAsFloat(&quot;Point&quot;,&quot;floatval&quot;)<br>
<br><pre><code><kbd></kbd><kbd></kbd></code></pre>I want to use this for vectors (float Point[3]), I&#39;m looking to solve this problem and a good tutorial for metaCommand<br><br>Thanks for your help!<br>
<br><br><div class="gmail_quote">On Fri, Oct 1, 2010 at 11:20 AM, elhadj meljane <span dir="ltr">&lt;<a href="mailto:elhadj.meljane@gmail.com">elhadj.meljane@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all, <br>Thanks a lot  for all these information, I&#39;m going to look ...<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Sep 30, 2010 at 10:33 PM, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">We have used tclap as part of the Slicer3 execution model. We found it<br>
to be an excellent command line parser.<br>
<font color="#888888"><br>
Bill<br>
</font><div><div></div><div><br>
On Thu, Sep 30, 2010 at 1:44 PM, Michael Jackson<br>
&lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt; You might want to try the TCLAP project also. Pretty clean implementation<br>
&gt; and easy to understand and use. If you look at<br>
&gt; &quot;<a href="http://www.bluequartz.net/projects/ElectronicImaging/SoftwareDevelopment/html/index.html" target="_blank">http://www.bluequartz.net/projects/ElectronicImaging/SoftwareDevelopment/html/index.html</a>&quot;<br>


&gt; under the &quot;Getting values into the Computation Engine&quot; there is a section<br>
&gt; that compares the use of TCLAP with Boost::program_options which is another<br>
&gt; option you could try.<br>
&gt;<br>
&gt; <a href="http://tclap.sourceforge.net/" target="_blank">http://tclap.sourceforge.net/</a><br>
&gt; ___________________________________________________________<br>
&gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt; Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
&gt; BlueQuartz Software               Dayton, Ohio<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sep 30, 2010, at 1:03 PM, elhadj meljane wrote:<br>
&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt; I have a program that use too many arguments: input, output parameters,<br>
&gt;&gt; the program work with<br>
&gt;&gt;<br>
&gt;&gt; &gt;./runProgram ImageInput ImageOutput Parameter1 .... ParameterN<br>
&gt;&gt;<br>
&gt;&gt; Sometimes, just 1 prameter is needed.<br>
&gt;&gt;<br>
&gt;&gt; I want to make the program easy to use, for example :<br>
&gt;&gt;<br>
&gt;&gt; &gt;./runProgram -I ImageInput -O ImageOutput -o option1 -p Parameter  (in<br>
&gt;&gt; &gt; this case I dont need to give the rest of the parameters)<br>
&gt;&gt; &gt;./runProgram -I ImageInput -O ImageOutput -o option2 -p1 Parameter1 ...<br>
&gt;&gt; &gt; -pN parameterN<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Do I need to implement  method for this  with &quot;If&quot; ....<br>
&gt;&gt; or there exist itk methods that help to do that ?<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt; _____________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt;&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>