Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
mesh.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_URDF_MESH_H
27#define TESSERACT_URDF_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 Mesh;
49}
50
51namespace tesseract_urdf
52{
61std::vector<std::shared_ptr<tesseract_geometry::Mesh>> parseMesh(const tinyxml2::XMLElement* xml_element,
63 bool visual,
64 int version);
65
76tinyxml2::XMLElement* writeMesh(const std::shared_ptr<const tesseract_geometry::Mesh>& 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_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 * writeMesh(const std::shared_ptr< const tesseract_geometry::Mesh > &mesh, tinyxml2::XMLDocument &doc, const std::string &package_path, const std::string &filename)
writeMesh Write a mesh to URDF XML and PLY file
Definition: mesh.cpp:95
std::vector< std::shared_ptr< tesseract_geometry::Mesh > > parseMesh(const tinyxml2::XMLElement *xml_element, const tesseract_common::ResourceLocator &locator, bool visual, int version)
Parse xml element mesh.
Definition: mesh.cpp:44
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 mesh
Definition: tesseract_geometry_unit.cpp:25