#include <gripper_click_rviz_ui.h>
Public Types | |
enum | ActionState { IDLE, ACCEPTED, CANCELED } |
typedef ActionClass::_action_goal_type::_goal_type | GoalType |
typedef ActionClass::_action_result_type::_result_type | ResultType |
Public Member Functions | |
void | addPlugin (GripperClickPlugin< ActionClass > *plugin) |
bool | getResult (ResultType &result) |
ActionState | getState () |
rviz::status_levels::StatusLevel | getStatusLevel () const |
std::string | getStatusText () const |
GripperClickRvizUI (rviz::VisualizationManager *visualization_manager) | |
void | hide () |
void | setActivePlugin (unsigned index) |
bool | setGoal (const typename GoalType::ConstPtr &goal) |
void | setImage (const sensor_msgs::Image &image, const stereo_msgs::DisparityImage &disparity_image, const sensor_msgs::CameraInfo &camera_info) |
void | show () |
virtual void | update (float wall_dt, float ros_dt) |
virtual | ~GripperClickRvizUI () |
Protected Member Functions | |
virtual void | acceptButtonClicked (wxCommandEvent &) |
virtual void | cancelButtonClicked (wxCommandEvent &) |
bool | getTransform (std::string frame, Ogre::Vector3 &position, Ogre::Quaternion &orientation) |
virtual void | onPluginChoice (wxCommandEvent &event) |
virtual void | onRenderWindowMouseEvents (wxMouseEvent &event) |
void | setBottomLabelText (const std::string &text) |
void | setStatus (rviz::status_levels::StatusLevel level, const std::string &text) |
Protected Attributes | |
ActionState | action_state_ |
unsigned | active_plugin_ |
std::string | camera_frame_ |
Ogre::SceneNode * | camera_node_ |
rviz_interaction_tools::DisparityRenderer * | disparity_renderer_ |
rviz_interaction_tools::Gripper * | gripper_ |
Ogre::Light * | gripper_light_ |
rviz_interaction_tools::ImageOverlay * | image_overlay_ |
Ogre::SceneNode * | main_win_camera_node_ |
rviz_interaction_tools::DisparityRenderer * | main_win_disparity_renderer_ |
rviz_interaction_tools::Gripper * | main_win_gripper_ |
std::vector < GripperClickPlugin < ActionClass > * > | plugins_ |
rviz::RenderPanel * | render_panel_ |
Ogre::SceneManager * | scene_manager_ |
rviz::status_levels::StatusLevel | status_level_ |
std::string | status_text_ |
rviz::VisualizationManager * | vis_manager_ |
Definition at line 77 of file gripper_click_rviz_ui.h.
typedef ActionClass::_action_goal_type::_goal_type pr2_gripper_click::GripperClickRvizUI< ActionClass >::GoalType |
Definition at line 82 of file gripper_click_rviz_ui.h.
typedef ActionClass::_action_result_type::_result_type pr2_gripper_click::GripperClickRvizUI< ActionClass >::ResultType |
Definition at line 81 of file gripper_click_rviz_ui.h.
enum pr2_gripper_click::GripperClickRvizUI::ActionState |
Definition at line 84 of file gripper_click_rviz_ui.h.
pr2_gripper_click::GripperClickRvizUI< ActionClass >::GripperClickRvizUI | ( | rviz::VisualizationManager * | visualization_manager | ) | [inline] |
Definition at line 63 of file gripper_click_rviz_ui.cpp.
pr2_gripper_click::GripperClickRvizUI< ActionClass >::~GripperClickRvizUI | ( | ) | [inline, virtual] |
Definition at line 146 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::acceptButtonClicked | ( | wxCommandEvent & | ) | [inline, protected, virtual] |
Reimplemented from GripperClickFrameBase.
Definition at line 386 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::addPlugin | ( | GripperClickPlugin< ActionClass > * | plugin | ) | [inline] |
Definition at line 336 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::cancelButtonClicked | ( | wxCommandEvent & | ) | [inline, protected, virtual] |
Reimplemented from GripperClickFrameBase.
Definition at line 393 of file gripper_click_rviz_ui.cpp.
bool pr2_gripper_click::GripperClickRvizUI< ActionClass >::getResult | ( | ResultType & | result | ) | [inline] |
Definition at line 373 of file gripper_click_rviz_ui.cpp.
ActionState pr2_gripper_click::GripperClickRvizUI< ActionClass >::getState | ( | ) | [inline] |
Definition at line 91 of file gripper_click_rviz_ui.h.
rviz::status_levels::StatusLevel pr2_gripper_click::GripperClickRvizUI< ActionClass >::getStatusLevel | ( | ) | const [inline] |
Definition at line 115 of file gripper_click_rviz_ui.h.
std::string pr2_gripper_click::GripperClickRvizUI< ActionClass >::getStatusText | ( | ) | const [inline] |
Definition at line 114 of file gripper_click_rviz_ui.h.
bool pr2_gripper_click::GripperClickRvizUI< ActionClass >::getTransform | ( | std::string | frame, | |
Ogre::Vector3 & | position, | |||
Ogre::Quaternion & | orientation | |||
) | [inline, protected] |
Definition at line 271 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::hide | ( | ) | [inline] |
Definition at line 221 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::onPluginChoice | ( | wxCommandEvent & | event | ) | [inline, protected, virtual] |
Reimplemented from GripperClickFrameBase.
Definition at line 400 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::onRenderWindowMouseEvents | ( | wxMouseEvent & | event | ) | [inline, protected, virtual] |
Definition at line 406 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::setActivePlugin | ( | unsigned | index | ) | [inline] |
Definition at line 352 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::setBottomLabelText | ( | const std::string & | text | ) | [inline, protected] |
Definition at line 308 of file gripper_click_rviz_ui.cpp.
bool pr2_gripper_click::GripperClickRvizUI< ActionClass >::setGoal | ( | const typename GoalType::ConstPtr & | goal | ) | [inline] |
Definition at line 318 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::setImage | ( | const sensor_msgs::Image & | image, | |
const stereo_msgs::DisparityImage & | disparity_image, | |||
const sensor_msgs::CameraInfo & | camera_info | |||
) | [inline] |
Definition at line 228 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::setStatus | ( | rviz::status_levels::StatusLevel | level, | |
const std::string & | text | |||
) | [inline, protected] |
Definition at line 295 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::show | ( | ) | [inline] |
Definition at line 214 of file gripper_click_rviz_ui.cpp.
void pr2_gripper_click::GripperClickRvizUI< ActionClass >::update | ( | float | wall_dt, | |
float | ros_dt | |||
) | [inline, virtual] |
Definition at line 168 of file gripper_click_rviz_ui.cpp.
ActionState pr2_gripper_click::GripperClickRvizUI< ActionClass >::action_state_ [protected] |
Definition at line 143 of file gripper_click_rviz_ui.h.
unsigned pr2_gripper_click::GripperClickRvizUI< ActionClass >::active_plugin_ [protected] |
Definition at line 167 of file gripper_click_rviz_ui.h.
std::string pr2_gripper_click::GripperClickRvizUI< ActionClass >::camera_frame_ [protected] |
Definition at line 160 of file gripper_click_rviz_ui.h.
Ogre::SceneNode* pr2_gripper_click::GripperClickRvizUI< ActionClass >::camera_node_ [protected] |
Definition at line 148 of file gripper_click_rviz_ui.h.
rviz_interaction_tools::DisparityRenderer* pr2_gripper_click::GripperClickRvizUI< ActionClass >::disparity_renderer_ [protected] |
Definition at line 150 of file gripper_click_rviz_ui.h.
rviz_interaction_tools::Gripper* pr2_gripper_click::GripperClickRvizUI< ActionClass >::gripper_ [protected] |
Definition at line 152 of file gripper_click_rviz_ui.h.
Ogre::Light* pr2_gripper_click::GripperClickRvizUI< ActionClass >::gripper_light_ [protected] |
Definition at line 162 of file gripper_click_rviz_ui.h.
rviz_interaction_tools::ImageOverlay* pr2_gripper_click::GripperClickRvizUI< ActionClass >::image_overlay_ [protected] |
Definition at line 164 of file gripper_click_rviz_ui.h.
Ogre::SceneNode* pr2_gripper_click::GripperClickRvizUI< ActionClass >::main_win_camera_node_ [protected] |
Definition at line 155 of file gripper_click_rviz_ui.h.
rviz_interaction_tools::DisparityRenderer* pr2_gripper_click::GripperClickRvizUI< ActionClass >::main_win_disparity_renderer_ [protected] |
Definition at line 156 of file gripper_click_rviz_ui.h.
rviz_interaction_tools::Gripper* pr2_gripper_click::GripperClickRvizUI< ActionClass >::main_win_gripper_ [protected] |
Definition at line 154 of file gripper_click_rviz_ui.h.
std::vector< GripperClickPlugin<ActionClass>* > pr2_gripper_click::GripperClickRvizUI< ActionClass >::plugins_ [protected] |
Definition at line 166 of file gripper_click_rviz_ui.h.
rviz::RenderPanel* pr2_gripper_click::GripperClickRvizUI< ActionClass >::render_panel_ [protected] |
Definition at line 145 of file gripper_click_rviz_ui.h.
Ogre::SceneManager* pr2_gripper_click::GripperClickRvizUI< ActionClass >::scene_manager_ [protected] |
Definition at line 147 of file gripper_click_rviz_ui.h.
rviz::status_levels::StatusLevel pr2_gripper_click::GripperClickRvizUI< ActionClass >::status_level_ [protected] |
Definition at line 169 of file gripper_click_rviz_ui.h.
std::string pr2_gripper_click::GripperClickRvizUI< ActionClass >::status_text_ [protected] |
Definition at line 170 of file gripper_click_rviz_ui.h.
rviz::VisualizationManager* pr2_gripper_click::GripperClickRvizUI< ActionClass >::vis_manager_ [protected] |
Definition at line 158 of file gripper_click_rviz_ui.h.