Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
material.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_URDF_MATERIAL_H
27#define TESSERACT_URDF_MATERIAL_H
28
31#include <memory>
32#include <unordered_map>
34
35namespace tinyxml2
36{
37class XMLElement; // NOLINT
38class XMLDocument;
39} // namespace tinyxml2
41{
42class Material;
43}
44
45namespace tesseract_urdf
46{
55std::shared_ptr<tesseract_scene_graph::Material>
56parseMaterial(const tinyxml2::XMLElement* xml_element,
57 std::unordered_map<std::string, std::shared_ptr<tesseract_scene_graph::Material>>& available_materials,
58 bool allow_anonymous,
59 int version);
60
61tinyxml2::XMLElement* writeMaterial(const std::shared_ptr<const tesseract_scene_graph::Material>& material,
62 tinyxml2::XMLDocument& doc);
63
64} // namespace tesseract_urdf
65#endif // TESSERACT_URDF_MATERIAL_H
Common Tesseract Macros.
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: graph.h:82
Definition: box.h:45
tinyxml2::XMLElement * writeMaterial(const std::shared_ptr< const tesseract_scene_graph::Material > &material, tinyxml2::XMLDocument &doc)
Definition: material.cpp:124
std::shared_ptr< tesseract_scene_graph::Material > parseMaterial(const tinyxml2::XMLElement *xml_element, std::unordered_map< std::string, std::shared_ptr< tesseract_scene_graph::Material > > &available_materials, bool allow_anonymous, int version)
Parse xml element material.
Definition: collision_margins.h:36
std::unordered_map< std::string, tesseract_scene_graph::Material::Ptr > available_materials
Definition: tesseract_urdf_material_unit.cpp:20