Registration of 3 D Point Clouds and Meshes : A Survey From Rigid to Non-Rigid