VTK Examples - Updated ParametricObjectsDemo

Following on from Changes to the VTK Eamples 1

This update now uses vtk::cli11 and vtk::fmt.

Things to note

  • The user gets an automatic help -h and adding explanations to the command line parameters is really simple. Really good for long complex command lines.
  • Using fmt::format in DisplayBoundingBoxAndCenter(...) has really simplified formatting. This also has the advantage of allowing named arguments. It is useful for complex formatting that is often difficult to do using streams.

I have also slipped in the ability to save a screenshot by pressing “k”.

See: ParametricObjectsDemo