RobWorkProject  23.9.11-
Public Slots | Public Member Functions | List of all members
SimulatorLogWidget Class Reference

Widget for visualization of a simulation log. More...

#include <SimulatorLogWidget.hpp>

Inherits QWidget.

Public Slots

void updateOpenGLView ()
 Update the graphical view.
 

Public Member Functions

 SimulatorLogWidget (QWidget *parent=0)
 Construct new widget for a simulation log. More...
 
virtual ~SimulatorLogWidget ()
 Destructor.
 
void setDWC (rw::core::Ptr< const rwsim::dynamics::DynamicWorkCell > dwc)
 Set the dynamic workcell for visualisation. More...
 
void setLog (rw::core::Ptr< rwsim::log::SimulatorLogScope > info)
 Set the simulation log to show. More...
 
void compare (rw::core::Ptr< const rwsim::log::SimulatorLogScope > info)
 Compare with a different log. More...
 
void setSelectedTime (double time)
 Try to find a specific simulation time. More...
 
void updateInfo ()
 Re-read the log and update.
 
virtual void setProperties (rw::core::Ptr< rw::core::PropertyMap > properties)
 Set properties for widget. More...
 

Detailed Description

Widget for visualization of a simulation log.

Constructor & Destructor Documentation

◆ SimulatorLogWidget()

SimulatorLogWidget ( QWidget *  parent = 0)

Construct new widget for a simulation log.

Parameters
parent[in] (optional) the parent Qt widget. Ownership is shared by the caller and the parent widget if given.

Member Function Documentation

◆ compare()

void compare ( rw::core::Ptr< const rwsim::log::SimulatorLogScope info)

Compare with a different log.

Parameters
info[in] the other simulation log.

◆ setDWC()

void setDWC ( rw::core::Ptr< const rwsim::dynamics::DynamicWorkCell dwc)

Set the dynamic workcell for visualisation.

Parameters
dwc[in] the dynamic workcell.

◆ setLog()

void setLog ( rw::core::Ptr< rwsim::log::SimulatorLogScope info)

Set the simulation log to show.

Parameters
info[in/out] the simulation log (might be updated with statistics).

◆ setProperties()

virtual void setProperties ( rw::core::Ptr< rw::core::PropertyMap properties)
virtual

Set properties for widget.

Parameters
properties[in/out] properties, such as default values for scaling of graphical elements.

◆ setSelectedTime()

void setSelectedTime ( double  time)

Try to find a specific simulation time.

Parameters
time[in] the time.

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