Loading isis/src/base/objs/EmbreeTargetShape/EmbreeTargetShape.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -404,8 +404,6 @@ namespace Isis { for (int plateIndex = 0; plateIndex < numPlates; ++plateIndex) { pcl::Vertices vertexIndices; // NAIF uses 1 based indexing for the vertices, so subtract 1 vertexIndices.vertices.push_back(polygonsArray[plateIndex * 3] - 1); vertexIndices.vertices.push_back(polygonsArray[plateIndex * 3 + 1] - 1); vertexIndices.vertices.push_back(polygonsArray[plateIndex * 3 + 2] - 1); Loading Loading @@ -439,9 +437,6 @@ namespace Isis { pcl::PolygonMesh::Ptr EmbreeTargetShape::readPC(FileName file) { pcl::PolygonMesh::Ptr mesh( new pcl::PolygonMesh ); std::cout << "Preparing for pcl::io::load" << std::endl; std::cout << "Loading file " << file.expanded().toStdString() << std::endl; std::cout << "Loading Mesh " << mesh << std::endl; int loadStatus = pcl::io::load(file.expanded().toStdString(), *mesh); if (loadStatus == -1) { QString msg = "Failed loading target shape file [" + file.expanded() + "]"; Loading Loading
isis/src/base/objs/EmbreeTargetShape/EmbreeTargetShape.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -404,8 +404,6 @@ namespace Isis { for (int plateIndex = 0; plateIndex < numPlates; ++plateIndex) { pcl::Vertices vertexIndices; // NAIF uses 1 based indexing for the vertices, so subtract 1 vertexIndices.vertices.push_back(polygonsArray[plateIndex * 3] - 1); vertexIndices.vertices.push_back(polygonsArray[plateIndex * 3 + 1] - 1); vertexIndices.vertices.push_back(polygonsArray[plateIndex * 3 + 2] - 1); Loading Loading @@ -439,9 +437,6 @@ namespace Isis { pcl::PolygonMesh::Ptr EmbreeTargetShape::readPC(FileName file) { pcl::PolygonMesh::Ptr mesh( new pcl::PolygonMesh ); std::cout << "Preparing for pcl::io::load" << std::endl; std::cout << "Loading file " << file.expanded().toStdString() << std::endl; std::cout << "Loading Mesh " << mesh << std::endl; int loadStatus = pcl::io::load(file.expanded().toStdString(), *mesh); if (loadStatus == -1) { QString msg = "Failed loading target shape file [" + file.expanded() + "]"; Loading