Go to the documentation of this file.
25 template<
typename GetT>
35 "Polygon element data callback must return either an std::vector of Eigen::Vector3d or an std::vector of "
36 "std::vector3d of Eigen::Vector3d");
47 config_.
write(builder);
57 template<
typename GetT>
58 auto Polygon(
const std::string & name, GetT get_fn)
64 template<
typename GetT>
65 auto Polygon(
const std::string & name,
const Color & color, GetT get_fn)
71 template<
typename GetT>
static constexpr size_t write_size()
Definition: elements.h:106
Definition: MessagePackBuilder.h:86
void write(mc_rtc::MessagePackBuilder &out) const
Definition: types.h:179
PolygonImpl(const std::string &name, const LineConfig &config, GetT get_fn)
Definition: Polygon.h:30
auto Polygon(const std::string &name, GetT get_fn)
Definition: Polygon.h:58
static constexpr size_t write_size()
Definition: types.h:88
static constexpr auto type
Definition: Polygon.h:28
Definition: elements.h:104
void write(mc_rtc::MessagePackBuilder &builder)
Definition: Polygon.h:44
static constexpr size_t write_size()
Definition: Polygon.h:42
PolygonImpl()
Definition: Polygon.h:40
void write(mc_rtc::MessagePackBuilder &builder)
Definition: elements.h:108
Definition: Observer.h:15
const std::string & name() const
Definition: elements.h:61