Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
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>
34
35namespace tinyxml2
36{
37class XMLElement; // NOLINT
38class XMLDocument;
39} // namespace tinyxml2
41{
42class Link;
43class Material;
44} // namespace tesseract_scene_graph
45
46namespace tesseract_common
47{
48class ResourceLocator;
49} // namespace tesseract_common
50
51namespace tesseract_urdf
52{
61std::shared_ptr<tesseract_scene_graph::Link>
62parseLink(const tinyxml2::XMLElement* xml_element,
64 std::unordered_map<std::string, std::shared_ptr<tesseract_scene_graph::Material>>& available_materials,
65 int version);
66
75tinyxml2::XMLElement* writeLink(const std::shared_ptr<const tesseract_scene_graph::Link>& link,
76 tinyxml2::XMLDocument& doc,
77 const std::string& package_path);
78
79} // namespace tesseract_urdf
80#endif // TESSERACT_URDF_LINK_H
Abstract class for resource loaders.
Definition: resource_locator.h:43
Common Tesseract Macros.
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: allowed_collision_matrix.h:16
Definition: graph.h:82
Definition: box.h:45
std::shared_ptr< tesseract_scene_graph::Link > parseLink(const tinyxml2::XMLElement *xml_element, const tesseract_common::ResourceLocator &locator, std::unordered_map< std::string, std::shared_ptr< tesseract_scene_graph::Material > > &available_materials, int version)
Parse xml element link.
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:109
Definition: collision_margins.h:36
tesseract_common::fs::path package_path
Definition: resource_locator_unit.cpp:55
ResourceLocator::Ptr locator
Definition: resource_locator_unit.cpp:57
std::unordered_map< std::string, tesseract_scene_graph::Material::Ptr > available_materials
Definition: tesseract_urdf_material_unit.cpp:20