![]() |
Tesseract 0.28.4
|
Parse octree from xml string. More...
#include <tesseract/common/macros.h>#include <stdexcept>#include <boost/iostreams/device/array.hpp>#include <boost/iostreams/stream.hpp>#include <tesseract/common/utils.h>#include <tinyxml2.h>#include <octomap/OcTree.h>#include <tesseract/geometry/impl/octree.h>#include <tesseract/common/resource_locator.h>#include <tesseract/urdf/octree.h>#include <tesseract/urdf/utils.h>Functions | |
| std::shared_ptr< tesseract::geometry::Octree > | tesseract::urdf::parseOctree (const tinyxml2::XMLElement *xml_element, const tesseract::common::ResourceLocator &locator, tesseract::geometry::OctreeSubType shape_type, bool prune) |
| Parse xml element octree. | |
| tinyxml2::XMLElement * | tesseract::urdf::writeOctree (const tesseract::geometry::Octree::ConstPtr &octree, tinyxml2::XMLDocument &doc, const std::string &package_path, const std::string &filename) |
Parse octree from xml string.
| tesseract::geometry::Octree::Ptr tesseract::urdf::parseOctree | ( | const tinyxml2::XMLElement * | xml_element, |
| const tesseract::common::ResourceLocator & | locator, | ||
| tesseract::geometry::OctreeSubType | shape_type, | ||
| bool | prune | ||
| ) |
Parse xml element octree.
| xml_element | The xml element |
| locator | The Tesseract resource locator |
| shape_type | The collision/visual shape type to use |
| prune | Indicate if the octree should be pruned |