slam.io

Functions

load_fs_mesh(mgh_file)

load mgh_file and create a trimesh object Parameters ---------- mgh_file: str, path to the mgh file on the disk

load_fs_texture(mgh_file)

load_mesh(gifti_file)

load gifti_file and create a trimesh object :param gifti_file: str, path to the gifti file on the disk :return: the corresponding trimesh object

load_texture(gifti_file)

load gifti_file and create a TextureND object (multidimensional) :param gifti_file: str, path to the gifti file on the disk :return: the corresponding TextureND object

write_mesh(mesh, gifti_file)

write a trimesh mesh object to disk fixme: intent should be set !

write_texture(tex, gifti_file)

TODO manage metadata write a TextureND object to disk as a gifti file :param gifti_file: str, path to the gifti file on the disk :return: the corresponding TextureND object