[vtkusers] vtkTemplateMacro change

Berk Geveci berk.geveci at kitware.com
Tue Aug 23 09:38:56 EDT 2005


Hi Folks,

I have the please (!) of announcing another deprecation.

vtkTemplateMacroN are being deprecated (as of VTK > 5.0). The replacement is 
vtkTemplateMacro. Here is an example:

vtkTemplateMacro2(vtkFoo, arg1, arg2);
should be replaced by
vtkTemplateMacro(vtkFoo(arg1, arg2));

For VTK 5.0, vtkTemplateMacroN will be available unless you turn on 
VTK_LEGACY_REMOVE. They will be removed in VTK 5.2 (or whatever the following 
release will be called). I have replaced all vtkTemplateMacroN with 
vtkTemplateMacro in VTK.

-Berk




More information about the vtkusers mailing list