link.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_URDF_LINK_H
27 #define TESSERACT_URDF_LINK_H
28 
31 #include <memory>
32 #include <unordered_map>
33 #include <string_view>
35 
36 #include <tesseract_common/fwd.h>
38 
39 namespace tinyxml2
40 {
41 class XMLElement; // NOLINT
42 class XMLDocument;
43 } // namespace tinyxml2
44 
45 namespace tesseract_urdf
46 {
47 static constexpr std::string_view LINK_ELEMENT_NAME = "link";
48 
57 std::shared_ptr<tesseract_scene_graph::Link>
58 parseLink(const tinyxml2::XMLElement* xml_element,
59  const tesseract_common::ResourceLocator& locator,
60  bool make_convex_meshes,
61  std::unordered_map<std::string, std::shared_ptr<tesseract_scene_graph::Material>>& available_materials);
62 
71 tinyxml2::XMLElement* writeLink(const std::shared_ptr<const tesseract_scene_graph::Link>& link,
72  tinyxml2::XMLDocument& doc,
73  const std::string& package_path);
74 
75 } // namespace tesseract_urdf
76 #endif // TESSERACT_URDF_LINK_H
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
tesseract_urdf::writeLink
tinyxml2::XMLElement * writeLink(const std::shared_ptr< const tesseract_scene_graph::Link > &link, tinyxml2::XMLDocument &doc, const std::string &package_path)
writeLink Write a link to URDF XML
Definition: link.cpp:111
tesseract_common::ResourceLocator
TESSERACT_COMMON_IGNORE_WARNINGS_POP
tesseract_urdf::parseLink
std::shared_ptr< tesseract_scene_graph::Link > parseLink(const tinyxml2::XMLElement *xml_element, const tesseract_common::ResourceLocator &locator, bool make_convex_meshes, std::unordered_map< std::string, std::shared_ptr< tesseract_scene_graph::Material >> &available_materials)
Parse xml element link.
fwd.h
tinyxml2
tesseract_urdf::LINK_ELEMENT_NAME
static constexpr std::string_view LINK_ELEMENT_NAME
Definition: link.h:47
macros.h
tesseract_urdf
Definition: box.h:43


tesseract_urdf
Author(s): Levi Armstrong
autogenerated on Thu Apr 24 2025 03:10:44