Surface reconstruction by vtk delaunay 3d

Hello, I want to reconstruct the surface of a 3d object in vtk, which is a pcl point cloud type. However, when I use vtk delaunay to reconstruct the surface, I encountered the problem that vtk did not show anything and the program crash. Below is my code:

Where is the mistake I make? I am very confused, thank you very much