Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
rc_roi_manager_gui::RoiManagerFrame Class Reference

#include <roi_manager_frame.h>

Inheritance diagram for rc_roi_manager_gui::RoiManagerFrame:
Inheritance graph
[legend]

Public Member Functions

bool isItemInList (wxString name)
 Search if an roi is already present. More...
 
void onDeleteButton (wxCommandEvent &)
 Event handler for the delete button. More...
 
 RoiManagerFrame (const wxString &title)
 Constructor. More...
 
void updateGui ()
 Update list of shown rois on the gui. More...
 
virtual ~RoiManagerFrame ()=default
 

Public Attributes

std::shared_ptr< InteractiveRoiSelectioninteractive_roi_server_
 

Private Member Functions

void onEditButton (wxCommandEvent &)
 Event handler for the edit button. More...
 
void onNewButton (wxCommandEvent &)
 Event handler for the new button. More...
 
void onUpdateButton (wxCommandEvent &)
 Event handler for the update button. More...
 

Private Attributes

ros::ServiceClient client_delete_roi_
 
ros::ServiceClient client_get_roi_
 
NewRoiFramecreate_roi_frame_
 
wxDataViewListCtrl * item_list_
 
std::shared_ptr< ros::NodeHandlenh_
 
std::string pick_module_
 

Detailed Description

Definition at line 46 of file roi_manager_frame.h.

Constructor & Destructor Documentation

rc_roi_manager_gui::RoiManagerFrame::RoiManagerFrame ( const wxString &  title)
explicit

Constructor.

Parameters
titletitle of the window

Definition at line 48 of file roi_manager_frame.cc.

virtual rc_roi_manager_gui::RoiManagerFrame::~RoiManagerFrame ( )
virtualdefault

Member Function Documentation

bool rc_roi_manager_gui::RoiManagerFrame::isItemInList ( wxString  name)

Search if an roi is already present.

Parameters
nameName of the roi to be searched for.
Returns
Returns true if the roi is found in the item_list_

Definition at line 124 of file roi_manager_frame.cc.

void rc_roi_manager_gui::RoiManagerFrame::onDeleteButton ( wxCommandEvent &  )

Event handler for the delete button.

Definition at line 104 of file roi_manager_frame.cc.

void rc_roi_manager_gui::RoiManagerFrame::onEditButton ( wxCommandEvent &  )
private

Event handler for the edit button.

Definition at line 135 of file roi_manager_frame.cc.

void rc_roi_manager_gui::RoiManagerFrame::onNewButton ( wxCommandEvent &  )
private

Event handler for the new button.

Definition at line 155 of file roi_manager_frame.cc.

void rc_roi_manager_gui::RoiManagerFrame::onUpdateButton ( wxCommandEvent &  )
private

Event handler for the update button.

Definition at line 119 of file roi_manager_frame.cc.

void rc_roi_manager_gui::RoiManagerFrame::updateGui ( )

Update list of shown rois on the gui.

Definition at line 168 of file roi_manager_frame.cc.

Member Data Documentation

ros::ServiceClient rc_roi_manager_gui::RoiManagerFrame::client_delete_roi_
private

Definition at line 81 of file roi_manager_frame.h.

ros::ServiceClient rc_roi_manager_gui::RoiManagerFrame::client_get_roi_
private

Definition at line 80 of file roi_manager_frame.h.

NewRoiFrame* rc_roi_manager_gui::RoiManagerFrame::create_roi_frame_
private

Definition at line 78 of file roi_manager_frame.h.

std::shared_ptr<InteractiveRoiSelection> rc_roi_manager_gui::RoiManagerFrame::interactive_roi_server_

Definition at line 49 of file roi_manager_frame.h.

wxDataViewListCtrl* rc_roi_manager_gui::RoiManagerFrame::item_list_
private

Definition at line 77 of file roi_manager_frame.h.

std::shared_ptr<ros::NodeHandle> rc_roi_manager_gui::RoiManagerFrame::nh_
private

Definition at line 79 of file roi_manager_frame.h.

std::string rc_roi_manager_gui::RoiManagerFrame::pick_module_
private

Definition at line 82 of file roi_manager_frame.h.


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


rc_roi_manager_gui
Author(s): Carlos Xavier Garcia Briones
autogenerated on Sat Feb 13 2021 03:42:01