#include <interactive_roi_selection.h>
|
void | computeVectorRotation (const tf::Vector3 &v, const tf::Quaternion &q, tf::Vector3 &rot_v) |
| Compute the rotation of a vector by a quaternion. More...
|
|
void | makeBoxControls (visualization_msgs::InteractiveMarker &interactive_marker, bool is_center) |
| Generate controls of a box interactive marker. More...
|
|
void | makeInteractiveMarker (std::string int_marker_name, std::string int_marker_description, const tf::Vector3 &position, bool is_center, tf::Vector3 box_dimensions, tf::Quaternion box_orientation) |
| Generate an interactive marker. More...
|
|
visualization_msgs::Marker | makeMarker (tf::Vector3 box_dimensions, bool is_center) |
| Generate a marker. More...
|
|
void | makeSphereControls (visualization_msgs::InteractiveMarker &interactive_marker, bool is_center) |
| Generate controls of a sphere interactive marker. More...
|
|
void | processRoiPoseFeedback (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback) |
| Process changes on the position and rotation of the region of interest. More...
|
|
void | processRoiSizeFeedback (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback) |
| Process changes on the region of interest's size. More...
|
|
void | processSphereSizeFeedback (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback) |
| Process changes on the region of interest's size. More...
|
|
void | updateCenterMarker () |
| Update the center interactive marker in rviz. More...
|
|
Definition at line 44 of file interactive_roi_selection.h.
rc_roi_manager_gui::InteractiveRoiSelection::InteractiveRoiSelection |
( |
| ) |
|
rc_roi_manager_gui::InteractiveRoiSelection::~InteractiveRoiSelection |
( |
| ) |
|
|
virtual |
Compute the rotation of a vector by a quaternion.
- Parameters
-
v | Vector to be rotated |
q | Quaternion that provides the wanted rotation |
rot_v | Rotated vector |
Definition at line 52 of file interactive_roi_selection.cc.
bool rc_roi_manager_gui::InteractiveRoiSelection::getInteractiveRoi |
( |
rc_pick_client::RegionOfInterest & |
roi | ) |
|
void rc_roi_manager_gui::InteractiveRoiSelection::makeBoxControls |
( |
visualization_msgs::InteractiveMarker & |
interactive_marker, |
|
|
bool |
is_center |
|
) |
| |
|
private |
Generate controls of a box interactive marker.
- Parameters
-
interactive_marker | Interactive marker |
is_center | Set if the marker to create is the center of the region of interest |
Definition at line 241 of file interactive_roi_selection.cc.
void rc_roi_manager_gui::InteractiveRoiSelection::makeInteractiveMarker |
( |
std::string |
int_marker_name, |
|
|
std::string |
int_marker_description, |
|
|
const tf::Vector3 & |
position, |
|
|
bool |
is_center, |
|
|
tf::Vector3 |
box_dimensions, |
|
|
tf::Quaternion |
box_orientation |
|
) |
| |
|
private |
Generate an interactive marker.
- Parameters
-
int_marker_name | Interactive marker's name |
int_marker_description | Interactive marker's description |
position | Position of the interactive marker |
is_center | Set if the marker to create is the center of the region of interest |
box_dimensions | Dimensions of the interactive marker |
box_orientation | Orientation of the interactive marker |
Definition at line 292 of file interactive_roi_selection.cc.
visualization_msgs::Marker rc_roi_manager_gui::InteractiveRoiSelection::makeMarker |
( |
tf::Vector3 |
box_dimensions, |
|
|
bool |
is_center |
|
) |
| |
|
private |
Generate a marker.
- Parameters
-
box_dimensions | Dimensions of the marker |
is_center | Set if the marker to create is the center of the region of interest |
- Returns
- Generated marker
Definition at line 162 of file interactive_roi_selection.cc.
void rc_roi_manager_gui::InteractiveRoiSelection::makeSphereControls |
( |
visualization_msgs::InteractiveMarker & |
interactive_marker, |
|
|
bool |
is_center |
|
) |
| |
|
private |
Generate controls of a sphere interactive marker.
- Parameters
-
interactive_marker | Interactive marker |
is_center | Set if the marker to create is the center of the region of interest |
Definition at line 193 of file interactive_roi_selection.cc.
void rc_roi_manager_gui::InteractiveRoiSelection::processRoiPoseFeedback |
( |
const visualization_msgs::InteractiveMarkerFeedbackConstPtr & |
feedback | ) |
|
|
private |
Process changes on the position and rotation of the region of interest.
- Parameters
-
feedback | center marker with updates done in rviz |
Definition at line 59 of file interactive_roi_selection.cc.
void rc_roi_manager_gui::InteractiveRoiSelection::processRoiSizeFeedback |
( |
const visualization_msgs::InteractiveMarkerFeedbackConstPtr & |
feedback | ) |
|
|
private |
Process changes on the region of interest's size.
- Parameters
-
feedback | corner marker with updates done in rviz |
Definition at line 145 of file interactive_roi_selection.cc.
void rc_roi_manager_gui::InteractiveRoiSelection::processSphereSizeFeedback |
( |
const visualization_msgs::InteractiveMarkerFeedbackConstPtr & |
feedback | ) |
|
|
private |
Process changes on the region of interest's size.
- Parameters
-
feedback | corner marker with updates done in rviz |
Definition at line 128 of file interactive_roi_selection.cc.
bool rc_roi_manager_gui::InteractiveRoiSelection::setInteractiveRoi |
( |
const rc_pick_client::RegionOfInterest & |
roi | ) |
|
void rc_roi_manager_gui::InteractiveRoiSelection::updateCenterMarker |
( |
| ) |
|
|
private |
tf::Quaternion rc_roi_manager_gui::InteractiveRoiSelection::center_orientation_ |
|
private |
tf::Vector3 rc_roi_manager_gui::InteractiveRoiSelection::center_position_ |
|
private |
tf::Vector3 rc_roi_manager_gui::InteractiveRoiSelection::dimensions_ |
|
private |
rc_pick_client::RegionOfInterest rc_roi_manager_gui::InteractiveRoiSelection::interactive_roi_ |
|
private |
std::shared_ptr<ros::NodeHandle> rc_roi_manager_gui::InteractiveRoiSelection::nh_ |
|
private |
The documentation for this class was generated from the following files: