WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
|
Canvas3Dを構築するときに使う一時的なCanvas3DComponent. More...
#include <webcface/component_canvas3d.h>
Public Member Functions | |
TemporalCanvas3DComponent (std::nullptr_t=nullptr) | |
TemporalCanvas3DComponent (Canvas3DComponentType type) | |
TemporalCanvas3DComponent (const TemporalCanvas3DComponent &other) | |
TemporalCanvas3DComponent & | operator= (const TemporalCanvas3DComponent &other) |
~TemporalCanvas3DComponent () noexcept | |
std::unique_ptr< internal::TemporalCanvas3DComponentData > | lockTmp (const std::shared_ptr< internal::ClientData > &data, const SharedString &view_name, std::unordered_map< Canvas3DComponentType, int > *idx_next=nullptr) |
AnonymousFuncの名前を確定 | |
TemporalCanvas3DComponent & | id (std::string_view id) |
idを設定 | |
TemporalCanvas3DComponent & | id (std::wstring_view id) |
idを設定 (wstring) | |
TemporalCanvas3DComponent & | origin (const Transform &origin) & |
要素の移動 | |
TemporalCanvas3DComponent && | origin (const Transform &origin) && |
TemporalCanvas3DComponent & | color (ViewColor color) & |
色 | |
TemporalCanvas3DComponent && | color (ViewColor color) && |
TemporalCanvas3DComponent & | geometry (const Geometry &g) & |
geometryをセット | |
TemporalCanvas3DComponent && | geometry (const Geometry &g) && |
TemporalCanvas3DComponent & | robotModel (const RobotModel &field) & |
TemporalCanvas3DComponent && | robotModel (const RobotModel &field) && |
TemporalCanvas3DComponent & | angles (const std::unordered_map< std::string, double > &angles) & |
RobotModelの関節をまとめて設定 | |
TemporalCanvas3DComponent && | angles (const std::unordered_map< std::string, double > &angles) && |
TemporalCanvas3DComponent & | angles (const std::unordered_map< std::wstring, double > &angles) & |
RobotModelの関節をまとめて設定 (wstring) | |
TemporalCanvas3DComponent && | angles (const std::unordered_map< std::wstring, double > &angles) && |
TemporalCanvas3DComponent & | angle (const std::string &joint_name, double angle) & |
RobotModelの関節を設定 | |
TemporalCanvas3DComponent && | angle (const std::string &joint_name, double angle) && |
TemporalCanvas3DComponent & | angle (const std::wstring &joint_name, double angle) & |
RobotModelの関節を設定 (wstring) | |
TemporalCanvas3DComponent && | angle (const std::wstring &joint_name, double angle) && |
Canvas3Dを構築するときに使う一時的なCanvas3DComponent.
|
explicit |
msg_dataはnullptrになる
|
explicit |
msg_dataを初期化する
TemporalCanvas3DComponent | ( | const TemporalCanvas3DComponent & | other | ) |
|
noexcept |
TemporalCanvas3DComponent & angle | ( | const std::string & | joint_name, |
double | angle | ||
) | & |
RobotModelの関節を設定
joint_name | RobotJointの名前 |
angle | 角度 |
|
inline |
TemporalCanvas3DComponent & angle | ( | const std::wstring & | joint_name, |
double | angle | ||
) | & |
RobotModelの関節を設定 (wstring)
joint_name | RobotJointの名前 |
angle | 角度 |
|
inline |
TemporalCanvas3DComponent & angles | ( | const std::unordered_map< std::string, double > & | angles | ) | & |
RobotModelの関節をまとめて設定
angles | RobotJointの名前と角度のリスト |
|
inline |
TemporalCanvas3DComponent & angles | ( | const std::unordered_map< std::wstring, double > & | angles | ) | & |
RobotModelの関節をまとめて設定 (wstring)
angles | RobotJointの名前と角度のリスト |
|
inline |
TemporalCanvas3DComponent & color | ( | ViewColor | color | ) | & |
色
|
inline |
TemporalCanvas3DComponent & geometry | ( | const Geometry & | g | ) | & |
geometryをセット
|
inline |
TemporalCanvas3DComponent & id | ( | std::string_view | id | ) |
idを設定
TemporalCanvas3DComponent & id | ( | std::wstring_view | id | ) |
idを設定 (wstring)
std::unique_ptr< internal::TemporalCanvas3DComponentData > lockTmp | ( | const std::shared_ptr< internal::ClientData > & | data, |
const SharedString & | view_name, | ||
std::unordered_map< Canvas3DComponentType, int > * | idx_next = nullptr |
||
) |
AnonymousFuncの名前を確定
現状Canvas3DにFuncを使う要素はないのでなにもしない
data | |
view_name | viewの名前 |
idx_next | 種類ごとの要素数のmap InputRefの名前に使うidを決定するのに使う |
TemporalCanvas3DComponent & operator= | ( | const TemporalCanvas3DComponent & | other | ) |
TemporalCanvas3DComponent & origin | ( | const Transform & | origin | ) | & |
要素の移動
|
inline |
TemporalCanvas3DComponent & robotModel | ( | const RobotModel & | field | ) | & |
|
inline |