Mesh

Algorithms

algorithms.meshing(image_3d[, …]) Build a polygonal mesh representation (= list of vertices and faces) from a 3d image (= numpy array 3D).
algorithms.marching_cubes(vtk_image_data[, …]) Call of vtkMarchingCubes on a vtk_image_data with iso_value
algorithms.smoothing(vtk_poly_data[, …]) Call of vtkWindowedSincPolyDataFilter on a vtk_poly_data to smoothing the edge of poly_data
algorithms.decimation(vtk_poly_data[, …]) Call of vtkQuadricDecimation on a vtk_poly_data to decimate the mesh

Formats

write_vertices_faces_to_ply_file(filename, …) Write methods to save vertices and faces in ply format.
write_vtk_poly_data_to_ply_file(filename, …)
write_vertices_faces_to_json_file
read_json_file_to_vertices_faces

Routines

normals(vertices, faces) Compute normal of each faces
centers(vertices, faces) Compute center of each faces