director.depthscanner module

class director.depthscanner.DepthScanner(view)[source]

Bases: object

getColorBufferImage()[source]
getDepthBufferImage()[source]
getDepthImage()[source]
initDepthImageView()[source]
initPointCloudView()[source]
update()[source]
updateBufferImages()[source]
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.

director.depthscanner.main(globalsDict=None)[source]