std::shared_ptr< tesseract_geometry::Octree > parseOctree(const tinyxml2::XMLElement *xml_element, const tesseract_common::ResourceLocator &locator, tesseract_geometry::OctreeSubType shape_type, bool prune)
Parse xml element octree.
tinyxml2::XMLElement * writeOctree(const std::shared_ptr< const tesseract_geometry::Octree > &octree, tinyxml2::XMLDocument &doc, const std::string &package_path, const std::string &filename)
writeOctree Write octree out to file, and generate appropriate xml