Plot3D.hh
int maxPoints
Maximum number of total points on the plot.
Definition: Plot3D.hh:120
Q_INVOKABLE void SetColor(const QVector3D &_color)
Set the color of the plot.
uint64_t Entity
An Entity identifies a single object in simulation such as a model, link, or light....
Definition: gz/sim/Entity.hh:58
This library is part of the Gazebo project.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:66
Q_INVOKABLE bool Locked() const
Get whether the plugin is currently locked on a target.
Q_INVOKABLE void SetOffset(const QVector3D &_offset)
Set the offset.
Plot the trajectory of an entity into the 3D scene.
Definition: Plot3D.hh:62
Q_INVOKABLE void SetLocked(bool _locked)
Set whether the plugin is currently locked on a target.
void MaxPointsChanged()
Notify that the maximum points has changed.
Q_INVOKABLE void SetMinDistance(double _minDistance)
Set the minimum distance between points. If the target moved less than this distance,...
Q_INVOKABLE void SetTargetEntity(Entity _entity)
Set the target currently controlled.
void MinDistanceChanged()
Notify that the minimum distance has changed.
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:38
Q_INVOKABLE double MinDistance() const
Get the minimum distance between points.
Q_INVOKABLE Entity TargetEntity() const
Get the target currently controlled.
void TargetEntityChanged()
Notify that entity has changed.
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override
Q_INVOKABLE int MaxPoints() const
Get the maximum number of points.
double minDistance
Minimum distance between plot points.
Definition: Plot3D.hh:112
Q_INVOKABLE QVector3D Offset() const
Get the offset in the target's frame.
Q_INVOKABLE QString TargetName() const
Get the name of target currently controlled.
QVector3D offset
XYZ offset to the entity's origin to plot.
Definition: Plot3D.hh:96
Entity targetEntity
Target entity.
Definition: Plot3D.hh:72
QString targetName
Target entity scoped name.
Definition: Plot3D.hh:80
bool locked
Whether the plugin is locked on an entity.
Definition: Plot3D.hh:88
bool eventFilter(QObject *_obj, QEvent *_event) override
void Update(const UpdateInfo &_info, EntityComponentManager &_ecm) override
Update callback called every time the system is stepped. This is called at an Ignition transport thre...
STL namespace.
void TargetNameChanged()
Notify that target name has changed.
Q_INVOKABLE void SetTargetName(const QString &_name)
Set the name of target currently controlled.
Q_INVOKABLE void SetMaxPoints(int _maxPoints)
Set the maximum number of points. If the plot has more than this number, older points start being rem...