[Insight-users] Re: sample code

Luis Ibanez luis.ibanez at kitware.com
Thu Nov 18 09:29:58 EST 2004


Hi Muhamad,

You are mixing different versions of
InsightAppications and Insight.

Please use the *same* version for both
of them. These two modules evolve
simultaneouly.

We *strongly* encourage you to use the
most recent releases for both of them.
This is the release ITK 1.8.


Please let us know if you have further questions,


    Thanks


      Luis


-----------------------
Muhamad Amine wrote:

> Thank you for the quick reply. I now found the necessary files and have 
> put them in the source directory.
>  
> However, after trying to build the application I get the following error
>  
> itkImageToVTKImageFilter.h(61) : error C2977: 'VTKImageExport' : too 
> many template arguments
>  
> the line of code is:
>  
>  typedef VTKImageExport< InputImageType, 
> vtkFloatingPointType>            ExporterFilterType;
>  
> Your help is greatly appreciated
>  
> thanks
>  
> M. Amine
> 
> ------------------------------------------------------------------------
> *From:* Luis Ibanez [mailto:luis.ibanez at kitware.com]
> *Sent:* Tue 11/16/2004 5:55 PM
> *To:* Muhamad Amine
> *Cc:* Insight-users at itk.org
> *Subject:* Re: sample code
> 
> 
> Hi Muhamed,
> 
> 
> You will find the files:
> 
>      itkVTKImageToImageFilter.h
>      itkVTKImageToImageFilter.txx
>      itkImageToVTKImageFilter.h
>      itkImageToVTKImageFilter.txx
> 
> in the InsightApplications module,
> 
> These files are not part of Insight
> because they depend on VTK.
> 
> You will find them in the directory
> 
>     InsightApplications/Auxiliary/vtk
> 
> 
> Along with other code useful for connecting
> ITK and VTK.
> 
> 
> 
> Regards,
> 
> 
>     Luis
> 
> 
> 
> -----------------------
> Muhamad Amine wrote:
> 
>  > Hi Luis,
>  > 
>  > I'm trying to follow the example in the Getting-Started II.pdf and when
>  > I try to build the myProject.dsw, it's giving me an error indicating
>  > that it can't locate the itkImageToVtkImageFilter.h file. It seems like
>  > this code is outdated because I couldn't find the itkImageToVTKFilter.h
>  > file except by going back to the itk1.0.zip and finding it there in the
>  > Auxiliary directory. Can you please help me? Thanks
>  > 
>  > I'm new at this so please excuse anything that may seem obvious to you
>  > which I haven't figured out.
>  > 
>  > M. Amine
> 
> 
> 
> 






More information about the Insight-users mailing list