utilities

add_data

omfvista.utilities.add_data(output, data)[source]

Adds data arrays to an output VTK data object

add_textures

omfvista.utilities.add_textures(output, textures, elname)[source]

Add textures to a pyvista data object

check_orientation

omfvista.utilities.check_orientation(axis_u, axis_v, axis_w)[source]

This will check if the given axis_* vectors are the typical cartesian refernece frame (i.e. rectilinear).

check_orthogonal

omfvista.utilities.check_orthogonal(axis_u, axis_v, axis_w)[source]

Makes sure that the three input vectors are orthogonal