Well I have to say the vtkSmartPointer macro discussion was one of the most entertaining threads I've had the pleasure of participating in. It's good to know that after 17 years we finally know how to instantiate objects in VTK and that we are making progress :-)<br>

<br>Has anyone thought about how we are going to roll this out? I generally don't like systems where there are multiple ways of doing the same thing which tends to confuse people (although admittedly VTK is rife with this but let's try). I assume Bill and others are going to continue with experiments, and if we still like it what then? We've got examples, tests, code base, tutorials, books, etc. to contend with. For example, we have the VTK Users guide going to the printer now, and if this is going to become pervasive maybe we should throw something in the book as a placeholder. My current favorite solution is to ask Brad to fix everything in the list above, but I suspect he might complain so maybe we should have a backup plan :-)<br>

<br>So does anybody want to venture a plan to roll this out? Or do we limit it's use and not worry about it? Comments?<br><br>W<br><br><div class="gmail_quote">On Fri, Jan 29, 2010 at 10:33 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Bill Lorensen wrote:<br>
> I love it. Can we try it? I'll convert some tests I've been modernizing...<br>
<br>
</div>I've pushed two commits here:<br>
<br>
  <a href="http://github.com/bradking/VTK/commits/vtkNew" target="_blank">http://github.com/bradking/VTK/commits/vtkNew</a><br>
<br>
  STYLE: Remove member-template check<br>
  <a href="http://github.com/bradking/VTK/commit/de48cba2c5a6a1e704ec9ff07a579ef074b4bd02" target="_blank">http://github.com/bradking/VTK/commit/de48cba2c5a6a1e704ec9ff07a579ef074b4bd02</a><br>
<br>
  ENH: Add vtkNew<> to create objects locally<br>
  <a href="http://github.com/bradking/VTK/commit/c734a24c49ac6553c54b4cc50079b23334736b13" target="_blank">http://github.com/bradking/VTK/commit/c734a24c49ac6553c54b4cc50079b23334736b13</a><br>
<br>
for folks to try out.<br>
<div><div></div><div class="h5"><br>
-Brad<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>

<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>
<input id="gwProxy" type="hidden"><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML"></div>