[vtk-developers] Another 'major' change in vtkSetGet

Lisa S. Avila lisa.avila at kitware.com
Fri Feb 8 10:49:34 EST 2002


Oops - didn't consume enough caffeine before reading email.


At 10:16 AM 2/8/2002, Andy Cedilnik wrote:
>At 10:05 AM 2/8/2002 -0500, Lisa S. Avila wrote:
>>Hi Andy,
>>
>>I think this is a good idea - but I don't like the names. I would think the
>>"implementation" macro would go in the cxx file not the header. Also, why 
>>do we need any macro in the header file now - we would simply declare the 
>>method, right?
>>of the vtkSetObjectMacro. I added macro vtkSetObjectImplementationMacro,
>
>Hmm, this is what I said:
>
>>>which solves that problem. The way it works is that you put the actual
>>>prototype for the set method:
>>>
>>>         void SetTransformMatrix(vtkMatrix4x4*);
>>>
>>>to header file and put the macro in the c++ file:
>>>
>>>vtkSetObjectImplementationMacro(vtkLight,TransformMatrix,vtkMatrix4x4);
>
>There was a suggestion of changing the name to:
>
>vtkSetObjectCxxMacro or vtkCxxSetObjectMacro
>
>If you all agree, I will make the change.
>
>
>                                 Andy
>
>_______________________________________________
>vtk-developers mailing list
>vtk-developers at public.kitware.com
>http://public.kitware.com/mailman/listinfo/vtk-developers




More information about the vtk-developers mailing list