The source project of this merge request has been removed.
Updating CPP code.
Code has been reformatted and tested to ensure it compiles against the VTK master. Where colors were specified by floats color names are now used.
The C++ code now uses vtkNew() and auto.
Using vtkNew() for two reasons:
- As a teaching tool it makes it simpler and easier for people to write/understand the code.
- The code layout looks much neater. vtkNew is sufficiently distinctive so it highlights the vtk specific declaration.
Edited by Andrew Maclean