RViz plugin for point cloud segmentation. More...
#include <SegmentPanel.h>
Public Member Functions | |
virtual void | load (const rviz::Config &config) |
Load RViz configuration settings. | |
virtual void | save (rviz::Config config) const |
Save RViz configuration settings. | |
SegmentPanel (QWidget *parent=NULL) | |
Create a new SegmentPanel. | |
Private Slots | |
void | executeSegment () |
Callback for the segment button. | |
Private Attributes | |
ros::NodeHandle | node_ |
QPushButton * | segment_button_ |
ros::ServiceClient | segment_srv_ |
QLabel * | segment_status_ |
RViz plugin for point cloud segmentation.
The segmentation panel allows for sending segmentation service requests.
Definition at line 34 of file SegmentPanel.h.
SegmentPanel::SegmentPanel | ( | QWidget * | parent = NULL | ) |
Create a new SegmentPanel.
Creates a new SegmentPanel and adds the correct widgets.
parent | The parent widget for this panel (defaults to NULL). |
Definition at line 25 of file SegmentPanel.cpp.
void SegmentPanel::executeSegment | ( | ) | [private, slot] |
Callback for the segment button.
Calls the segmentation service.
Definition at line 61 of file SegmentPanel.cpp.
void SegmentPanel::load | ( | const rviz::Config & | config | ) | [virtual] |
Load RViz configuration settings.
No settings are saved or loaded for this panel.
config | The RViz configuration settings to load. |
Reimplemented from rviz::Panel.
Definition at line 94 of file SegmentPanel.cpp.
void SegmentPanel::save | ( | rviz::Config | config | ) | const [virtual] |
Save RViz configuration settings.
No settings are saved or loaded for this panel.
config | The RViz configuration settings to save. |
Reimplemented from rviz::Panel.
Definition at line 88 of file SegmentPanel.cpp.
The ROS node handle.
Definition at line 70 of file SegmentPanel.h.
QPushButton* rail::pick_and_place::SegmentPanel::segment_button_ [private] |
The main segmentation button.
Definition at line 75 of file SegmentPanel.h.
The main segmentation service.
Definition at line 72 of file SegmentPanel.h.
QLabel* rail::pick_and_place::SegmentPanel::segment_status_ [private] |
The segmentation service.
Definition at line 77 of file SegmentPanel.h.