director.depthscanner module¶
-
director.depthscanner.computeDepthImageAndPointCloud(depthBuffer, colorBuffer, camera)[source]¶ Input args are an OpenGL depth buffer and color buffer as vtkImageData objects, and the vtkCamera instance that was used to render the scene. The function returns returns a depth image and a point cloud as vtkImageData and vtkPolyData.