[Insight-users] Example on connecting ITK and VTK pipelines

DuanQi duanqi79 at hotmail.com
Tue Jun 27 14:38:05 EDT 2006


Dear Karthik,
 
I finally found some example. The following file contains functions connecting ITK and VTK pipeline. I also wrote some test file based on this example. Except for the fact that at least on my system additional vtk headers are needed, everything works fine. The link of the file is:
http://www.imaging.robarts.ca/coders/content/seminars/IntroducingITK_files/itkVTKtoITKtoVTK.rtf
 
The additional vtk header I included for correct compilation on my systems are:
#include "vtkProperty.h"
#include "vtkImageData.h"
 
Otherwise there will be some error about converting vtkImageData * to vtkDataObject *. I didn't test which one is the crutial one but I would bet on "vtkImageData.h".
 
sincerely yours
Qi
duanqi79 at hotmail.com



> Date: Mon, 26 Jun 2006 17:10:39 -0400> From: Karthik.Krishnan at kitware.com> To: duanqi79 at hotmail.com> CC: insight-users at itk.org> Subject: Re: [Insight-users] Example on connecting ITK and VTK pipelines> > What are the link errors. You probably need to link to a few VTK libs too> > See> http://www.itk.org/cgi-bin/viewcvs.cgi/Auxiliary/vtk/?root=InsightApplications#dirlist> > DuanQi wrote:> > > Dear Sir or Madam> >> > I just wonder if there is an example about connecting ITK pipeline> > with VTK pipeline. I tried to use itkVTKImageExport, however, it seems> > there are some unsovled references during linkage even with following> > header files included:> > #include "itkImageFileReader.h"> > #include "itkVTKImageExport.h"> > #include "itkVTKImageIO.h"> >> >> > sincerely yours> > Qi> >> >> > ------------------------------------------------------------------------> > 率先尝试 Windows Live Mail。 Windows Live Mail> > <http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d>> >> >> >------------------------------------------------------------------------> >> >_______________________________________________> >Insight-users mailing list> >Insight-users at itk.org> >http://www.itk.org/mailman/listinfo/insight-users> >  > >
_________________________________________________________________
通过 Windows Live Messenger 表达您自己!
http://get.live.com/messenger/overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060627/0841aa5e/attachment.html


More information about the Insight-users mailing list