Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
octree.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_URDF_OCTREE_H
27#define TESSERACT_URDF_OCTREE_H
28
31#include <memory>
33
35
36namespace tinyxml2
37{
38class XMLElement; // NOLINT
39class XMLDocument;
40} // namespace tinyxml2
41
42namespace tesseract_common
43{
44class ResourceLocator;
45}
46
47namespace tesseract_urdf
48{
57std::shared_ptr<tesseract_geometry::Octree> parseOctree(const tinyxml2::XMLElement* xml_element,
60 bool prune,
61 int version);
62
72tinyxml2::XMLElement* writeOctree(const std::shared_ptr<const tesseract_geometry::Octree>& octree,
73 tinyxml2::XMLDocument& doc,
74 const std::string& package_path,
75 const std::string& filename);
76
77} // namespace tesseract_urdf
78
79#endif // TESSERACT_URDF_OCTREE_H
Abstract class for resource loaders.
Definition: resource_locator.h:43
SubType
Definition: octree.h:49
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: box.h:45
tinyxml2::XMLElement * writeOctree(const std::shared_ptr< const tesseract_geometry::Octree > &octree, tinyxml2::XMLDocument &doc, const std::string &package_path, const std::string &filename)
writeOctree Write octree out to file, and generate appropriate xml
std::shared_ptr< tesseract_geometry::Octree > parseOctree(const tinyxml2::XMLElement *xml_element, const tesseract_common::ResourceLocator &locator, tesseract_geometry::Octree::SubType shape_type, bool prune, int version)
Parse xml element octree.
Definition: octree.cpp:41
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
Tesseract Octree Geometry.
auto octree
Definition: tesseract_geometry_unit.cpp:27