Public Types | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Attributes | List of all members
choreo_gui::SelectionWidget Class Reference

#include <selection_widget.h>

Inheritance diagram for choreo_gui::SelectionWidget:
Inheritance graph
[legend]

Public Types

enum  ASSEMBLY_TYPE { SPATIAL_EXTRUSION, PICKNPLACE }
 
enum  MODE { PATH_SELECTION, ZOOM_IN_SELECTION, PLAN_SELECTION }
 
enum  SIMULATE_TYPE { SINGLE, ALL_UNTIL, CHOSEN }
 

Signals

void closeWidgetAndContinue ()
 
void enableChoreoWidgetButtons ()
 
void enterSelectionWidget ()
 
void exitSelectionWidget ()
 
void flushOutputProcess ()
 
void flushSimulation ()
 
void recomputeTaskSequenceChosen ()
 
void setOutputSaveDirOn ()
 
void simulateOn (SIMULATE_TYPE sim_type)
 

Public Member Functions

void addFetchedPlans (const std::vector< std::string > &plan_names)
 
void cleanUpVisual ()
 
std::vector< int > getChosenIds ()
 
void getChosenPlans ()
 
std::vector< int > getSelectedIdsForSimulation ()
 
int getSelectedValueForPlanning () const
 
double getSimSpeed () const
 
SIMULATE_TYPE getSimulateType ()
 
bool getUseSavedResult () const
 
void loadParameters ()
 
void orderValueChanged ()
 
 SelectionWidget (QWidget *parent=0)
 
void setAssemblyType (const std::string &at)
 
void setInputEnabled (bool enabled)
 
void setInputEndEffectorVisualEnabled (bool)
 
void setInputGraspEnabled (bool)
 
void setInputIKSolutionEnabled (bool)
 
void setMaxGraspNum (int max_g)
 
void setMaxValue (int m)
 
void setMode (const MODE &_mode)
 
void setModelFileName (const std::string &m)
 
void setStatusBar (std::string string, bool state)
 
void showTaskSequenceRecomputePopUp (bool found_task_plan)
 
void simSpeedChanged ()
 

Protected Slots

void buttonBackwardUpdateOrderValue ()
 
void buttonClearSelection ()
 
void buttonCloseWidget ()
 
void buttonForwardUpdateOrderValue ()
 
void buttonOutputChosen ()
 
void buttonSelectAll ()
 
void buttonSelectForPlan ()
 
void buttonSimulate (SIMULATE_TYPE sim_type)
 
void buttonSimulateChosen ()
 
void buttonSimulateSingle ()
 
void buttonSimulateUntil ()
 
void checkboxEEVisualUpdateValue ()
 
void lineeditUpdateOrderValue ()
 
void lineeditUpdateSelectedGraspValue ()
 
void popUpWindowClosed ()
 
void recomputeChosen ()
 
void sliderUpdateOrderValue (int value)
 
void sliderUpdateSelectedGraspValue (int value)
 
void sliderUpdateSimSpeed (int value)
 
void useSavedResultChosen ()
 
void useSavedTaskSequenceResultChosen ()
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *ev)
 
virtual void showEvent (QShowEvent *ev)
 

Private Attributes

ASSEMBLY_TYPE assembly_type_
 
std::vector< int > chosen_ids_for_sim_
 
std::vector< int > fetched_plan_ids_
 
std::vector< int > grasp_nums_
 
int max_grasp_num_
 
int max_value_
 
MODE mode_
 
std::string model_file_name_
 
ros::NodeHandle nh_
 
ros::ServiceClient query_computation_record_client_
 
SelectForPlanPopUpWidgetselect_for_plan_pop_up_
 
int selected_grasp_id_
 
std::vector< int > selected_ids_for_sim_
 
int selected_value_
 
double sim_speed_
 
SIMULATE_TYPE sim_type_
 
SelectForPlanPopUpWidgettask_seq_recompute_pop_up_
 
Ui::SelectionWidgetWindow * ui_
 
bool use_saved_result_
 
ros::ServiceClient visualize_client_
 
bool visualize_ee_
 

Detailed Description

Definition at line 23 of file selection_widget.h.

Member Enumeration Documentation

