<div dir="ltr"><div><div>Hi Marco, <br><br></div>The macro declare and defines the New() of VTK classes.<br><br></div><div>Looking at the source code of vtkObjectFactory.h [1] should be insightful. <br></div><div><br></div><div>I would also recommend reading the article "A Tour of VTK Pointer Classes". See [2]<br></div><div><br></div><div>Hth<br></div><div>Jc<br></div><div><br></div>[1] <a href="https://github.com/Kitware/VTK/blob/26480bda9bb29bd1a2f7a5f06493a360bbe65ff2/Common/Core/vtkObjectFactory.h#L320-L325">https://github.com/Kitware/VTK/blob/26480bda9bb29bd1a2f7a5f06493a360bbe65ff2/Common/Core/vtkObjectFactory.h#L320-L325</a><br><br>[2] <a href="http://www.kitware.com/source/home/post/7">http://www.kitware.com/source/home/post/7</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 12:22 AM, Marco Dev <span dir="ltr"><<a href="mailto:marco.dev.open@gmail.com" target="_blank">marco.dev.open@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br></div>can you explain with clearly about vtkStandardNewMacro and how does it work , what's it's usage ?<br></div>Thanks <br></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">+1 919 869 8849<br></div>
</div>