9#include "webcface/common/webcface-config.h"
14struct Canvas3DComponentData;
17struct TemporalCanvas3DComponentData;
34 std::shared_ptr<message::Canvas3DComponentData> msg_data;
35 std::weak_ptr<internal::ClientData> data_w;
38 void checkData()
const;
48 const std::shared_ptr<message::Canvas3DComponentData> &msg_data,
49 const std::weak_ptr<internal::ClientData> &data_w,
83 return !(*
this == other);
105 std::optional<Geometry>
geometry()
const;
110 template <WEBCFACE_COMPLETE(RobotModel)>
113extern template std::optional<RobotModel>
114Canvas3DComponent::robotModel<RobotModel, true>()
const;
122 std::unique_ptr<internal::TemporalCanvas3DComponentData> msg_data;
151 std::unique_ptr<internal::TemporalCanvas3DComponentData>
152 lockTmp(const std::shared_ptr<internal::ClientData> &data,
173 this->origin(origin);
174 return std::move(*
this);
186 return std::move(*
this);
198 return std::move(*
this);
206 this->robotModel(field);
207 return std::move(*
this);
218 angles(
const std::map<std::string,
double, std::less<>> &angles) &;
223 angles(
const std::map<std::string,
double, std::less<>> &angles) && {
224 this->angles(angles);
225 return std::move(*
this);
238 angles(
const std::map<std::wstring,
double, std::less<>> &angles) &;
243 angles(
const std::map<std::wstring,
double, std::less<>> &angles) && {
244 this->angles(angles);
245 return std::move(*
this);
263 this->angle(joint_name, angle);
264 return std::move(*
this);
282 this->angle(joint_name, angle);
283 return std::move(*
this);
Canvas3Dに表示する要素
Definition component_canvas3d.h:33
bool operator!=(const Canvas3DComponent &other) const
Definition component_canvas3d.h:82
std::optional< RobotModel_ > robotModel() const
RobotModelを取得
RobotModelの送受信データを表すクラス
Definition robot_model.h:26
u8stringとstringとwstringをshared_ptrで持ち共有する
Definition encoding.h:159
SharedString のpublicなコンストラクタインタフェース (入力専用)
Definition encoding.h:215
webcfaceで管理されている文字列を参照するstring_view
Definition encoding.h:60
Canvas3Dを構築するときに使う一時的なCanvas3DComponent.
Definition component_canvas3d.h:121
TemporalCanvas3DComponent && angle(std::wstring_view joint_name, double angle) &&
Definition component_canvas3d.h:280
~TemporalCanvas3DComponent() noexcept
TemporalCanvas3DComponent && geometry(const Geometry &g) &&
Definition component_canvas3d.h:196
TemporalCanvas3DComponent && angles(const std::map< std::wstring, double, std::less<> > &angles) &&
Definition component_canvas3d.h:243
TemporalCanvas3DComponent && robotModel(const RobotModel &field) &&
Definition component_canvas3d.h:205
TemporalCanvas3DComponent && color(ViewColor color) &&
Definition component_canvas3d.h:184
TemporalCanvas3DComponent && angles(const std::map< std::string, double, std::less<> > &angles) &&
Definition component_canvas3d.h:223
TemporalCanvas3DComponent && angle(std::string_view joint_name, double angle) &&
Definition component_canvas3d.h:261
bool operator==(const T &other, const InputRef &ref)
Definition text.h:638
ViewColor
Definition component_view.h:41
Canvas3DComponentType
Definition component_canvas3d.h:20
#define WEBCFACE_DLL
Definition webcface-config.h:69
#define WEBCFACE_NS_END
Definition webcface-config.h:113
#define WEBCFACE_NS_BEGIN
Definition webcface-config.h:112