Pose3d Class Reference
Handles components that are displayed as a 3D pose: More...
#include <Pose3d.hh>
Public Member Functions | |
Pose3d (ComponentInspector *_inspector) | |
Constructor. | |
Q_INVOKABLE void | OnPose (double _x, double _y, double _z, double _roll, double _pitch, double _yaw) |
Callback in Qt thread when pose changes. | |
template<typename ComponentType > | |
void | UpdateView (const EntityComponentManager &_ecm, QStandardItem *_item) |
Callback when there are ECM updates. | |
Detailed Description
Handles components that are displayed as a 3D pose:
components::Pose
components::WorldPose
components::WorldPoseCmd
Constructor & Destructor Documentation
◆ Pose3d()
|
explicit |
Constructor.
- Parameters
-
[in] _inspector The component inspector.
Member Function Documentation
◆ OnPose()
Q_INVOKABLE void OnPose | ( | double | _x, |
double | _y, | ||
double | _z, | ||
double | _roll, | ||
double | _pitch, | ||
double | _yaw | ||
) |
Callback in Qt thread when pose changes.
- Parameters
-
[in] _x X [in] _y Y [in] _z Z [in] _roll Roll [in] _pitch Pitch [in] _yaw Yaw
◆ UpdateView()
template<typename ComponentType >
|
inline |
Callback when there are ECM updates.
- Parameters
-
[in] _ecm Immutable reference to the ECM. [in] _item Item to update.
- Template Parameters
-
ComponentType Type of component being updated.
References EntityComponentManager::Component().
The documentation for this class was generated from the following file: