[Insight-users] ITK,VTK,VC++

Luis Ibanez luis.ibanez@kitware.com
Sun, 04 May 2003 18:22:14 -0400


Hi Yasser,


Please follow Sebastian's advices:


1) Read the documentation

2) Look at the classes:

     ImageToVTKImageFilter
     VTKImageToImageFilter

   in

     Insight/Applications/Auxiliary/vtk

They will simplify the work of connecting
ITK and VTK pipelines.


3) In order to build the .dsw of your application
    using ITK and VTK you need to put in your
    CMakeLists.txt file at least the following lines



    FIND_PACKAGE(ITK)
    IF(ITK_FOUND)
      INCLUDE(${ITK_USE_FILE})
    ELSE(ITK_FOUND)
       MESSAGE(FATAL_ERROR
           "Cannot build without ITK.  Please set ITK_DIR.")
    ENDIF(ITK_FOUND)



    FIND_PACKAGE(VTK)
    IF (VTK_FOUND)
      INCLUDE (${VTK_USE_FILE})
    ENDIF (VTK_FOUND)


    CMAke will then generate the .dsw for you.


  Regards,



     Luis


----------------

yasser salman wrote:
> hi all..,
> every thing is ok. all application/example run in the right way.::)
> i need to know how can i use a MRIregisteration in VTK visualzation.
> i already visualiz and rendered my MRI volume data set in VTK and i wanna to 
> build a registeration part in ITK so..how can i link btween two files??
> should i read a software user guid? ..also if i wanna to build my own 
> work shop .dsw in VC++ can i insert some files found in ITK..
> yasser..
> 
> 
> 
> _____________________________________________________________
> Your own email, free website, free software and services at 
> 
> http://www.uscomputer.net/portal.htm 
> - courtesy of U.S. Computer Corporation -
> 
> _____________________________________________________________
> Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>