Some features:
- Fast visualization of
- 2D, 3D rectilinear and simplicial grids
- Piecewise linear functions on these grids
- 1D x-y plot data
- Some keyboard and mouse based interaction in graphics window
- Separate rendering thread
- PNG+VTK output, video recording
VTKView wraps vtkfig, a C++ graphics library with an API that attempts to be easy to use from C/C++ simulation codes. It uses vtk for fast rendering of data. Based on ccall and the C API of vtkfig, VTKView makes this functionality available in Julia.
So far, this package is in alpha state.
-
Install vtk and its development files on your system. This can be done either via your system's package manager, or by downloading vtk and following the compilation instructions. Please ensure that all header files are installed as well. When configuring, care about ensuring that graphics acceleration is enabled.
-
Download (clone) vtkfig and install it using the instructions of that package.
-
Ensure that the directory containing
libvtkfig.so
(resp.libvtkfig.a
) is on yourLD_LIBRARY_PATH
-
Add this package to your Julia environment and try examples