Ignition Gazebo

API Reference

6.9.0
Pose3d Class Reference

Handles components that are displayed as a 3D pose: More...

#include <Pose3d.hh>

Public Member Functions

 Pose3d (ComponentInspector *_inspector)
 Constructor. More...
 
Q_INVOKABLE void OnPose (double _x, double _y, double _z, double _roll, double _pitch, double _yaw)
 Callback in Qt thread when pose changes. More...
 
template<typename ComponentType >
void UpdateView (const EntityComponentManager &_ecm, QStandardItem *_item)
 Callback when there are ECM updates. More...
 

Detailed Description

Handles components that are displayed as a 3D pose:

Constructor & Destructor Documentation

◆ Pose3d()

Pose3d ( ComponentInspector *  _inspector)
explicit

Constructor.

Parameters
[in]_inspectorThe 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]_xX
[in]_yY
[in]_zZ
[in]_rollRoll
[in]_pitchPitch
[in]_yawYaw

Referenced by Pose3d::UpdateView().

◆ UpdateView()

void UpdateView ( const EntityComponentManager _ecm,
QStandardItem *  _item 
)
inline

Callback when there are ECM updates.

Parameters
[in]_ecmImmutable reference to the ECM.
[in]_itemItem to update.
Template Parameters
ComponentTypeType of component being updated.

References EntityComponentManager::Component(), and Pose3d::OnPose().


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