Upgrading these examples to C++11.
Summary:
-
vtkNew
is now used. -
static
arrays have been replaced withstd::array
thereby allowing iterators and range-based for loops. Thus type-checking etc. is more secure. - Changed
#include "string"
to#include <string>
since the VTK includes are in predefined header directories. - Nicer looking images are now produced.
Edited by Andrew Maclean