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

Method removeAllPointClouds

visualization/src/pcl_visualizer.cpp:968–981  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

966
967/////////////////////////////////////////////////////////////////////////////////////////////
968bool
969pcl::visualization::PCLVisualizer::removeAllPointClouds (int viewport)
970{
971 // Check to see if the given ID entry exists
972 auto am_it = cloud_actor_map_->begin ();
973 while (am_it != cloud_actor_map_->end () )
974 {
975 if (removePointCloud (am_it->first, viewport))
976 am_it = cloud_actor_map_->begin ();
977 else
978 ++am_it;
979 }
980 return (true);
981}
982
983/////////////////////////////////////////////////////////////////////////////////////////////
984bool

Callers 15

getDatasetAndLabelsMethod · 0.80
showMethod · 0.80
showMethod · 0.80
clearCloudsMethod · 0.80
showMeshMethod · 0.80
showMethod · 0.80
showMethod · 0.80
clearCloudsMethod · 0.80
showMeshMethod · 0.80
showMethod · 0.80
showFunction · 0.80
clearCloudsFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected