the speed of vtk.vtkMarchingCubes is slow, how to speed it up?

You set it in the GPU volume mapper’s scalar opacity transfer function. For isosurface-like rendering you need to set a ramp or step function. The isovalue is the location of the step in the function.