| 55 | |
| 56 | |
| 57 | pcl::cloud_composer::CloudItem* |
| 58 | pcl::cloud_composer::CloudItem::clone () const |
| 59 | { |
| 60 | pcl::PCLPointCloud2::Ptr cloud_copy (new pcl::PCLPointCloud2 (*cloud_blob_ptr_)); |
| 61 | //Vector4f and Quaternionf do deep copies using constructor |
| 62 | CloudItem* new_item = new CloudItem (this->text (), cloud_copy, origin_,orientation_); |
| 63 | |
| 64 | PropertiesModel* new_item_properties = new_item->getPropertiesModel (); |
| 65 | new_item_properties->copyProperties (properties_); |
| 66 | |
| 67 | return new_item; |
| 68 | } |
| 69 | |
| 70 | void |
| 71 | pcl::cloud_composer::CloudItem::paintView (pcl::visualization::PCLVisualizer::Ptr vis) const |
nothing calls this directly
no test coverage detected