Home | History | Annotate | Download | only in src

Lines Matching refs:mesh

12 #include "Mesh.h"
158 // Given the mesh, backproject the 3D points to 2D to verify the pose estimation
159 std::vector<cv::Point2f> PnPProblem::verify_points(Mesh *mesh)
162 for( int i = 0; i < mesh->getNumVertices(); i++)
164 cv::Point3f point3d = mesh->getVertex(i);
197 bool PnPProblem::backproject2DPoint(const Mesh *mesh, const cv::Point2f &point2d, cv::Point3f &point3d)
199 // Triangles list of the object mesh
200 std::vector<std::vector<int> > triangles_list = mesh->getTrianglesList();
234 cv::Point3f V0 = mesh->getVertex(triangles_list[i][0]);
235 cv::Point3f V1 = mesh->getVertex(triangles_list[i][1]);
236 cv::Point3f V2 = mesh->getVertex(triangles_list[i][2]);