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

Method removeCoordinateSystem

visualization/src/pcl_visualizer.cpp:827–844  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

825
826/////////////////////////////////////////////////////////////////////////////////////////////
827bool
828pcl::visualization::PCLVisualizer::removeCoordinateSystem (const std::string& id, int viewport)
829{
830 // Check to see if the given ID entry exists
831 auto am_it = coordinate_actor_map_->find (id);
832
833 if (am_it == coordinate_actor_map_->end ())
834 return (false);
835
836 // Remove it from all renderers
837 if (removeActorFromRenderer (am_it->second, viewport))
838 {
839 // Remove the ID pair to the global actor map
840 coordinate_actor_map_->erase (am_it);
841 return (true);
842 }
843 return (false);
844}
845
846/////////////////////////////////////////////////////////////////////////////////////////////
847bool

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls 3

eraseMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by 2

mainFunction · 0.64
mainFunction · 0.64