diff --git a/apps/src/openni_uniform_sampling.cpp b/apps/src/openni_uniform_sampling.cpp index 92efb4726fc..8e54bab49d1 100644 --- a/apps/src/openni_uniform_sampling.cpp +++ b/apps/src/openni_uniform_sampling.cpp @@ -91,8 +91,8 @@ class OpenNIUniformSampling pcl::PointCloud sampled; pass_.filter (sampled); *cloud_ = *cloud; - - pcl::copyPointCloud (sampled, *keypoints_); + + pcl::copyPointCloud (sampled, *keypoints_); } void diff --git a/common/include/pcl/common/impl/io.hpp b/common/include/pcl/common/impl/io.hpp index ed0cdd1e666..fe170ae685c 100644 --- a/common/include/pcl/common/impl/io.hpp +++ b/common/include/pcl/common/impl/io.hpp @@ -264,7 +264,7 @@ pcl::copyPointCloud (const pcl::PointCloud &cloud_in, // Do we want to copy everything? Remember we assume UNIQUE indices if (nr_p == cloud_in.points.size ()) { - copyPointCloud (cloud_in, cloud_out); + copyPointCloud (cloud_in, cloud_out); return; } diff --git a/doc/tutorials/content/sources/don_segmentation/don_segmentation.cpp b/doc/tutorials/content/sources/don_segmentation/don_segmentation.cpp index bd4ef387ad4..d056dcc50a7 100644 --- a/doc/tutorials/content/sources/don_segmentation/don_segmentation.cpp +++ b/doc/tutorials/content/sources/don_segmentation/don_segmentation.cpp @@ -103,7 +103,7 @@ main (int argc, char *argv[]) // Create output cloud for DoN results PointCloud::Ptr doncloud (new pcl::PointCloud); - copyPointCloud(*cloud, *doncloud); + copyPointCloud (*cloud, *doncloud); std::cout << "Calculating DoN... " << std::endl; // Create DoN operator diff --git a/doc/tutorials/content/sources/random_sample_consensus/random_sample_consensus.cpp b/doc/tutorials/content/sources/random_sample_consensus/random_sample_consensus.cpp index 4810ea5b5a4..c4a14494ccd 100644 --- a/doc/tutorials/content/sources/random_sample_consensus/random_sample_consensus.cpp +++ b/doc/tutorials/content/sources/random_sample_consensus/random_sample_consensus.cpp @@ -88,7 +88,7 @@ main(int argc, char** argv) } // copies all inliers of the model computed to another PointCloud - pcl::copyPointCloud(*cloud, inliers, *final); + pcl::copyPointCloud (*cloud, inliers, *final); // creates the visualization object and adds either our original cloud or all of the inliers // depending on the command line arguments specified. diff --git a/doc/tutorials/content/sources/registration_api/example2.cpp b/doc/tutorials/content/sources/registration_api/example2.cpp index 82dfbc93c73..9023fa22753 100644 --- a/doc/tutorials/content/sources/registration_api/example2.cpp +++ b/doc/tutorials/content/sources/registration_api/example2.cpp @@ -60,10 +60,10 @@ estimateNormals (const PointCloud::Ptr &src, // For debugging purposes only: uncomment the lines below and use pcl_viewer to view the results, i.e.: // pcl_viewer normals_src.pcd PointCloud s, t; - copyPointCloud (*src, s); - copyPointCloud (normals_src, s); - copyPointCloud (*tgt, t); - copyPointCloud (normals_tgt, t); + copyPointCloud (*src, s); + copyPointCloud (normals_src, s); + copyPointCloud (*tgt, t); + copyPointCloud (normals_tgt, t); savePCDFileBinary ("normals_src.pcd", s); savePCDFileBinary ("normals_tgt.pcd", t); } @@ -154,10 +154,10 @@ computeTransformation (const PointCloud::Ptr &src, // Copy the data and save it to disk /* PointCloud s, t; - copyPointCloud (*keypoints_src, s); - copyPointCloud (normals_src, s); - copyPointCloud (*keypoints_tgt, t); - copyPointCloud (normals_tgt, t);*/ + copyPointCloud (*keypoints_src, s); + copyPointCloud (normals_src, s); + copyPointCloud (*keypoints_tgt, t); + copyPointCloud (normals_tgt, t);*/ // Find correspondences between keypoints in FPFH space CorrespondencesPtr all_correspondences (new Correspondences), diff --git a/examples/features/example_difference_of_normals.cpp b/examples/features/example_difference_of_normals.cpp index 2f49ecb4f86..21e572c391a 100644 --- a/examples/features/example_difference_of_normals.cpp +++ b/examples/features/example_difference_of_normals.cpp @@ -152,7 +152,7 @@ int main (int argc, char *argv[]) // Create output cloud for DoN results PointCloud::Ptr doncloud (new pcl::PointCloud); - copyPointCloud(*cloud, *doncloud); + copyPointCloud (*cloud, *doncloud); std::cout << "Calculating DoN... " << std::endl; // Create DoN operator diff --git a/filters/include/pcl/filters/impl/morphological_filter.hpp b/filters/include/pcl/filters/impl/morphological_filter.hpp index d21cf5b6cc1..33657eae176 100644 --- a/filters/include/pcl/filters/impl/morphological_filter.hpp +++ b/filters/include/pcl/filters/impl/morphological_filter.hpp @@ -61,7 +61,7 @@ pcl::applyMorphologicalOperator (const typename pcl::PointCloud::ConstPt if (cloud_in->empty ()) return; - pcl::copyPointCloud (*cloud_in, cloud_out); + pcl::copyPointCloud (*cloud_in, cloud_out); pcl::octree::OctreePointCloudSearch tree (resolution); @@ -116,7 +116,7 @@ pcl::applyMorphologicalOperator (const typename pcl::PointCloud::ConstPt { pcl::PointCloud cloud_temp; - pcl::copyPointCloud (*cloud_in, cloud_temp); + pcl::copyPointCloud (*cloud_in, cloud_temp); for (size_t p_idx = 0; p_idx < cloud_temp.points.size (); ++p_idx) { diff --git a/keypoints/include/pcl/keypoints/agast_2d.h b/keypoints/include/pcl/keypoints/agast_2d.h index 1cf6c08ffa8..473195dd8b9 100644 --- a/keypoints/include/pcl/keypoints/agast_2d.h +++ b/keypoints/include/pcl/keypoints/agast_2d.h @@ -488,7 +488,7 @@ namespace pcl { pcl::PointCloud output_temp; detector->applyNonMaxSuppression (image_data, tmp_cloud, output_temp); - pcl::copyPointCloud (output_temp, output); + pcl::copyPointCloud (output_temp, output); } }; @@ -516,7 +516,7 @@ namespace pcl { pcl::PointCloud output_temp; detector->detectKeypoints (image_data, output_temp); - pcl::copyPointCloud (output_temp, output); + pcl::copyPointCloud (output_temp, output); } }; diff --git a/keypoints/include/pcl/keypoints/impl/brisk_2d.hpp b/keypoints/include/pcl/keypoints/impl/brisk_2d.hpp index a22211ba2b4..3f65376c6b6 100644 --- a/keypoints/include/pcl/keypoints/impl/brisk_2d.hpp +++ b/keypoints/include/pcl/keypoints/impl/brisk_2d.hpp @@ -79,7 +79,7 @@ pcl::BriskKeypoint2D::detectKeypoints (PointClo brisk_scale_space.constructPyramid (image_data, width, height); pcl::PointCloud output_temp; brisk_scale_space.getKeypoints (threshold_, output_temp.points); - pcl::copyPointCloud (output_temp, output); + pcl::copyPointCloud (output_temp, output); // we do not change the denseness output.width = int (output.points.size ()); diff --git a/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp b/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp index 7c1cba24813..22d5b780ea0 100644 --- a/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp +++ b/recognition/include/pcl/recognition/impl/cg/geometric_consistency.hpp @@ -79,7 +79,7 @@ pcl::GeometricConsistencyGrouping::clusterCorresponden //temp copy of scene cloud with the type cast to ModelT in order to use Ransac PointCloudPtr temp_scene_cloud_ptr (new PointCloud ()); - pcl::copyPointCloud (*scene_, *temp_scene_cloud_ptr); + pcl::copyPointCloud (*scene_, *temp_scene_cloud_ptr); pcl::registration::CorrespondenceRejectorSampleConsensus corr_rejector; corr_rejector.setMaximumIterations (10000); diff --git a/recognition/include/pcl/recognition/impl/cg/hough_3d.hpp b/recognition/include/pcl/recognition/impl/cg/hough_3d.hpp index 4db86d1efc5..daf1553ffb1 100644 --- a/recognition/include/pcl/recognition/impl/cg/hough_3d.hpp +++ b/recognition/include/pcl/recognition/impl/cg/hough_3d.hpp @@ -274,7 +274,7 @@ pcl::Hough3DGrouping::cl // Insert maximas into result vector, after Ransac correspondence rejection // Temp copy of scene cloud with the type cast to ModelT in order to use Ransac PointCloudPtr temp_scene_cloud_ptr (new PointCloud); - pcl::copyPointCloud (*scene_, *temp_scene_cloud_ptr); + pcl::copyPointCloud (*scene_, *temp_scene_cloud_ptr); pcl::registration::CorrespondenceRejectorSampleConsensus corr_rejector; corr_rejector.setMaximumIterations (10000); @@ -355,7 +355,7 @@ pcl::Hough3DGrouping::re //// Temp copy of scene cloud with the type cast to ModelT in order to use Ransac //PointCloudPtr temp_scene_cloud_ptr (new PointCloud); - //pcl::copyPointCloud (*scene_, *temp_scene_cloud_ptr); + //pcl::copyPointCloud (*scene_, *temp_scene_cloud_ptr); //for (size_t i = 0; i < model_instances.size (); ++i) //{ diff --git a/test/io/test_io.cpp b/test/io/test_io.cpp index 2b065666cc2..01f22843c3e 100644 --- a/test/io/test_io.cpp +++ b/test/io/test_io.cpp @@ -1036,7 +1036,7 @@ TEST (PCL, CopyPointCloud) cloud_b.points[i].rgba = 255; } - pcl::copyPointCloud (cloud_a, cloud_b); + pcl::copyPointCloud (cloud_a, cloud_b); for (size_t i = 0; i < cloud_a.points.size (); ++i) { @@ -1047,7 +1047,7 @@ TEST (PCL, CopyPointCloud) cloud_a.points[i].x = cloud_a.points[i].y = cloud_a.points[i].z = 0; } - pcl::copyPointCloud (cloud_b, cloud_a); + pcl::copyPointCloud (cloud_b, cloud_a); for (size_t i = 0; i < cloud_a.points.size (); ++i) {