A widget that is a graphical representation of a rwsim::log::SimulatorLogEntry.
More...
#include <SimulatorLogEntryWidget.hpp>
Inherits QWidget.
Inherited by DistanceMultiResultWidget, BodyMotionWidget, CollisionResultWidget, ConstraintWidget, ContactSetWidget, ContactVelocitiesWidget, DistanceResultWidget, EquationSystemWidget, ForceTorqueWidget, LogMessageWidget, and LogValuesWidget.
A widget that is a graphical representation of a rwsim::log::SimulatorLogEntry.
◆ SimulatorLogEntryWidget()
Construct new widget for a log entry.
- Parameters
-
parent | [in] (optional) the parent Qt widget. Ownership is shared by the caller and the parent widget if given. |
◆ getEntry()
Get the current log entity.
- Returns
- the log entity.
Implemented in LogValuesWidget, LogMessageWidget, ForceTorqueWidget, EquationSystemWidget, DistanceResultWidget, DistanceMultiResultWidget, ContactVelocitiesWidget, ContactSetWidget, ConstraintWidget, CollisionResultWidget, and BodyMotionWidget.
◆ getName()
virtual std::string getName |
( |
| ) |
const |
|
pure virtual |
Get the name of the widget (will be used as the name on tabs).
- Returns
- the name.
Implemented in LogValuesWidget, LogMessageWidget, ForceTorqueWidget, EquationSystemWidget, DistanceResultWidget, DistanceMultiResultWidget, ContactVelocitiesWidget, ContactSetWidget, ConstraintWidget, CollisionResultWidget, and BodyMotionWidget.
◆ setDWC()
Set the dynamic workcell for visualisation of the log information.
- Parameters
-
dwc | [in] the dynamic workcell. |
Implemented in LogValuesWidget, LogMessageWidget, ForceTorqueWidget, EquationSystemWidget, DistanceResultWidget, DistanceMultiResultWidget, ContactVelocitiesWidget, ContactSetWidget, ConstraintWidget, CollisionResultWidget, and BodyMotionWidget.
◆ setEntry()
Set the log entity to show.
- Parameters
-
entry | [in] the log entity. |
Implemented in LogValuesWidget, LogMessageWidget, ForceTorqueWidget, EquationSystemWidget, DistanceResultWidget, DistanceMultiResultWidget, ContactVelocitiesWidget, ContactSetWidget, ConstraintWidget, CollisionResultWidget, and BodyMotionWidget.
◆ setProperties()
◆ showGraphics()
Add graphics as drawables to a scene-graph.
- Parameters
-
root | [in] the node to add drawables to. |
graph | [in] the scene graph. |
Implemented in LogValuesWidget, LogMessageWidget, ForceTorqueWidget, EquationSystemWidget, DistanceResultWidget, DistanceMultiResultWidget, ContactVelocitiesWidget, ContactSetWidget, ConstraintWidget, CollisionResultWidget, and BodyMotionWidget.
The documentation for this class was generated from the following file: