Learning To Reconstruct And Segment 3D Objects