WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
|
Canvas3Dに表示する要素 More...
#include <webcface/component_canvas3d.h>
Public Member Functions | |
Canvas3DComponent () | |
Canvas3DComponent (const std::shared_ptr< message::Canvas3DComponentData > &msg_data, const std::weak_ptr< internal::ClientData > &data_w, const SharedString &id) | |
std::string | id () const |
そのcanvas3d内で一意のid | |
std::wstring | idW () const |
そのcanvas3d内で一意のid (wstring) | |
bool | operator== (const Canvas3DComponent &other) const |
bool | operator!= (const Canvas3DComponent &other) const |
Canvas3DComponentType | type () const |
要素の種類 | |
Transform | origin () const |
要素の移動 | |
ViewColor | color () const |
色 | |
std::optional< Geometry > | geometry () const |
geometryを取得 | |
std::optional< RobotModel > | robotModel () const |
RobotModelを取得 | |
Canvas3Dに表示する要素
|
default |
msg_dataはnullptrになり、内容にアクセスしようとするとruntime_errorを投げる
Canvas3DComponent | ( | const std::shared_ptr< message::Canvas3DComponentData > & | msg_data, |
const std::weak_ptr< internal::ClientData > & | data_w, | ||
const SharedString & | id | ||
) |
ViewColor color | ( | ) | const |
色
std::optional< Geometry > geometry | ( | ) | const |
geometryを取得
std::string id | ( | ) | const |
そのcanvas3d内で一意のid
std::wstring idW | ( | ) | const |
そのcanvas3d内で一意のid (wstring)
|
inline |
bool operator== | ( | const Canvas3DComponent & | other | ) | const |
Transform origin | ( | ) | const |
要素の移動
std::optional< RobotModel > robotModel | ( | ) | const |
RobotModelを取得
Canvas3DComponentType type | ( | ) | const |
要素の種類