Enumerator
SPATIAL_EXTRUSION 
PICKNPLACE 

Definition at line 33 of file selection_widget.h.

Enumerator
PATH_SELECTION 
ZOOM_IN_SELECTION 
PLAN_SELECTION 

Definition at line 26 of file selection_widget.h.

Enumerator
SINGLE 
ALL_UNTIL 
CHOSEN 

Definition at line 39 of file selection_widget.h.

Constructor & Destructor Documentation

choreo_gui::SelectionWidget::SelectionWidget ( QWidget *  parent = 0)

Definition at line 56 of file selection_widget.cpp.

Member Function Documentation

void choreo_gui::SelectionWidget::addFetchedPlans ( const std::vector< std::string > &  plan_names)

Definition at line 301 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonBackwardUpdateOrderValue ( )
protectedslot

Definition at line 520 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonClearSelection ( )
protectedslot

Definition at line 590 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonCloseWidget ( )
protectedslot

Definition at line 610 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonForwardUpdateOrderValue ( )
protectedslot

Definition at line 511 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonOutputChosen ( )
protectedslot

Definition at line 584 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonSelectAll ( )
protectedslot

Definition at line 529 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonSelectForPlan ( )
protectedslot

Definition at line 615 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonSimulate ( SIMULATE_TYPE  sim_type)
protectedslot

Definition at line 537 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonSimulateChosen ( )
protectedslot

Definition at line 605 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonSimulateSingle ( )
protectedslot

Definition at line 595 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::buttonSimulateUntil ( )
protectedslot

Definition at line 600 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::checkboxEEVisualUpdateValue ( )
protectedslot

Definition at line 674 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::cleanUpVisual ( )

Definition at line 354 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::closeEvent ( QCloseEvent *  ev)
protectedvirtual

Definition at line 410 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::closeWidgetAndContinue ( )
signal
void choreo_gui::SelectionWidget::enableChoreoWidgetButtons ( )
signal
void choreo_gui::SelectionWidget::enterSelectionWidget ( )
signal
void choreo_gui::SelectionWidget::exitSelectionWidget ( )
signal
void choreo_gui::SelectionWidget::flushOutputProcess ( )
signal
void choreo_gui::SelectionWidget::flushSimulation ( )
signal
std::vector<int> choreo_gui::SelectionWidget::getChosenIds ( )
inline

Definition at line 93 of file selection_widget.h.

void choreo_gui::SelectionWidget::getChosenPlans ( )

Definition at line 323 of file selection_widget.cpp.

std::vector<int> choreo_gui::SelectionWidget::getSelectedIdsForSimulation ( )
inline

Definition at line 92 of file selection_widget.h.

int choreo_gui::SelectionWidget::getSelectedValueForPlanning ( ) const
inline

Definition at line 88 of file selection_widget.h.

double choreo_gui::SelectionWidget::getSimSpeed ( ) const
inline

Definition at line 89 of file selection_widget.h.

SIMULATE_TYPE choreo_gui::SelectionWidget::getSimulateType ( )
inline

Definition at line 94 of file selection_widget.h.

bool choreo_gui::SelectionWidget::getUseSavedResult ( ) const
inline

Definition at line 90 of file selection_widget.h.

void choreo_gui::SelectionWidget::lineeditUpdateOrderValue ( )
protectedslot

Definition at line 668 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::lineeditUpdateSelectedGraspValue ( )
protectedslot

Definition at line 686 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::loadParameters ( )

Definition at line 125 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::orderValueChanged ( )

Definition at line 202 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::popUpWindowClosed ( )
protectedslot

Definition at line 721 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::recomputeChosen ( )
protectedslot

Definition at line 700 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::recomputeTaskSequenceChosen ( )
signal
void choreo_gui::SelectionWidget::setAssemblyType ( const std::string &  at)

Definition at line 367 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::setInputEnabled ( bool  enabled)

Definition at line 415 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::setInputEndEffectorVisualEnabled ( bool  enabled)

Definition at line 494 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::setInputGraspEnabled ( bool  enabled)

Definition at line 499 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::setInputIKSolutionEnabled ( bool  enabled)

Definition at line 505 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::setMaxGraspNum ( int  max_g)

