@@ -53,9 +53,8 @@ pcl::cloud_composer::MergeSelection::performAction(ConstItemList input_data,
5353 foreach (const CloudItem* input_cloud_item, selected_item_index_map_.keys ()) {
5454 // If this cloud hasn't been completely selected
5555 if (!input_data.contains (input_cloud_item)) {
56- auto input_cloud =
57- input_cloud_item->data (ItemDataRole::CLOUD_BLOB)
58- .value <pcl::PCLPointCloud2::ConstPtr>();
56+ auto input_cloud = input_cloud_item->data (ItemDataRole::CLOUD_BLOB)
57+ .value <pcl::PCLPointCloud2::ConstPtr>();
5958 qDebug () << " Extracting "
6059 << selected_item_index_map_.value (input_cloud_item)->indices .size ()
6160 << " points out of " << input_cloud->width ;
@@ -79,9 +78,9 @@ pcl::cloud_composer::MergeSelection::performAction(ConstItemList input_data,
7978 pose_found = true ;
8079 }
8180 auto * new_cloud_item = new CloudItem (input_cloud_item->text (),
82- original_minus_indices,
83- source_origin,
84- source_orientation);
81+ original_minus_indices,
82+ source_origin,
83+ source_orientation);
8584 output.append (new_cloud_item);
8685 pcl::PCLPointCloud2::Ptr temp_cloud = pcl::make_shared<pcl::PCLPointCloud2>();
8786 concatenate (*merged_cloud, *selected_points, *temp_cloud);
@@ -92,9 +91,8 @@ pcl::cloud_composer::MergeSelection::performAction(ConstItemList input_data,
9291 }
9392 // Just concatenate for all fully selected clouds
9493 foreach (const CloudComposerItem* input_item, input_data) {
95- auto input_cloud =
96- input_item->data (ItemDataRole::CLOUD_BLOB)
97- .value <pcl::PCLPointCloud2::ConstPtr>();
94+ auto input_cloud = input_item->data (ItemDataRole::CLOUD_BLOB)
95+ .value <pcl::PCLPointCloud2::ConstPtr>();
9896
9997 pcl::PCLPointCloud2::Ptr temp_cloud = pcl::make_shared<pcl::PCLPointCloud2>();
10098 concatenate (*merged_cloud, *input_cloud, *temp_cloud);
0 commit comments