From fb35f9b60ad989289a54002a5b2235c87a9efbac Mon Sep 17 00:00:00 2001 From: Jason Van Cleave Date: Sat, 22 Dec 2012 12:44:10 -0500 Subject: [PATCH] unknown --- src/ofxPCL.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ofxPCL.h b/src/ofxPCL.h index 8e23488..1e6b104 100644 --- a/src/ofxPCL.h +++ b/src/ofxPCL.h @@ -244,8 +244,8 @@ void movingLeastSquares(const T1 &cloud, T2 &output_cloud_with_normals, float se mls.setSearchRadius(search_radius); // Reconstruct - mls.setOutputNormals(mls_normals); - mls.reconstruct(mls_points); + //mls.setOutputNormals(mls_normals); + mls.process(mls_points); output_cloud_with_normals = T2(new typename T2::value_type); pcl::concatenateFields(mls_points, *mls_normals, *output_cloud_with_normals); @@ -316,7 +316,7 @@ ofMesh gridProjection(const T &cloud_with_normals, float resolution = 1, int pad // Get result gp.setInputCloud(cloud_with_normals); - gp.setSearchMethod(tree); + //gp.setSearchMethod(tree); gp.reconstruct(triangles); convert(cloud_with_normals, mesh);