Good point Bill, I never thought of using:
auto actor = vtkSmartPointer::New();
I will now! That looks so much easier to read!
For those interested I tried to provide a “guideline” in AmbientSpheres wrt vtkNew and STL containers, please feel free to improve on it.
Regards
Andrew