removed Mesh::Ptr since mesh itself consists of shared points (cv::Mat)