Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
sdf_mesh.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_URDF_SDF_MESH_H
27#define TESSERACT_URDF_SDF_MESH_H
28
31#include <memory>
32#include <vector>
34
35namespace tinyxml2
36{
37class XMLElement; // NOLINT
38class XMLDocument;
39} // namespace tinyxml2
40
41namespace tesseract_common
42{
43class ResourceLocator;
44}
45
46namespace tesseract_geometry
47{
48class SDFMesh;
49}
50
51namespace tesseract_urdf
52{
61std::vector<std::shared_ptr<tesseract_geometry::SDFMesh>> parseSDFMesh(const tinyxml2::XMLElement* xml_element,
63 bool visual,
64 int version);
65
76tinyxml2::XMLElement* writeSDFMesh(const std::shared_ptr<const tesseract_geometry::SDFMesh>& sdf_mesh,
77 tinyxml2::XMLDocument& doc,
78 const std::string& package_path,
79 const std::string& filename);
80
81} // namespace tesseract_urdf
82
83#endif // TESSERACT_URDF_SDF_MESH_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: geometry.h:39
Definition: box.h:45
tinyxml2::XMLElement * writeSDFMesh(const std::shared_ptr< const tesseract_geometry::SDFMesh > &sdf_mesh, tinyxml2::XMLDocument &doc, const std::string &package_path, const std::string &filename)
writeSDFMesh Write SDF Mesh to URDF XML. This is non-standard URDF / tesseract-exclusive
Definition: sdf_mesh.cpp:96
std::vector< std::shared_ptr< tesseract_geometry::SDFMesh > > parseSDFMesh(const tinyxml2::XMLElement *xml_element, const tesseract_common::ResourceLocator &locator, bool visual, int version)
Parse xml element sdf_mesh.
Definition: sdf_mesh.cpp:45
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
auto sdf_mesh
Definition: tesseract_geometry_unit.cpp:26