WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
TemporalCanvas3DComponent Class Reference

Canvas3Dを構築するときに使う一時的なCanvas3DComponent. More...

#include <webcface/component_canvas3d.h>

Public Member Functions

 TemporalCanvas3DComponent (std::nullptr_t=nullptr)
 
 TemporalCanvas3DComponent (Canvas3DComponentType type)
 
 TemporalCanvas3DComponent (const TemporalCanvas3DComponent &other)
 
TemporalCanvas3DComponentoperator= (const TemporalCanvas3DComponent &other)
 
 ~TemporalCanvas3DComponent () noexcept
 
std::unique_ptr< internal::TemporalCanvas3DComponentDatalockTmp (const std::shared_ptr< internal::ClientData > &data, const SharedString &view_name, std::unordered_map< Canvas3DComponentType, int > *idx_next=nullptr)
 AnonymousFuncの名前を確定
 
TemporalCanvas3DComponentid (std::string_view id)
 idを設定
 
TemporalCanvas3DComponentid (std::wstring_view id)
 idを設定 (wstring)
 
TemporalCanvas3DComponentorigin (const Transform &origin) &
 要素の移動
 
TemporalCanvas3DComponent && origin (const Transform &origin) &&
 
TemporalCanvas3DComponentcolor (ViewColor color) &
 
 
TemporalCanvas3DComponent && color (ViewColor color) &&
 
TemporalCanvas3DComponentgeometry (const Geometry &g) &
 geometryをセット
 
TemporalCanvas3DComponent && geometry (const Geometry &g) &&
 
TemporalCanvas3DComponentrobotModel (const RobotModel &field) &
 
TemporalCanvas3DComponent && robotModel (const RobotModel &field) &&
 
TemporalCanvas3DComponentangles (const std::unordered_map< std::string, double > &angles) &
 RobotModelの関節をまとめて設定
 
TemporalCanvas3DComponent && angles (const std::unordered_map< std::string, double > &angles) &&
 
TemporalCanvas3DComponentangles (const std::unordered_map< std::wstring, double > &angles) &
 RobotModelの関節をまとめて設定 (wstring)
 
TemporalCanvas3DComponent && angles (const std::unordered_map< std::wstring, double > &angles) &&
 
TemporalCanvas3DComponentangle (const std::string &joint_name, double angle) &
 RobotModelの関節を設定
 
TemporalCanvas3DComponent && angle (const std::string &joint_name, double angle) &&
 
TemporalCanvas3DComponentangle (const std::wstring &joint_name, double angle) &
 RobotModelの関節を設定 (wstring)
 
TemporalCanvas3DComponent && angle (const std::wstring &joint_name, double angle) &&
 

Detailed Description

Canvas3Dを構築するときに使う一時的なCanvas3DComponent.

Since
ver2.0

Constructor & Destructor Documentation

◆ TemporalCanvas3DComponent() [1/3]

TemporalCanvas3DComponent ( std::nullptr_t  = nullptr)
explicit

msg_dataはnullptrになる

◆ TemporalCanvas3DComponent() [2/3]

msg_dataを初期化する

◆ TemporalCanvas3DComponent() [3/3]

◆ ~TemporalCanvas3DComponent()

Member Function Documentation

◆ angle() [1/4]

TemporalCanvas3DComponent & angle ( const std::string &  joint_name,
double  angle 
) &

RobotModelの関節を設定

Parameters
joint_nameRobotJointの名前
angle角度

◆ angle() [2/4]

TemporalCanvas3DComponent && angle ( const std::string &  joint_name,
double  angle 
) &&
inline
Since
ver2.5

◆ angle() [3/4]

TemporalCanvas3DComponent & angle ( const std::wstring &  joint_name,
double  angle 
) &

RobotModelの関節を設定 (wstring)

Since
ver2.0
Parameters
joint_nameRobotJointの名前
angle角度

◆ angle() [4/4]

TemporalCanvas3DComponent && angle ( const std::wstring &  joint_name,
double  angle 
) &&
inline
Since
ver2.5

◆ angles() [1/4]

TemporalCanvas3DComponent & angles ( const std::unordered_map< std::string, double > &  angles) &

RobotModelの関節をまとめて設定

Parameters
anglesRobotJointの名前と角度のリスト

◆ angles() [2/4]

TemporalCanvas3DComponent && angles ( const std::unordered_map< std::string, double > &  angles) &&
inline
Since
ver2.5

◆ angles() [3/4]

TemporalCanvas3DComponent & angles ( const std::unordered_map< std::wstring, double > &  angles) &

RobotModelの関節をまとめて設定 (wstring)

Since
ver2.0
Parameters
anglesRobotJointの名前と角度のリスト

◆ angles() [4/4]

TemporalCanvas3DComponent && angles ( const std::unordered_map< std::wstring, double > &  angles) &&
inline
Since
ver2.5

◆ color() [1/2]

TemporalCanvas3DComponent & color ( ViewColor  color) &

◆ color() [2/2]

TemporalCanvas3DComponent && color ( ViewColor  color) &&
inline
Since
ver2.5

◆ geometry() [1/2]

TemporalCanvas3DComponent & geometry ( const Geometry g) &

geometryをセット

◆ geometry() [2/2]

TemporalCanvas3DComponent && geometry ( const Geometry g) &&
inline
Since
ver2.5

◆ id() [1/2]

TemporalCanvas3DComponent & id ( std::string_view  id)

idを設定

Since
ver2.5

◆ id() [2/2]

TemporalCanvas3DComponent & id ( std::wstring_view  id)

idを設定 (wstring)

Since
ver2.5

◆ lockTmp()

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を使う要素はないのでなにもしない

Parameters
data
view_nameviewの名前
idx_next種類ごとの要素数のmap InputRefの名前に使うidを決定するのに使う

◆ operator=()

TemporalCanvas3DComponent & operator= ( const TemporalCanvas3DComponent other)

◆ origin() [1/2]

TemporalCanvas3DComponent & origin ( const Transform origin) &

要素の移動

◆ origin() [2/2]

TemporalCanvas3DComponent && origin ( const Transform origin) &&
inline
Since
ver2.5

◆ robotModel() [1/2]

TemporalCanvas3DComponent & robotModel ( const RobotModel field) &

◆ robotModel() [2/2]

TemporalCanvas3DComponent && robotModel ( const RobotModel field) &&
inline
Since
ver2.5

The documentation for this class was generated from the following files: