octomap.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_URDF_OCTOMAP_H
27 #define TESSERACT_URDF_OCTOMAP_H
28 
31 #include <memory>
32 #include <string_view>
34 
35 #include <tesseract_common/fwd.h>
36 #include <tesseract_geometry/fwd.h>
37 
38 namespace tinyxml2
39 {
40 class XMLElement; // NOLINT
41 class XMLDocument;
42 } // namespace tinyxml2
43 
44 namespace tesseract_urdf
45 {
46 static constexpr std::string_view OCTOMAP_ELEMENT_NAME = "tesseract:octomap";
47 
56 std::shared_ptr<tesseract_geometry::Octree> parseOctomap(const tinyxml2::XMLElement* xml_element,
57  const tesseract_common::ResourceLocator& locator,
58  bool visual);
59 
70 tinyxml2::XMLElement* writeOctomap(const std::shared_ptr<const tesseract_geometry::Octree>& octree,
71  tinyxml2::XMLDocument& doc,
72  const std::string& package_path,
73  const std::string& filename);
74 
75 } // namespace tesseract_urdf
76 #endif // TESSERACT_URDF_OCTOMAP_H
tesseract_urdf::writeOctomap
tinyxml2::XMLElement * writeOctomap(const std::shared_ptr< const tesseract_geometry::Octree > &octree, tinyxml2::XMLDocument &doc, const std::string &package_path, const std::string &filename)
writeOctomap Write octomap to URDF XML. This is non-standard URDF / tesseract-exclusive
Definition: octomap.cpp:101
tesseract_urdf::OCTOMAP_ELEMENT_NAME
static constexpr std::string_view OCTOMAP_ELEMENT_NAME
Definition: octomap.h:46
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
tesseract_common::ResourceLocator
tesseract_urdf::parseOctomap
std::shared_ptr< tesseract_geometry::Octree > parseOctomap(const tinyxml2::XMLElement *xml_element, const tesseract_common::ResourceLocator &locator, bool visual)
Parse xml element octomap.
Definition: octomap.cpp:47
TESSERACT_COMMON_IGNORE_WARNINGS_POP
fwd.h
tinyxml2
macros.h
tesseract_urdf
Definition: box.h:43


tesseract_urdf
Author(s): Levi Armstrong
autogenerated on Mon Apr 21 2025 03:01:38