Skip to main content

vtk_pure_rs/
lib.rs

1//! vtk-rs — a pure Rust visualization toolkit.
2
3// Always available
4pub mod types;
5pub mod data;
6pub mod filters;
7
8// I/O (feature-gated)
9#[cfg(feature = "io-common")]
10pub mod io;
11
12// Rendering (feature-gated)
13#[cfg(feature = "render")]
14pub mod render;
15#[cfg(feature = "render-wgpu")]
16pub mod render_wgpu;
17
18// Parallel (feature-gated)
19#[cfg(feature = "parallel")]
20pub mod parallel;
21
22// Convenience re-exports (always available)
23pub use types::{Scalar, ScalarType, VtkError, BoundingBox, CellType};
24pub use data::{DataArray, AnyDataArray, CellArray, Points, FieldData, DataSetAttributes,
25    DataObject, DataSet, PolyData, ImageData, UnstructuredGrid, RectilinearGrid,
26    StructuredGrid, MultiBlockDataSet, Table, KdTree, Selection};
27
28pub mod prelude {
29    pub use crate::data::prelude::*;
30    pub use crate::{VtkError, BoundingBox, CellType};
31}