MCPcopy Create free account
hub / github.com/CloudCompare/CloudCompare / removeAllEntities

Method removeAllEntities

qCC/ccSectionExtractionTool.cpp:374–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374void ccSectionExtractionTool::removeAllEntities()
375{
376 reset(false);
377
378 //and we remove the remaining clouds (if any)
379 for (auto & cloud : m_clouds)
380 {
381 if (cloud.entity)
382 {
383 assert(cloud.isInDB);
384 //restore original display
385 cloud.entity->setDisplay(cloud.originalDisplay);
386 }
387 }
388
389 m_clouds.clear();
390 m_cloudsBox.clear();
391}
392
393void ccSectionExtractionTool::undo()
394{

Calls 3

resetFunction · 0.85
setDisplayMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected