vtkfig

March 4, 2020 ยท View on GitHub

VTK based C++ graphics library for plotting and for data on rectilinear and unstructured grids with an flexible and easy to use API.

Features

  • Standard views for scalars, vectors and grids in 2D, 3D:

    • isolines, filled contours
    • plane cuts, isosurfaces
    • quiver plots, stream ribbons
  • Duck typing based interface for data input in C++ codes

  • Separate rendering thread allowing for handling of changing data managed by the vtkfig::Frame class

  • Extensible by implementing derived classes containing vtk rendering pipelines from vtkfig::Figure

  • Memory management via std::shared_ptr

  • (Emerging) C API

  • (Emerging) companion Julia package VTKView.jl based on C API and Julia ccall

  • Experimental client-server communication for remote execution

  • 3-Clause BSD License (same as vtk)

Further information

Contributors

vtkfig started from matplot by Dag Lindbo found on http://na-wiki.csc.kth.se/mediawiki/index.php/Mat_plot_vtk. Numerous online postings by community members, the VTK examples, the doxygen documentation of VTK and sometimes its source code were helpful for developing this code.