viewport-lib-io 0.1.0

File format loaders and exporters for viewport-lib
Documentation
1
2
3
4
5
6
7
8
9
use std::path::Path;

use crate::error::IoError;
use crate::types::IoDataSet;

/// Decode a VTP file into one scientific dataset per piece.
pub fn datasets_from_path(path: &Path) -> Result<Vec<IoDataSet>, IoError> {
    super::vtk::datasets_from_path(path)
}