Hi Luis, <br>thanks for the updates. What I meant by the #define is <br>something the user would do in his/her code such as<br>--myHeader.h<br> #define Dimension 3<br> ///// and then, after that comes a <br> #include someitk.h-which-has<br>
... #include some-n-dimensional-itkfilter.h that happens to use "Dimension"<br>-----<br>The whole point is to make macro/const names unique <br>enough so they won't clash. I ran into this<br>earlier last week when I had some temporary #define 's <br>
that I had intended to have them replaced by arguments.<br><br>I am hoping people will add more from their experiences.<br><br>Regards.<br><br><br><div class="gmail_quote">On Tue, Jul 7, 2009 at 9:59 AM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi Asamwm,<br>
<br>
Thanks for posting the link to the page.<br>
<br>
<a href="http://www.itk.org/Wiki/ITK/InsightClopedia/DOs_and_DONTs" target="_blank">http://www.itk.org/Wiki/ITK/InsightClopedia/DOs_and_DONTs</a><br>
<br>
<br>
I have modified its formatting a bit,<br>
and rewrote the third section.<br>
<br>
ITK doesn't use #define in order to define any numerical<br>
constants. We do this through initialization of Statics<br>
or by using StaticConst Macros.<br>
<br>
Please take a look and let us know what you think,<br>
<br>
<br>
Thanks<br>
<br>
<br>
Luis<br>
<br>
<br>
---------------------------<br>
asamwm wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It is off of the top page <a href="http://www.itk.org/Wiki/ITK_InsightClopedia" target="_blank">http://www.itk.org/Wiki/ITK_InsightClopedia</a><br>
<br>
that you specified earlier:<br>
<br>
<a href="http://www.itk.org/Wiki/ITK/InsightClopedia/DOs_and_DONTs" target="_blank">http://www.itk.org/Wiki/ITK/InsightClopedia/DOs_and_DONTs</a><br>
<br>
It is still barely populated though.<br>
<br>
2009/7/6 Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a> <mailto:<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>>><br>
<br>
<br>
Hi Asamwm,<br>
<br>
Great idea,<br>
<br>
Can you send the link to the list,<br>
so we can take a look the new page that you created ?<br>
<br>
<br>
<br>
Thanks<br>
<br>
<br>
Luis<br>
<br>
<br>
<br>
----------<br>
asamwm wrote:<br>
<br>
Hi Luis,<br>
I added a Do's and Dont's page. I don't know whether you would<br>
like it to be there<br>
or whether a better version is duplicated somewhere else.<br>
Please take a look and if you like it, feel free to invite input.<br>
Regards.<br>
<br>
2009/7/6 Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a><br>
<mailto:<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>> <mailto:<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a><br>
<mailto:<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>>>><br>
<br>
<br>
<br>
Hi Ramon,<br>
<br>
Thanks a lot for populating this page.<br>
<br>
This is great.<br>
<br>
<br>
Luis<br>
<br>
<br>
<br>
------------------------<br>
<br>
Ramón Casero Cañas wrote:<br>
<br>
Ramón Casero Cañas wrote:<br>
<br>
Luis Ibanez wrote:<br>
<br>
<br>
Would you like to take a first pass at moving the<br>
content<br>
from your page into the ITK Wiki ?<br>
<br>
You can get an account right now, by simply going<br>
through<br>
the email verification step. :-)<br>
<br>
<br>
<br>
Hi Luis,<br>
<br>
Just a quick reply for the moment. Thanks for your email.<br>
Yes, I'd like to. I'm off until Monday, but I'll do<br>
it then.<br>
<br>
<br>
<br>
<br>
Hi all,<br>
<br>
I have now added some notes from my old wiki about<br>
building ITK<br>
and ITK projects in Ubuntu to the ITK wiki. I have added<br>
a link<br>
to the "ITK Configuring and Building" page<br>
<br>
<a href="http://www.itk.org/Wiki/ITK_Configuring_and_Building#Build_for_Ubuntu_Linux" target="_blank">http://www.itk.org/Wiki/ITK_Configuring_and_Building#Build_for_Ubuntu_Linux</a><br>
<br>
This new section has a link to a new page with the actual<br>
content<br>
<br>
<a href="http://www.itk.org/Wiki/ITK_Configuring_and_Building_for_Ubuntu_Linux" target="_blank">http://www.itk.org/Wiki/ITK_Configuring_and_Building_for_Ubuntu_Linux</a><br>
<br>
If somebody thinks that another arrangement is better, then<br>
please feel welcome to make any suggestions or edit the pages<br>
yourselves!<br>
<br>
Best regards,<br>
<br>
Ramon.<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<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>
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>
<br>
<br>
<br>
</blockquote>
</blockquote></div><br>