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

A table widget customised for rwsim::contacts::Contact types. More...

#include <ContactTableWidget.hpp>

Inherits QTableWidget.

Public Slots

void clearContents ()
 

Signals

void graphicsUpdated ()
 Signal is emitted if the graphics is updated.
 

Public Member Functions

 ContactTableWidget (QWidget *parent=0)
 Constructor. More...
 
virtual ~ContactTableWidget ()
 Destructor.
 
virtual void setContacts (const std::vector< rwsim::contacts::Contact > &contacts)
 Update the widget with a new contact set. More...
 
virtual void showGraphics (rw::core::Ptr< rw::graphics::GroupNode > root, rw::core::Ptr< rw::graphics::SceneGraph > graph)
 Add graphics as drawables to a scene-graph. More...
 
virtual void selectAll ()
 Select all contacts.
 

Detailed Description

A table widget customised for rwsim::contacts::Contact types.

Constructor & Destructor Documentation

◆ ContactTableWidget()

ContactTableWidget ( QWidget *  parent = 0)

Constructor.

Parameters
parent[in] (optional) the owner of this widget.

Member Function Documentation

◆ setContacts()

virtual void setContacts ( const std::vector< rwsim::contacts::Contact > &  contacts)
virtual

Update the widget with a new contact set.

Parameters
contacts[in] a vector of contacts.

◆ showGraphics()

virtual void showGraphics ( rw::core::Ptr< rw::graphics::GroupNode root,
rw::core::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.

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