////////////////////////////////////////////////////////////////////
| 628 | |
| 629 | ///////////////////////////////////////////////////////////////////////// |
| 630 | void |
| 631 | save(const std::string& object_file, const std::string& plane_file) |
| 632 | { |
| 633 | PCDWriter w; |
| 634 | if (object_ && !object_->empty()) { |
| 635 | w.writeBinaryCompressed(object_file, *object_); |
| 636 | w.writeBinaryCompressed(plane_file, *plane_); |
| 637 | print_highlight("Object successfully segmented. Saving results in: %s, and %s.\n", |
| 638 | object_file.c_str(), |
| 639 | plane_file.c_str()); |
| 640 | } |
| 641 | } |
| 642 | |
| 643 | visualization::PCLVisualizer::Ptr cloud_viewer_; |
| 644 | visualization::ImageViewer::Ptr image_viewer_; |
no test coverage detected