slam.io

Functions

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)

Create a mesh object from two arrays

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