Gazebo Gui

API Reference

8.3.0

Display images coming through a Gazebo Transport topic. More...

#include <ImageDisplay.hh>

Public Slots

void OnRefresh ()
 Callback when refresh button is pressed. More...
 
void OnTopic (const QString _topic)
 Callback when a new topic is chosen on the combo box. More...
 

Signals

void newImage ()
 Notify that a new image has been received. More...
 
void TopicListChanged ()
 Notify that topic list has changed. More...
 

Public Member Functions

 ImageDisplay ()
 Constructor. More...
 
virtual ~ImageDisplay ()
 Destructor. More...
 
virtual void LoadConfig (const tinyxml2::XMLElement *_pluginElem)
 
Q_INVOKABLE void SetTopicList (const QStringList &_topicList)
 Set the topic list from a string, for example 'gz.msgs.StringMsg'. More...
 
Q_INVOKABLE QStringList TopicList () const
 Get the topic list as a string, for example 'gz.msgs.StringMsg'. More...
 

Properties

QStringList topicList
 Topic list. More...
 

Detailed Description

Display images coming through a Gazebo Transport topic.

Configuration

<topic> : Set the topic to receive image messages. <topic_picker> : Whether to show the topic picker, true by default. If this is false, a <topic> must be specified.

Constructor & Destructor Documentation

◆ ImageDisplay()

Constructor.

◆ ~ImageDisplay()

virtual ~ImageDisplay ( )
virtual

Destructor.

Member Function Documentation

◆ LoadConfig()

virtual void LoadConfig ( const tinyxml2::XMLElement *  _pluginElem)
virtual

◆ newImage

void newImage ( )
signal

Notify that a new image has been received.

◆ OnRefresh

void OnRefresh ( )
slot

Callback when refresh button is pressed.

◆ OnTopic

void OnTopic ( const QString  _topic)
slot

Callback when a new topic is chosen on the combo box.

◆ SetTopicList()

Q_INVOKABLE void SetTopicList ( const QStringList _topicList)

Set the topic list from a string, for example 'gz.msgs.StringMsg'.

Parameters
[in]_topicListMessage type

◆ TopicList()

Q_INVOKABLE QStringList TopicList ( ) const

Get the topic list as a string, for example 'gz.msgs.StringMsg'.

Returns
Message type

◆ TopicListChanged

void TopicListChanged ( )
signal

Notify that topic list has changed.

Property Documentation

◆ topicList

QStringList topicList
readwrite

Topic list.


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