RobWorkProject
Classes | Public Member Functions | List of all members
ContactVelocitiesWidget Class Reference

Graphical representation of the log entry rwsim::log::LogContactVelocities. More...

#include <ContactVelocitiesWidget.hpp>

Inherits SimulatorLogEntryWidget.

Classes

class  Dispatcher
 Dispatchers are responsible for creating new widgets of type SimulatorLogEntryWidget. More...
 

Public Member Functions

 ContactVelocitiesWidget (rw::common::Ptr< const rwsim::log::LogContactVelocities > entry, QWidget *parent=0)
 Construct new widget for a log entry. More...
 
virtual ~ContactVelocitiesWidget ()
 Destructor.
 
virtual void setDWC (rw::common::Ptr< const rwsim::dynamics::DynamicWorkCell > dwc)
 Set the dynamic workcell for visualisation of the log information. More...
 
virtual void setEntry (rw::common::Ptr< const rwsim::log::SimulatorLog > entry)
 Set the log entity to show. More...
 
virtual rw::common::Ptr< const rwsim::log::SimulatorLoggetEntry () const
 Get the current log entity. More...
 
virtual void updateEntryWidget ()
 Re-read logging data and update widget. More...
 
virtual void showGraphics (rw::common::Ptr< rw::graphics::GroupNode > root, rw::common::Ptr< rw::graphics::SceneGraph > graph)
 Add graphics as drawables to a scene-graph. More...
 
virtual std::string getName () const
 Get the name of the widget (will be used as the name on tabs). More...
 
- Public Member Functions inherited from SimulatorLogEntryWidget
 SimulatorLogEntryWidget (QWidget *parent=0)
 Construct new widget for a log entry. More...
 
virtual ~SimulatorLogEntryWidget ()
 Destructor.
 
virtual void setProperties (rw::common::Ptr< rw::common::PropertyMap > properties)
 Set properties for widget. More...
 

Additional Inherited Members

- Signals inherited from SimulatorLogEntryWidget
void graphicsUpdated ()
 Signal is emitted if the graphics is updated.
 
- Protected Attributes inherited from SimulatorLogEntryWidget
rw::common::Ptr< rw::common::PropertyMap_properties
 Widget properties.
 

Detailed Description

Graphical representation of the log entry rwsim::log::LogContactVelocities.

Constructor & Destructor Documentation

◆ ContactVelocitiesWidget()

ContactVelocitiesWidget ( rw::common::Ptr< const rwsim::log::LogContactVelocities entry,
QWidget *  parent = 0 
)

Construct new widget for a log entry.

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

Member Function Documentation

◆ getEntry()

virtual rw::common::Ptr<const rwsim::log::SimulatorLog> getEntry ( ) const
virtual

Get the current log entity.

Returns
the log entity.

Implements SimulatorLogEntryWidget.

◆ getName()

virtual std::string getName ( ) const
virtual

Get the name of the widget (will be used as the name on tabs).

Returns
the name.

Implements SimulatorLogEntryWidget.

◆ setDWC()

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

Set the dynamic workcell for visualisation of the log information.

Parameters
dwc[in] the dynamic workcell.

Implements SimulatorLogEntryWidget.

◆ setEntry()

virtual void setEntry ( rw::common::Ptr< const rwsim::log::SimulatorLog entry)
virtual

Set the log entity to show.

Parameters
entry[in] the log entity.

Implements SimulatorLogEntryWidget.

◆ showGraphics()

virtual void showGraphics ( rw::common::Ptr< rw::graphics::GroupNode root,
rw::common::Ptr< rw::graphics::SceneGraph graph 
)
virtual

Add graphics as drawables to a scene-graph.

Parameters
root[in] the node to add drawables to.
graph[in] the scene graph.

Implements SimulatorLogEntryWidget.

◆ updateEntryWidget()

virtual void updateEntryWidget ( )
virtual

Re-read logging data and update widget.

Implements SimulatorLogEntryWidget.


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