Function weights_to_vtk

pub fn weights_to_vtk(weight_window: &WeightWindow) -> Vtk
Expand description

Convert a set of weight windows to vtk using default options

Suitable for quick conversions, but for control over conversion options use WeightsToVtk and WeightsToVtkBuilder to change the configuration.

// Dummy weight window set
let mut ww_set = WeightWindow::default();

// Convert to VTK with the default configuration
let vtk = weights_to_vtk(&ww_set);