![]() |
RMVL
2.6.0-dev
Robotic Manipulation and Vision Library
|
#include <rmvlmsg/viz/marker.hpp>
Public 成员函数 | |
| std::string | serialize () const noexcept |
| 消息序列化 | |
| std::string | json () const noexcept |
| 将消息序列化为 JSON 字符串 | |
| std::size_t | compact_size () const noexcept |
| 获取消息紧凑序列化后的大小(单位:字节) | |
静态 Public 成员函数 | |
| static Marker | deserialize (const char *const str) noexcept |
| 消息反序列化 | |
Public 属性 | |
| rm::msg::Header | header {} |
| std::string | ns {} |
| int32_t | id {} |
| uint8_t | type {} |
| uint8_t | action {} |
| rm::msg::Pose | pose {} |
| rm::msg::Vector3 | scale {} |
| rm::msg::ColorRGBA | color {} |
| std::vector< rm::msg::Point > | points {} |
| std::vector< rm::msg::ColorRGBA > | colors {} |
静态 Public 属性 | |
| static constexpr uint8_t | TYPE_ARROW = 0 |
| static constexpr uint8_t | TYPE_CUBE = 1 |
| static constexpr uint8_t | TYPE_SPHERE = 2 |
| static constexpr uint8_t | TYPE_CYLINDER = 3 |
| static constexpr uint8_t | TYPE_LINE_STRIP = 4 |
| static constexpr uint8_t | TYPE_LINE_LIST = 5 |
| static constexpr uint8_t | TYPE_CUBE_LIST = 6 |
| static constexpr uint8_t | TYPE_SPHERE_LIST = 7 |
| static constexpr uint8_t | TYPE_POINTS = 8 |
| static constexpr uint8_t | ACTION_ADD = 0 |
| static constexpr uint8_t | ACTION_DELETE = 1 |
| static constexpr uint8_t | ACTION_DELETEALL = 2 |
| static constexpr const char | msg_type [] = "viz/Marker" |
| 消息类型字符串常量 | |
Marker 消息类型:viz/Marker
|
noexcept |
获取消息紧凑序列化后的大小(单位:字节)
|
staticnoexcept |
消息反序列化
| [in] | str | 待反序列化的字符串指针 |
|
noexcept |
将消息序列化为 JSON 字符串
|
noexcept |
消息序列化
| uint8_t rm::msg::Marker::action {} |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| rm::msg::ColorRGBA rm::msg::Marker::color {} |
| std::vector<rm::msg::ColorRGBA> rm::msg::Marker::colors {} |
| rm::msg::Header rm::msg::Marker::header {} |
| int32_t rm::msg::Marker::id {} |
|
staticconstexpr |
消息类型字符串常量
| std::string rm::msg::Marker::ns {} |
| std::vector<rm::msg::Point> rm::msg::Marker::points {} |
| rm::msg::Pose rm::msg::Marker::pose {} |
| rm::msg::Vector3 rm::msg::Marker::scale {} |
| uint8_t rm::msg::Marker::type {} |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |