Panel for interacting with the label tool. More...
#include <ClusterLabelPanel.hpp>
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... | |
![]() | |
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... | |
ClusterLabelTool * | m_tool |
Instance of the label tool from this package. More... | |
![]() | |
VisualizationManager * | vis_manager_ |
Additional Inherited Members | |
![]() | |
void | configChanged () |
Panel for interacting with the label tool.
Definition at line 75 of file ClusterLabelPanel.hpp.
rviz_map_plugin::ClusterLabelPanel::ClusterLabelPanel | ( | QWidget * | parent = 0 | ) |
Constructor.
parent | This panel's parent, if available |
Definition at line 63 of file ClusterLabelPanel.cpp.
|
virtual |
Load a configuration @input config The configuration.
Reimplemented from rviz::Panel.
Definition at line 141 of file ClusterLabelPanel.cpp.
|
virtual |
RViz callback on inizialize.
Reimplemented from rviz::Panel.
Definition at line 87 of file ClusterLabelPanel.cpp.
|
slot |
Publishes the current cluster.
Definition at line 123 of file ClusterLabelPanel.cpp.
|
slot |
Resets the current face selection state.
Definition at line 129 of file ClusterLabelPanel.cpp.
|
virtual |
Save a configuration @input config The configuration.
Reimplemented from rviz::Panel.
Definition at line 135 of file ClusterLabelPanel.cpp.
|
slot |
Set the name under which the current cluster will be saved.
clusterName | The new name |
Definition at line 109 of file ClusterLabelPanel.cpp.
|
slot |
Updates the current cluster name.
Definition at line 118 of file ClusterLabelPanel.cpp.
|
protected |
Name of the cluster.
Definition at line 133 of file ClusterLabelPanel.hpp.
|
protected |
Input for entering the cluster name.
Definition at line 128 of file ClusterLabelPanel.hpp.
|
protected |
Button for creating and publishing the cluster.
Definition at line 136 of file ClusterLabelPanel.hpp.
|
protected |
Node handle.
Definition at line 144 of file ClusterLabelPanel.hpp.
|
protected |
Input for entering the output topic name.
Definition at line 130 of file ClusterLabelPanel.hpp.
|
protected |
Button for resetting the current faces in cluster.
Definition at line 138 of file ClusterLabelPanel.hpp.
|
protected |
Instance of the label tool from this package.
Definition at line 141 of file ClusterLabelPanel.hpp.