[Insight-users] Re: itk to vtk

Luis Ibanez luis.ibanez at kitware.com
Thu Aug 18 18:41:46 EDT 2005



Hi Alma,

Please read the Tutorials

http://www.itk.org/HTML/Tutorials.htm

in particular:

"Getting Started with ITK and VTK"
http://www.itk.org/CourseWare/Training/GettingStarted-II.pdf

You will find there examples on how to use
ITK and VTK together.


---

Please add to your CMakeLists.txt file the line

INCLUDE_DIRECTORIES( ${myProject_SOURCE_DIR} )

where "myProject" must be replaced with the
string that you put in the PROJECT() command
at the top of your CMakeLists.txt file.


   Regards,



      Luis




------------------------
Alma Rosas Rugerio Ramos wrote:
> 
> I have tried of running the example to connect itk with vtk, but when I 
> compile the file myproject.cxx, it have a error with the library 
> itkImageToVTKImageFilter.h
> 
> The file read.txt in "insightapplication\auxiliary\vtk" suggest as alternative 
> copy this library to my own project, but it doesn't funtion.
> 
> I guess, I have to include some line in the CMakeLists to indicate the path of 
> the library but I don't exactly what?
> 
> can you help me please?
> 
> 
> thanks  
>    
> 
> 



More information about the Insight-users mailing list