[][src]Crate vtkio

Modules

basic
model
parser
writer

Macros

call_numeric_buffer_fn

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

Enums

Error

Error type for Import/Export operations.

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.

export_be

Same as export but produces output in big-endian byte order.

export_le

Same as export but produces output in little-endian byte order.

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.

Type Definitions

IOBuffer

Primary buffer type used to store data read from binary or ASCII files.