[vtk-developers] vtk dashboard

Marcus D. Hanwell marcus.hanwell at kitware.com
Thu Dec 18 13:42:57 EST 2014


On Thu, Dec 18, 2014 at 1:23 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> Since when can vtkNew be used to declare member variables?
> I though that vtkSmartPointer was supposed to be used for that.

It was designed to be used in that way, but it is strongly owned, i.e.
you cannot override with your own member of the same (or more derived)
type. See http://www.kitware.com/source/home/post/7 for a write up
that should still be pretty accurate.

Marcus


More information about the vtk-developers mailing list