visualizevtkconvert_amira_lattice_to_vtk

convert_amira_lattice_to_vtk

visualize.vtk.convert_amira_lattice_to_vtk(surf_file, outname='lattice', outdir='.')

Convert an AMIRA lattice file to vtk structured points.

Parameters:
  • surf_file (str) – Path to the AMIRA lattice file.

  • outname (str, optional) – Name of the output file. Defaults to “lattice”.

  • outdir (str, optional) – Directory to save the file to. Defaults to “.”.

Returns:

None. Writes out a .vtk file to the specified directory.