Skip to content

Upgrading these examples to C++11.

Summary:

  1. vtkNew is now used.
  2. static arrays have been replaced with std::array thereby allowing iterators and range-based for loops. Thus type-checking etc. is more secure.
  3. Changed #include "string" to #include <string> since the VTK includes are in predefined header directories.
  4. Nicer looking images are now produced.
Edited by Andrew Maclean

Merge request reports