I vote for 1.  I also took the survey.<div><br></div><div>- Wes<br><br><div class="gmail_quote">On Thu, Jan 28, 2010 at 10:45 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I kind of like having the votes here on the list.  With online<br>
surveys, not only is it very easy for someone to cheat, but you don't<br>
know who voted for what.  Anonymity of any sort has no place on the<br>
VTK developers list IMHO.<br>
<font color="#888888"><br>
   David<br>
</font><div><div></div><div class="h5"><br>
<br>
On Thu, Jan 28, 2010 at 8:35 AM, Karthik Krishnan<br>
<<a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a>> wrote:<br>
> I vote for (1) - leaving things the way they are... I also made it<br>
> known on the DavidDoria's survey.<br>
><br>
> On Thu, Jan 28, 2010 at 10:33 AM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
>> I vote for:<br>
>><br>
>> 4. vtkLocalPointer<vtkClass> instance;<br>
>><br>
>>  - David<br>
>><br>
>> On Thu, Jan 28, 2010 at 8:31 AM, Marcus D. Hanwell<br>
>> <<a href="mailto:marcus.hanwell@kitware.com">marcus.hanwell@kitware.com</a>> wrote:<br>
>>> On Thursday 28 January 2010 10:16:24 Jeff Baumes wrote:<br>
>>>> On Thu, Jan 28, 2010 at 10:00 AM, Will Schroeder<br>
>>>><br>
>>>> <<a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a>> wrote:<br>
>>>> > Jeff can you summarize the proposed solutions (assuming we think we've<br>
>>>> > covered the bases) and let's take a vote on this. I want to keep my inbox<br>
>>>> > clear :-(<br>
>>>><br>
>>>> 1. Keep things the way they are:<br>
>>>> vtkSmartPointer<vtkClass> c = vtkSmartPointer<vtkClass>::New();<br>
>>>><br>
>>>> 2. Add new constructor to vtkSmartPointer that takes a bool and if<br>
>>>> true creates an instance of the object. Code would look like:<br>
>>>> vtkSmartPointer<vtkClass> c(true);<br>
>>>><br>
>>>> 3. Create typedefs for vtkSmartPointer<vtkClass>:<br>
>>>> vtkClassSP c = vtkClassSP::New();<br>
>>>><br>
>>>> 4. Make a new vtkLocalPointer type that is the same as vtkSmartPointer<br>
>>>> but always creates an instance of the object.<br>
>>>> vtkLocalPointer<vtkClass> c;<br>
>>>><br>
>>>> Unfortunately our inboxes won't be clear until everyone responds with<br>
>>>> a vote (I'd maybe give it till 12pm eastern time). We can take it to<br>
>>>> the ARB if there is no clear consensus.<br>
>>>><br>
>>> My favorite is 4, then 2. I was thinking of reasonably concise API, I think 1<br>
>>> has needless repetition and does not make the code any clearer.<br>
>>><br>
>>> Marcus<br>
>>><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>
>><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>
><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>Wesley D. Turner, Ph.D.<br>Kitware, Inc.<br>Technical Leader<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4920<br>
</div>