Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
octomap.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_URDF_OCTOMAP_H
27#define TESSERACT_URDF_OCTOMAP_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 Octree;
48}
49
50namespace tesseract_urdf
51{
60std::shared_ptr<tesseract_geometry::Octree> parseOctomap(const tinyxml2::XMLElement* xml_element,
62 bool visual,
63 int version);
64
75tinyxml2::XMLElement* writeOctomap(const std::shared_ptr<const tesseract_geometry::Octree>& octree,
76 tinyxml2::XMLDocument& doc,
77 const std::string& package_path,
78 const std::string& filename);
79
80} // namespace tesseract_urdf
81#endif // TESSERACT_URDF_OCTOMAP_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
std::shared_ptr< tesseract_geometry::Octree > parseOctomap(const tinyxml2::XMLElement *xml_element, const tesseract_common::ResourceLocator &locator, bool visual, int version)
Parse xml element octomap.
Definition: octomap.cpp:45
tinyxml2::XMLElement * writeOctomap(const std::shared_ptr< const tesseract_geometry::Octree > &octree, tinyxml2::XMLDocument &doc, const std::string &package_path, const std::string &filename)
writeOctomap Write octomap to URDF XML. This is non-standard URDF / tesseract-exclusive
Definition: octomap.cpp:99
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 octree
Definition: tesseract_geometry_unit.cpp:27