Public Slots | Public Member Functions | Protected Attributes | List of all members
rviz_map_plugin::ClusterLabelPanel Class Reference

Panel for interacting with the label tool. More...

#include <ClusterLabelPanel.hpp>

Inheritance diagram for rviz_map_plugin::ClusterLabelPanel:
Inheritance graph
[legend]

Public Slots

void publish ()
 Publishes the current cluster. More...
 
void resetFaces ()
 Resets the current face selection state. More...
 
void setClusterName (const QString &clusterName)
 Set the name under which the current cluster will be saved. More...
 
void updateClusterName ()
 Updates the current cluster name. More...
 

Public Member Functions

 ClusterLabelPanel (QWidget *parent=0)
 Constructor. More...
 
virtual void load (const rviz::Config &config)
 Load a configuration @input config The configuration. More...
 
void onInitialize ()
 RViz callback on inizialize. More...
 
virtual void save (rviz::Config config) const
 Save a configuration @input config The configuration. More...
 
- Public Member Functions inherited from rviz::Panel
virtual QString getClassId () const
 
virtual QString getDescription () const
 
virtual QString getName () const
 
void initialize (VisualizationManager *manager)
 
 Panel (QWidget *parent=nullptr)
 
virtual void setClassId (const QString &class_id)
 
virtual void setDescription (const QString &description)
 
virtual void setName (const QString &name)
 
 ~Panel () override
 

Protected Attributes

QString m_clusterName
 Name of the cluster. More...
 
QLineEdit * m_clusterNameEditor
 Input for entering the cluster name. More...
 
QPushButton * m_createClusterButton
 Button for creating and publishing the cluster. More...
 
ros::NodeHandle m_nodeHandle
 Node handle. More...
 
QLineEdit * m_outputTopicEditor
 Input for entering the output topic name. More...
 
QPushButton * m_resetFacesButton
 Button for resetting the current faces in cluster. More...
 
ClusterLabelToolm_tool
 Instance of the label tool from this package. More...
 
- Protected Attributes inherited from rviz::Panel
VisualizationManagervis_manager_
 

Additional Inherited Members

- Signals inherited from rviz::Panel
void configChanged ()
 

Detailed Description

Panel for interacting with the label tool.

Definition at line 75 of file ClusterLabelPanel.hpp.

Constructor & Destructor Documentation

◆ ClusterLabelPanel()

rviz_map_plugin::ClusterLabelPanel::ClusterLabelPanel ( QWidget *  parent = 0)

Constructor.

Parameters
parentThis panel's parent, if available

Definition at line 63 of file ClusterLabelPanel.cpp.

Member Function Documentation

◆ load()

void rviz_map_plugin::ClusterLabelPanel::load ( const rviz::Config config)
virtual

Load a configuration @input config The configuration.

Reimplemented from rviz::Panel.

Definition at line 141 of file ClusterLabelPanel.cpp.

◆ onInitialize()

void rviz_map_plugin::ClusterLabelPanel::onInitialize ( )
virtual

RViz callback on inizialize.

Reimplemented from rviz::Panel.

Definition at line 87 of file ClusterLabelPanel.cpp.

◆ publish

void rviz_map_plugin::ClusterLabelPanel::publish ( )
slot

Publishes the current cluster.

Definition at line 123 of file ClusterLabelPanel.cpp.

◆ resetFaces

void rviz_map_plugin::ClusterLabelPanel::resetFaces ( )
slot

Resets the current face selection state.

Definition at line 129 of file ClusterLabelPanel.cpp.

◆ save()

void rviz_map_plugin::ClusterLabelPanel::save ( rviz::Config  config) const
virtual

Save a configuration @input config The configuration.

Reimplemented from rviz::Panel.

Definition at line 135 of file ClusterLabelPanel.cpp.

◆ setClusterName

void rviz_map_plugin::ClusterLabelPanel::setClusterName ( const QString &  clusterName)
slot

Set the name under which the current cluster will be saved.

Parameters
clusterNameThe new name

Definition at line 109 of file ClusterLabelPanel.cpp.

◆ updateClusterName

void rviz_map_plugin::ClusterLabelPanel::updateClusterName ( )
slot

Updates the current cluster name.

Definition at line 118 of file ClusterLabelPanel.cpp.

Member Data Documentation

◆ m_clusterName

QString rviz_map_plugin::ClusterLabelPanel::m_clusterName
protected

Name of the cluster.

Definition at line 133 of file ClusterLabelPanel.hpp.

◆ m_clusterNameEditor

QLineEdit* rviz_map_plugin::ClusterLabelPanel::m_clusterNameEditor
protected

Input for entering the cluster name.

Definition at line 128 of file ClusterLabelPanel.hpp.

◆ m_createClusterButton

QPushButton* rviz_map_plugin::ClusterLabelPanel::m_createClusterButton
protected

Button for creating and publishing the cluster.

Definition at line 136 of file ClusterLabelPanel.hpp.

◆ m_nodeHandle

ros::NodeHandle rviz_map_plugin::ClusterLabelPanel::m_nodeHandle
protected

Node handle.

Definition at line 144 of file ClusterLabelPanel.hpp.

◆ m_outputTopicEditor

QLineEdit* rviz_map_plugin::ClusterLabelPanel::m_outputTopicEditor
protected

Input for entering the output topic name.

Definition at line 130 of file ClusterLabelPanel.hpp.

◆ m_resetFacesButton

QPushButton* rviz_map_plugin::ClusterLabelPanel::m_resetFacesButton
protected

Button for resetting the current faces in cluster.

Definition at line 138 of file ClusterLabelPanel.hpp.

◆ m_tool

ClusterLabelTool* rviz_map_plugin::ClusterLabelPanel::m_tool
protected

Instance of the label tool from this package.

Definition at line 141 of file ClusterLabelPanel.hpp.


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


rviz_map_plugin
Author(s): Sebastian Pütz , Kristin Schmidt , Jan Philipp Vogtherr , Malte kleine Piening
autogenerated on Sun Jan 21 2024 04:06:25