Skip to content
  • Brad King's avatar
    ENH: Add vtkNew<> to create objects locally · 5b524d53
    Brad King authored
    This simple template creates and owns one instance of its template
    argument for its lifetime.  Ownership can be shared with smart or raw
    pointers but cannot be taken away from vtkNew<> until destruction.  This
    approximates use of VTK objects as stack variables.
    5b524d53