Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
geometry.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_URDF_GEOMETRY_H
27#define TESSERACT_URDF_GEOMETRY_H
28
31#include <memory>
33
34namespace tinyxml2
35{
36class XMLElement; // NOLINT
37class XMLDocument;
38} // namespace tinyxml2
39
40namespace tesseract_common
41{
42class ResourceLocator;
43}
44
45namespace tesseract_geometry
46{
47class Geometry;
48}
49
50namespace tesseract_urdf
51{
60std::vector<std::shared_ptr<tesseract_geometry::Geometry>>
61parseGeometry(const tinyxml2::XMLElement* xml_element,
63 bool visual,
64 int version);
65
77tinyxml2::XMLElement* writeGeometry(const std::shared_ptr<const tesseract_geometry::Geometry>& geometry,
78 tinyxml2::XMLDocument& doc,
79 const std::string& package_path,
80 const std::string& filename);
81
82} // namespace tesseract_urdf
83
84#endif // TESSERACT_URDF_GEOMETRY_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 * writeGeometry(const std::shared_ptr< const tesseract_geometry::Geometry > &geometry, tinyxml2::XMLDocument &doc, const std::string &package_path, const std::string &filename)
writeGeometry Write geometry to URDF XML
Definition: geometry.cpp:209
std::vector< std::shared_ptr< tesseract_geometry::Geometry > > parseGeometry(const tinyxml2::XMLElement *xml_element, const tesseract_common::ResourceLocator &locator, bool visual, int version)
Parse xml element geometry.
Definition: geometry.cpp:51
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