vispy.geometry.isosurface module#

vispy.geometry.isosurface.isosurface(data, level)#

Generate isosurface from volumetric data using marching cubes algorithm. See Paul Bourke, “Polygonising a Scalar Field” (

data 3D numpy array of scalar values level The level at which to generate an isosurface

Returns an array of vertex coordinates (Nv, 3) and an array of per-face vertex indexes (Nf, 3)