[Insight-users] ITk and Osirix Plugin

Luis Ibanez luis.ibanez at kitware.com
Fri Dec 10 07:33:47 EST 2010


Hi Ella,

A couple of years ago we cleaned up ITK from "id"
variables, to facilitate its use from Objective-C.


I'm surprised that you are finding any of those
conflicts.

Could you go back to your error messages and
point us to places where you found "id" in ITK files ?

We will then proceed to rename those variables.


This email trail may also be helpful:
http://www.itk.org/pipermail/insight-users/2009-October/033338.html

   Thanks


        Luis


------------------------------------------------------------
On Wed, Dec 8, 2010 at 10:28 AM, Ella Maria Kadas <ella_kadas at yahoo.com>wrote:

> Hi,
>
> 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
> if i would like to do  *#include "itkConnectedThresholdImageFilter.h**"*
> *
>
> i would rather write:
>
> *
> *
>
> #define id Id#include "itkConnectedThresholdImageFilter.h"	
> #undef id
>
> *
> *
>
>
> 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
>
>
> *
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101210/cd7b0aa3/attachment.htm>


More information about the Insight-users mailing list