Public Member Functions | Private Slots | Private Attributes
rail::pick_and_place::SegmentPanel Class Reference

RViz plugin for point cloud segmentation. More...

#include <SegmentPanel.h>

Inheritance diagram for rail::pick_and_place::SegmentPanel:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

RViz plugin for point cloud segmentation.

The segmentation panel allows for sending segmentation service requests.

Definition at line 34 of file SegmentPanel.h.


Constructor & Destructor Documentation

SegmentPanel::SegmentPanel ( QWidget *  parent = NULL)

Create a new SegmentPanel.

Creates a new SegmentPanel and adds the correct widgets.

Parameters:
parentThe parent widget for this panel (defaults to NULL).

Definition at line 25 of file SegmentPanel.cpp.


Member Function Documentation

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.

Parameters:
configThe 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.

Parameters:
configThe RViz configuration settings to save.

Reimplemented from rviz::Panel.

Definition at line 88 of file SegmentPanel.cpp.


Member Data Documentation

The ROS node handle.

Definition at line 70 of file SegmentPanel.h.

The main segmentation button.

Definition at line 75 of file SegmentPanel.h.

The main segmentation service.

Definition at line 72 of file SegmentPanel.h.

The segmentation service.

Definition at line 77 of file SegmentPanel.h.


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


rail_pick_and_place_tools
Author(s): Russell Toris , David Kent
autogenerated on Sun Mar 6 2016 11:39:08