I am trying to run the "B-Spline Fitting" example which was given by PCL. I am getting a Run-time error, I dont know whether the file is getting read properly or not. I have attached screenshots with this mail. Screenshot 1 shows till where the program gets executed and Screenshot 2 show where the program gets struck. Please Someone help me with a solution to this problem. I just need to see how the B-Spline fitting works in PCL.
My project is based on Windows Application, So i am using PCL-1.7.2 i have used PCL All-in-One Installer for VC2012. Even if i get passed this error i am facing one more Run-Time Error can you please tell me how i can resolve this?? I have attached the Screenshot wit this mail what error i am facing. I just need to test this example for now, If you have (.exe) file of "B-Spline" example can you please send it to my mail ID (email@example.com) which i can test in my system.
It will get struck in the below Code
// surface refinement
for (unsigned i = 0; i < refinement; i++)
pcl::on_nurbs::Triangulation::convertSurface2Vertices (fit.m_nurbs, mesh_cloud, mesh_vertices, mesh_resolution);
// The Below statement is causing the code to break
viewer.updatePolygonMesh<pcl::PointXYZ> (mesh_cloud, mesh_vertices, mesh_id); // <-------
So it mean there is no B-Spline support in PCL-1.7.2?? I am using Visual Studio 2013 so i had to install the version compatible with Visual Compiler 2012 i used "PCL-1.7.2-AllInOne-msvc2012-win64". I just need to test the B-Spline example to see how it works. Do you have ".exe" file of the "B-Spline" example so that i can test in my system??
Oh so it s the issue with incompatibility, Actually PCL is not yet developed for VC2012, Even PCL-1.7.2 is not there in PCL Website. I downloaded All-in-One installed from the below link. Thanks you for your reply.
Thank you for your suggestion i built the PCL using the source code and was able to run the NURBS example. The NURBS is very slow program it took too long to finish, I wont be able to use this program on large data.
I have attached one video link with this message can you tell me is whether PCL can help me in any way to perform NURBS on an STL Model?? My task is to create a Surface model with STL model as a reference.
Ya what you said is true PCL is not a software, Actually i know the process flow of how to develop NURBS Surface on a Polygon Mesh. What i want to know is this in PCL is there any algorithm that can do "Mesh Segmentation" and create a polygons for me and then after that i want to perform "Convex Decomposition" and "Quadrilateral Partitioning" on these polygons. I have attached an image which shows the flow which i want to implement in my application.
The Fig(a) shows the polygon obtained after "Mesh Segmentation". So what i want to know is that whether PCL has algorithms that i can use to implement "Mesh Segmentation", "Convex Decomposition" and "Quadrilateral Partitioning"??