[vtk-developers] vtkNew in examples (or auto?)

David Cole DLRdave at aol.com
Mon Jun 26 15:30:00 EDT 2017


I hereby retract my "disastrous" comment from the other email thread
on this topic...

On Mon, Jun 26, 2017 at 3:07 PM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> On Mon, Jun 26, 2017 at 2:07 PM, Brad King <brad.king at kitware.com> wrote:
>> On 06/26/2017 01:06 PM, Marcus D. Hanwell wrote:
>>> If that is detracting from using vtkNew then I think we should add the
>>> single line to vtkNew.
>>>
>>> I will see about putting in a patch for this soon. I really would
>>> rather get rid of the duplication in the examples by preferring vtkNew
>>> or using auto. It is harder to read, and needlessly repeats the class
>>> name in my opinion.
>>
>> FYI: https://gitlab.kitware.com/vtk/vtk/merge_requests/2961
>>
> Thanks Brad, Bill pointed it out to me and I commented. I think it is
> time to make the vtkNew interface more consistent, and I regret my
> youthful desire for purity in the face of inconsistency :-)
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>


More information about the vtk-developers mailing list