<div><div class="gmail_quote">On Mon, Mar 22, 2010 at 9:19 AM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Marcus D. Hanwell wrote:<br>
> That sounds good, it seems to me that we should ensure that this is<br>
> added to VTK before we branch. Brad, do you want to do the honors? I<br>
> would love to be able to use this freely in tests and classes.<br>
<br>
</div>I committed the changes with one fix Bill L. needed when he first<br>
started using it.  The only change to an existing header was to<br>
forward-declare the vtkNew<> template and add some method overloads<br>
that use it in vtkSmartPointer<>.  Therefore code that does not<br>
write "#include <vtkNew.h>" should not be affected.<br>
<br>
-Brad<br><br></blockquote><div><br></div>Brad,<div><br></div><div>Thanks for doing this. Would you mind adding a short explanation of what the final outcome was here:</div><div><a href="http://www.vtk.org/Wiki/VTK/Tutorials/SmartPointers">http://www.vtk.org/Wiki/VTK/Tutorials/SmartPointers</a></div>
<div><br clear="all">Thanks,<br><br></div><div>David </div></div></div>