[Insight-developers] Adding new class to ITK

Luis Ibanez luis.ibanez at kitware.com
Wed Feb 11 15:40:54 EST 2009


Hi Andrei,

If your class is a template then you don't need to modify any CMakeLists.txt
file.

Simply put your .h and .txx files in the Code/Algorithms directory
(or the Code/Review directory if you have enabled ITK_USE_REVIEW)



Of course, I'm sure you wrote a test for it   :-)

In order to have your test run as part of the ITK testing suite,
that .cxx test, you will put it in the directory

          Insight/Testing/Code/Common

and you will edit the CMakeLists.txt file in that directory.

We look forward to see your new class contributed to the Insight Journal
:-)
http://www.insight-journal.org/


    Regards,


         Luis


--------------------------------------------------------------------------------------------------------------------
On Wed, Feb 11, 2009 at 3:31 PM, Andrei Danilchenko <
andrei.v.danilchenko at vanderbilt.edu> wrote:

>  Hello guys,
>
> I'm trying to add a new class to my local ITK copy. The class is very
> similar to MattesMutualInformationImageToImageMetric (it's actually the same
> but with a couple of changes in the way the metric is computed). I cannot
> find nowhere how to do it. As I understand, I should modify some
> CMakeLists.txt and then configure ITK with CMake, but I'm not sure which one
> I should modify. If someone could tell me how to do it or advise where to
> read about it, that would help me a lot.
>
> Thanks,
> Andrei.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.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-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090211/0241a894/attachment.htm>


More information about the Insight-developers mailing list