Definition at line 192 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::setMaxValue ( int  m)

Definition at line 183 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::setMode ( const MODE _mode)
inline

Definition at line 112 of file selection_widget.h.

void choreo_gui::SelectionWidget::setModelFileName ( const std::string &  m)
inline

Definition at line 113 of file selection_widget.h.

void choreo_gui::SelectionWidget::setOutputSaveDirOn ( )
signal
void choreo_gui::SelectionWidget::setStatusBar ( std::string  string,
bool  state 
)

Definition at line 339 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::showEvent ( QShowEvent *  ev)
protectedvirtual

Definition at line 405 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::showTaskSequenceRecomputePopUp ( bool  found_task_plan)

Definition at line 372 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::simSpeedChanged ( )

Definition at line 287 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::simulateOn ( SIMULATE_TYPE  sim_type)
signal
void choreo_gui::SelectionWidget::sliderUpdateOrderValue ( int  value)
protectedslot

Definition at line 662 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::sliderUpdateSelectedGraspValue ( int  value)
protectedslot

Definition at line 680 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::sliderUpdateSimSpeed ( int  value)
protectedslot

Definition at line 692 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::useSavedResultChosen ( )
protectedslot

Definition at line 708 of file selection_widget.cpp.

void choreo_gui::SelectionWidget::useSavedTaskSequenceResultChosen ( )
protectedslot

Definition at line 716 of file selection_widget.cpp.

Member Data Documentation

ASSEMBLY_TYPE choreo_gui::SelectionWidget::assembly_type_
private

Definition at line 237 of file selection_widget.h.

std::vector<int> choreo_gui::SelectionWidget::chosen_ids_for_sim_
private

Definition at line 221 of file selection_widget.h.

std::vector<int> choreo_gui::SelectionWidget::fetched_plan_ids_
private

Definition at line 222 of file selection_widget.h.

std::vector<int> choreo_gui::SelectionWidget::grasp_nums_
private

Definition at line 210 of file selection_widget.h.

int choreo_gui::SelectionWidget::max_grasp_num_
private

Definition at line 211 of file selection_widget.h.

int choreo_gui::SelectionWidget::max_value_
private

Definition at line 199 of file selection_widget.h.

MODE choreo_gui::SelectionWidget::mode_
private

Definition at line 236 of file selection_widget.h.

std::string choreo_gui::SelectionWidget::model_file_name_
private

Definition at line 233 of file selection_widget.h.

ros::NodeHandle choreo_gui::SelectionWidget::nh_
private

Definition at line 189 of file selection_widget.h.

ros::ServiceClient choreo_gui::SelectionWidget::query_computation_record_client_
private

Definition at line 192 of file selection_widget.h.

SelectForPlanPopUpWidget* choreo_gui::SelectionWidget::select_for_plan_pop_up_
private

Definition at line 195 of file selection_widget.h.

int choreo_gui::SelectionWidget::selected_grasp_id_
private

Definition at line 215 of file selection_widget.h.

std::vector<int> choreo_gui::SelectionWidget::selected_ids_for_sim_
private

Definition at line 220 of file selection_widget.h.

int choreo_gui::SelectionWidget::selected_value_
private

Definition at line 203 of file selection_widget.h.

double choreo_gui::SelectionWidget::sim_speed_
private

Definition at line 231 of file selection_widget.h.

SIMULATE_TYPE choreo_gui::SelectionWidget::sim_type_
private

Definition at line 235 of file selection_widget.h.

SelectForPlanPopUpWidget* choreo_gui::SelectionWidget::task_seq_recompute_pop_up_
private

Definition at line 196 of file selection_widget.h.

Ui::SelectionWidgetWindow* choreo_gui::SelectionWidget::ui_
private

Definition at line 194 of file selection_widget.h.

bool choreo_gui::SelectionWidget::use_saved_result_
private

Definition at line 226 of file selection_widget.h.

ros::ServiceClient choreo_gui::SelectionWidget::visualize_client_
private

Definition at line 191 of file selection_widget.h.

bool choreo_gui::SelectionWidget::visualize_ee_
private

Definition at line 206 of file selection_widget.h.


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


choreo_gui
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:58:56