I would like capture the coordenates (x,y,z) of depth date in realsense camera and create the ply file. For this, i will need capture the cloud points and recosntruction the mesh vertex. Is there example about this two topics ?
Getting X, Y, Z is easy, there are many threads here asking the same. Just use QueryVertices:
The second part of your question is an open question that state of the art in research hasn't yet found a complete answer.
You can of course get some level of results, but it is not a solved problem. Have a look at the Point Cloud Library, or OpenCV for more information about this on a low level. At a high level, I think RealSense SDK provides some examples about creating meshes.