Crate vtkio[][src]

Modules

basic
buffer

This module defines a buffer data structure optimized to be written to and read from standard Vecs. IOBuffer is particularly useful when reading data whose type is determined at run time. It's also easy to pass this buffer around since it has the same size for all types stored within.

macros

Utility macros for code generation.

model
parser
reinterpret
writer

Macros

call_numeric_fn

Applies $fn to an IOBuffer mapping valid numeric data types by corresponding generic parameters. For example, passing an IOBuffer containing data of type u8 will cause this macro to call $fn with type parameter u8 like $fn::<u8>(io_buffer).

Enums

Error

Functions

export

Export given vtk data to the specified file in BINARY format.

export_ascii

Export given vtk data to the specified file in ASCII format.

import

Import a vtk file at the specified path.

import_be

Import a vtk file at the specified path. If the file is in binary, numeric types will be interpreted in big-endian format.

import_le

Import a vtk file at the specified path. If the file is in binary, numeric types will be interpreted in little-endian format.