3 #include <SimoxUtility/json.h>
4 #include <SimoxUtility/meta/EnumNames.hpp>
6 #include <RobotAPI/interface/ArViz/Elements.h>
11 namespace ElementFlags
13 extern const simox::meta::IntEnumNames
names;
16 namespace ModelDrawStyle
18 extern const simox::meta::IntEnumNames
names;
21 void to_json(nlohmann::json& j,
const ColoredPoint& coloredPoint);
22 void from_json(
const nlohmann::json& j, ColoredPoint& coloredPoint);
27 void to_json(nlohmann::json& j,
const ElementArrow& line);
28 void from_json(
const nlohmann::json& j, ElementArrow& line);
31 void to_json(nlohmann::json& j,
const ElementArrowCircle& arrowCircle);
32 void from_json(
const nlohmann::json& j, ElementArrowCircle& arrowCircle);
35 void to_json(nlohmann::json& j,
const ElementBox& box);
36 void from_json(
const nlohmann::json& j, ElementBox& box);
39 void to_json(nlohmann::json& j,
const ElementCylinder& cylinder);
40 void from_json(
const nlohmann::json& j, ElementCylinder& cylinder);
43 void to_json(nlohmann::json& j,
const ElementCylindroid& cylindroid);
44 void from_json(
const nlohmann::json& j, ElementCylindroid& cylindroid);
47 void to_json(nlohmann::json& j,
const ElementLine& line);
48 void from_json(
const nlohmann::json& j, ElementLine& line);
51 void to_json(nlohmann::json& j,
const ElementMesh& mesh);
52 void from_json(
const nlohmann::json& j, ElementMesh& mesh);
55 void to_json(nlohmann::json& j,
const ElementObject&
object);
56 void from_json(
const nlohmann::json& j, ElementObject&
object);
59 void to_json(nlohmann::json& j,
const ElementPointCloud& pointCloud);
60 void from_json(
const nlohmann::json& j, ElementPointCloud& pointCloud);
63 void to_json(nlohmann::json& j,
const ElementPolygon& polygon);
64 void from_json(
const nlohmann::json& j, ElementPolygon& polygon);
67 void to_json(nlohmann::json& j,
const ElementPose& pose);
68 void from_json(
const nlohmann::json& j, ElementPose& pose);
71 void to_json(nlohmann::json& j,
const ElementPath& path);
72 void from_json(
const nlohmann::json& j, ElementPath& path);
75 void to_json(nlohmann::json& j,
const ElementRobot& robot);
76 void from_json(
const nlohmann::json& j, ElementRobot& robot);
79 void to_json(nlohmann::json& j,
const ElementSphere& sphere);
80 void from_json(
const nlohmann::json& j, ElementSphere& sphere);
83 void to_json(nlohmann::json& j,
const ElementEllipsoid& sphere);
84 void from_json(
const nlohmann::json& j, ElementEllipsoid& sphere);
87 void to_json(nlohmann::json& j,
const ElementText& text);
88 void from_json(
const nlohmann::json& j, ElementText& text);