[vtkusers] vtk Marco usage
Jean-Christophe Fillion-Robin
jchris.fillionr at kitware.com
Wed Sep 16 01:00:59 EDT 2015
Hi Marco,
The macro declare and defines the New() of VTK classes.
Looking at the source code of vtkObjectFactory.h [1] should be insightful.
I would also recommend reading the article "A Tour of VTK Pointer Classes".
See [2]
Hth
Jc
[1]
https://github.com/Kitware/VTK/blob/26480bda9bb29bd1a2f7a5f06493a360bbe65ff2/Common/Core/vtkObjectFactory.h#L320-L325
[2] http://www.kitware.com/source/home/post/7
On Wed, Sep 16, 2015 at 12:22 AM, Marco Dev <marco.dev.open at gmail.com>
wrote:
> Hi,
> can you explain with clearly about vtkStandardNewMacro and how does it
> work , what's it's usage ?
> Thanks
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
--
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150916/1cb4e845/attachment.html>
More information about the vtkusers
mailing list