////////////////////////////////////////////////////////////////////////////////////////
| 332 | |
| 333 | ///////////////////////////////////////////////////////////////////////////////////////////// |
| 334 | void |
| 335 | pcl::modeler::SceneTree::slotEstimateNormal() |
| 336 | { |
| 337 | QList<CloudMeshItem*> selected_cloud_mesh_items = selectedTypeItems<CloudMeshItem>(); |
| 338 | AbstractWorker* worker = |
| 339 | new NormalEstimationWorker(selected_cloud_mesh_items, &MainWindow::getInstance()); |
| 340 | ThreadController* thread_controller = new ThreadController(); |
| 341 | connect(worker, |
| 342 | SIGNAL(dataUpdated(CloudMeshItem*)), |
| 343 | thread_controller, |
| 344 | SLOT(slotOnCloudMeshItemUpdate(CloudMeshItem*))); |
| 345 | thread_controller->runWorker(worker); |
| 346 | } |
| 347 | |
| 348 | ///////////////////////////////////////////////////////////////////////////////////////////// |
| 349 | void |
nothing calls this directly
no test coverage detected