MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / slotEstimateNormal

Method slotEstimateNormal

apps/modeler/src/scene_tree.cpp:334–346  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

332
333/////////////////////////////////////////////////////////////////////////////////////////////
334void
335pcl::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/////////////////////////////////////////////////////////////////////////////////////////////
349void

Callers

nothing calls this directly

Calls 2

getInstanceFunction · 0.85
runWorkerMethod · 0.80

Tested by

no test coverage detected