[vtk-developers] [vtkusers] Const get macros?

Bill Lorensen bill.lorensen at gmail.com
Fri Aug 14 23:38:51 EDT 2009


David,

Be aware that adding a const version of the get macro may affect
wrapping. I believe that vtkParse.l handles vtkGetMacro, but there is
not provision to handle a GetConstMacro.

Bill

On Fri, Aug 14, 2009 at 5:34 PM, David Doria<daviddoria+vtk at gmail.com> wrote:
>>
>> I think ITK has const versions, you might copy how it does it, and
>> submit that as a patch to VTK.
>>
>> --
>> ____________________________________________________________
>> Sean McBride, B. Eng                 sean at rogue-research.com
>
> Ok, I'll look into it. I was also wondering why there was
> a vtkCxxSetObjectMacro but no vtkCxxGetObjectMacro ? Maybe a similar patch
> should be made for this, too?
> If I understand the patch procedure correctly, I need write access to CVS
> HEAD to submit a patch. Who do I need to talk to about that?
> Thanks,
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtk-developers mailing list