1 #ifndef _RAPID_VIZ_DRAG_BOX_MARKER_H_
2 #define _RAPID_VIZ_DRAG_BOX_MARKER_H_
6 #include "geometry_msgs/Point.h"
7 #include "geometry_msgs/PoseStamped.h"
8 #include "geometry_msgs/Vector3.h"
9 #include "interactive_markers/interactive_marker_server.h"
10 #include "transform_graph/graph.h"
11 #include "visualization_msgs/InteractiveMarker.h"
46 interactive_markers::InteractiveMarkerServer* im_server);
100 void UpdateArrow(
const std::string& axis,
const std::string& polarity,
101 const geometry_msgs::Point& point);
103 const visualization_msgs::InteractiveMarkerFeedbackConstPtr& feedback);
104 void MakeBox(visualization_msgs::InteractiveMarker* box);
105 void MakeArrow(
const std::string& axis,
const std::string& polarity,
106 visualization_msgs::InteractiveMarker* arrow);
109 interactive_markers::InteractiveMarkerServer* im_server_;
111 geometry_msgs::PoseStamped pose_stamped_;
119 transform_graph::Graph tf_graph_;
124 #endif // _RAPID_VIZ_DRAG_BOX_MARKER_H_
void Hide()
Erases the marker.
void set_max_y(double max_y)
Sets the maximum y value of the box.
An interactive marker for a box with draggable sides.
geometry_msgs::PoseStamped pose_stamped()
void Show()
Show the marker.
void set_min_z(double min_z)
Sets the minimum z value of the box.
void set_min_x(double min_x)
Sets the minimum x value of the box.
void set_min_y(double min_y)
Sets the minimum y value of the box.
void set_max_x(double max_x)
Sets the maximum x value of the box.
void set_pose_stamped(const geometry_msgs::PoseStamped &pose_stamped)
Sets the marker's pose.
void set_max_z(double max_z)
Sets the maximum z value of the box.
DragBoxMarker(const std::string &name, interactive_markers::InteractiveMarkerServer *im_server)
Constructor.