Zbuffer for python

Hello,

I working on creating 3D depth image using vtk in python. I did find Zbuffer which does the same but could only find the c++ code. Can anyone help me with getting python code for Zbuffer as I’m new to vtk.

Thank you