| 33 | } |
| 34 | |
| 35 | GridMapVisual::~GridMapVisual() { |
| 36 | // Destroy the ManualObject. |
| 37 | sceneManager_->destroyManualObject(manualObject_); |
| 38 | material_->unload(); |
| 39 | Ogre::MaterialManager::getSingleton().remove(material_->getName()); |
| 40 | |
| 41 | // Destroy the frame node. |
| 42 | sceneManager_->destroySceneNode(frameNode_); |
| 43 | } |
| 44 | |
| 45 | void GridMapVisual::setMessage(const grid_map_msgs::GridMap::ConstPtr& msg) { |
| 46 | // Convert grid map message. |
nothing calls this directly
no outgoing calls
no test coverage detected