[Insight-users] VTK_TT Story

Brad King brad.king at kitware.com
Thu Dec 22 13:38:38 EST 2005


Kevin H. Hobbs wrote:
> Indeed if I replace the lines like the one above with lines like the one
> below the ITK Apps compile fine.
> 
> vtkTemplateMacro(vtkPatchedImageReaderUpdate2 (self, data, inPtr, 
>                       (VTK_TT *)(outPtr)));
> 
> Should changes be surrounded by some sort of #ifdef in case the version
> of VTK is old?

FYI, the new-style vtkTemplateMacro is in VTK 4.4 and later.  The 
old-style was just not deprecated until VTK 5.0.

-Brad


More information about the Insight-users mailing list