ENH: Added vtkNew - scoped new VTK objects.
This commit adds a new templated pointer type - vtkNew. It has the advantage of one step initialization of VTK objects, that will be deleted once the vtkNew object goes out of scope. A new test was also added demonstrating and testing its functionality. Change-Id: I35ec37d39dafc8e1139821fbe5b6204178ae9776
Showing with 170 additions and 0 deletions