sphere.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_URDF_SPHERE_H
27 #define TESSERACT_URDF_SPHERE_H
28 
31 #include <memory>
32 #include <string_view>
34 
35 #include <tesseract_geometry/fwd.h>
36 
37 namespace tinyxml2
38 {
39 class XMLElement; // NOLINT
40 class XMLDocument;
41 } // namespace tinyxml2
42 
43 namespace tesseract_urdf
44 {
45 static constexpr std::string_view SPHERE_ELEMENT_NAME = "sphere";
46 
52 std::shared_ptr<tesseract_geometry::Sphere> parseSphere(const tinyxml2::XMLElement* xml_element);
53 
54 tinyxml2::XMLElement* writeSphere(const std::shared_ptr<const tesseract_geometry::Sphere>& sphere,
55  tinyxml2::XMLDocument& doc);
56 
57 } // namespace tesseract_urdf
58 
59 #endif // TESSERACT_URDF_SPHERE_H
tesseract_urdf::parseSphere
std::shared_ptr< tesseract_geometry::Sphere > parseSphere(const tinyxml2::XMLElement *xml_element)
Parse a xml sphere element.
Definition: sphere.cpp:40
tesseract_urdf::SPHERE_ELEMENT_NAME
static constexpr std::string_view SPHERE_ELEMENT_NAME
Definition: sphere.h:45
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
TESSERACT_COMMON_IGNORE_WARNINGS_POP
fwd.h
tesseract_urdf::writeSphere
tinyxml2::XMLElement * writeSphere(const std::shared_ptr< const tesseract_geometry::Sphere > &sphere, tinyxml2::XMLDocument &doc)
Definition: sphere.cpp:49
tinyxml2
macros.h
tesseract_urdf
Definition: box.h:43


tesseract_urdf
Author(s): Levi Armstrong
autogenerated on Thu Apr 24 2025 03:10:44