utilities

add_data

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

Adds data arrays to an output VTK data object

add_texture_coordinates

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

Add texture coordinates 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