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

#include <new_roi_frame.h>

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

Public Member Functions

 NewRoiFrame (const wxString &title, RoiManagerFrame *manager, std::string pick_module)
 Constructor. More...
 
void setRoi (rc_pick_client::RegionOfInterest roi, bool edit)
 sets the member roi_ More...
 
virtual ~NewRoiFrame ()
 

Private Member Functions

void onCancelButton (wxCommandEvent &)
 Event handler for the cancel button. More...
 
void onSaveButton (wxCommandEvent &)
 Event handler for the save button. More...
 
void onUpdateButton (wxCommandEvent &)
 Event handler for the update button. More...
 
void setFromInteractiveRoi ()
 Ros service that sets the region of interest from roi in interactive_roi_selection server. More...
 

Private Attributes

ros::ServiceClient client_set_roi_
 
bool is_editing_
 
RoiManagerFramemanager_
 
wxTextCtrl * name_box_
 
std::shared_ptr< ros::NodeHandlenh_
 
wxChoice * pose_frame_box_
 
rc_pick_client::RegionOfInterest roi_
 
wxChoice * shape_box_
 

Detailed Description

Definition at line 47 of file new_roi_frame.h.

Constructor & Destructor Documentation

rc_roi_manager_gui::NewRoiFrame::NewRoiFrame ( const wxString &  title,
RoiManagerFrame manager,
std::string  pick_module 
)

Constructor.

Parameters
titleTitle of the wxFrame
managerPointer to the main RoiManagerFrame
pick_moduleName of the module being used. Either rc_itempick or rc_boxpick.

Definition at line 44 of file new_roi_frame.cc.

rc_roi_manager_gui::NewRoiFrame::~NewRoiFrame ( )
virtual

Definition at line 155 of file new_roi_frame.cc.

Member Function Documentation

void rc_roi_manager_gui::NewRoiFrame::onCancelButton ( wxCommandEvent &  )
private

Event handler for the cancel button.

Definition at line 110 of file new_roi_frame.cc.

void rc_roi_manager_gui::NewRoiFrame::onSaveButton ( wxCommandEvent &  )
private

Event handler for the save button.

Definition at line 115 of file new_roi_frame.cc.

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

Event handler for the update button.

Definition at line 144 of file new_roi_frame.cc.

void rc_roi_manager_gui::NewRoiFrame::setFromInteractiveRoi ( )
private

Ros service that sets the region of interest from roi in interactive_roi_selection server.

Definition at line 102 of file new_roi_frame.cc.

void rc_roi_manager_gui::NewRoiFrame::setRoi ( rc_pick_client::RegionOfInterest  roi,
bool  edit 
)

sets the member roi_

Parameters
roiRegion of Interest
editIf true a roi is being editted. Otherwise a new roi is being created.

Definition at line 88 of file new_roi_frame.cc.

Member Data Documentation

ros::ServiceClient rc_roi_manager_gui::NewRoiFrame::client_set_roi_
private

Definition at line 94 of file new_roi_frame.h.

bool rc_roi_manager_gui::NewRoiFrame::is_editing_
private

Definition at line 96 of file new_roi_frame.h.

RoiManagerFrame* rc_roi_manager_gui::NewRoiFrame::manager_
private

Definition at line 95 of file new_roi_frame.h.

wxTextCtrl* rc_roi_manager_gui::NewRoiFrame::name_box_
private

Definition at line 89 of file new_roi_frame.h.

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

Definition at line 93 of file new_roi_frame.h.

wxChoice* rc_roi_manager_gui::NewRoiFrame::pose_frame_box_
private

Definition at line 91 of file new_roi_frame.h.

rc_pick_client::RegionOfInterest rc_roi_manager_gui::NewRoiFrame::roi_
private

Definition at line 92 of file new_roi_frame.h.

wxChoice* rc_roi_manager_gui::NewRoiFrame::shape_box_
private

Definition at line 90 of file new_roi_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