<br>Hi Ella,<br><br>A couple of years ago we cleaned up ITK from "id"<br>variables, to facilitate its use from Objective-C.<br><br><br>I'm surprised that you are finding any of those<br>conflicts.<br><br>Could you go back to your error messages and<br>
point us to places where you found "id" in ITK files ?<br><br>We will then proceed to rename those variables.<br><br><br>This email trail may also be helpful:<br><a href="http://www.itk.org/pipermail/insight-users/2009-October/033338.html">http://www.itk.org/pipermail/insight-users/2009-October/033338.html</a><br>
<br> Thanks<br><br><br> Luis<br><br><br>------------------------------------------------------------<br><div class="gmail_quote">On Wed, Dec 8, 2010 at 10:28 AM, Ella Maria Kadas <span dir="ltr"><<a href="mailto:ella_kadas@yahoo.com">ella_kadas@yahoo.com</a>></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;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">
Hi,<div><br></div><div>Another question: what does this line really mean. That i i have to do that in every file. like ".h" file and also ".mm" file something like</div><div>if i would like to do <b><span style="font-weight: normal; font-family: Times; font-size: medium;"><span style="color: rgb(206, 43, 34); font-family: Menlo; font-size: 11px;"><span style="color: rgb(119, 72, 44);">#include </span></span><span style="color: rgb(206, 43, 34); font-family: Menlo; font-size: 11px;">"itkConnectedThresholdImageFilter.h</span></span></b><b><span style="font-weight: normal; font-family: Times; font-size: medium;"><span style="color: rgb(206, 43, 34); font-family: Menlo; font-size: 11px;">"</span></span></b></div>
<div><b><span style="font-weight: normal; font-family: Times; font-size: medium;"><span style="color: rgb(206, 43, 34); font-family: Menlo; font-size: 11px;"><span style="color: rgb(0, 0, 0); font-family: arial; font-size: 13px;"><b><span style="font-weight: normal; font-family: Times; font-size: medium;"><pre style="word-wrap: break-word; white-space: pre-wrap;">
i would rather write:</pre></span></b></span></span></span></b></div><div><b><span style="font-weight: normal; font-family: Times; font-size: medium;"><span style="color: rgb(206, 43, 34); font-family: Menlo; font-size: 11px;"><span style="color: rgb(0, 0, 0); font-family: arial; font-size: 13px;"><b><span style="font-weight: normal; font-family: Times; font-size: medium;"><pre style="word-wrap: break-word; white-space: pre-wrap;">
#define id Id
<span style="font-family: arial; white-space: normal; font-size: 13px;"><b><span style="font-weight: normal; font-family: Times; font-size: medium;"><span style="color: rgb(206, 43, 34); font-family: Menlo; font-size: 11px;"><span style="color: rgb(119, 72, 44);">#include </span></span><span style="color: rgb(206, 43, 34); font-family: Menlo; font-size: 11px;">"itkConnectedThresholdImageFilter.h</span></span></b><b><span style="font-weight: normal; font-family: Times; font-size: medium;"><span style="color: rgb(206, 43, 34); font-family: Menlo; font-size: 11px;">"</span></span></b></span>        
#undef id</pre></span></b></span></span></span></b></div><div><b><span style="font-weight: normal; font-family: Times; font-size: medium;"><span style="color: rgb(206, 43, 34); font-family: Menlo; font-size: 11px;"></span><pre style="word-wrap: break-word; white-space: pre-wrap;">
<br></pre><pre style="word-wrap: break-word; white-space: pre-wrap;">In every file that users ITK headers, you should also redefine the objective c keyword id, for example:
#define id Id
        #include "itkImage.h"
        #include "itkImportImageFilter.h"
#undef id
</pre><div><br></div></span></b><br></div></td></tr></tbody></table><br><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>
<br></blockquote></div><br>