#include <imarker.h>
Public Types | |
enum | Dof { BOTH, POS, ORIENT } |
Public Member Functions | |
IMarker (interactive_markers::InteractiveMarkerServer &server, const std::string &name, const std::string &frame_id="/base_footprint", boost::function< void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &)> callback=printFeedback, Dof dof=BOTH) | |
IMarker (interactive_markers::InteractiveMarkerServer &server, const std::string &name, const Eigen::Affine3d &pose, const std::string &frame_id="/base_footprint", boost::function< void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &)> callback=printFeedback, Dof dof=BOTH) | |
IMarker (interactive_markers::InteractiveMarkerServer &server, const std::string &name, const Eigen::Vector3d &position, const Eigen::Quaterniond &orientation, const std::string &frame_id="/base_footprint", boost::function< void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &)> callback=printFeedback, Dof dof=BOTH) | |
IMarker (interactive_markers::InteractiveMarkerServer &server, const std::string &name, const Eigen::Vector3d &position, const std::string &frame_id="/base_footprint", boost::function< void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &)> callback=printFeedback, Dof dof=BOTH) | |
void | move (const Eigen::Affine3d &pose) |
Static Public Member Functions | |
static void | printFeedback (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &) |
Private Types | |
enum | Axis { X, Y, Z } |
Private Member Functions | |
void | initialize (interactive_markers::InteractiveMarkerServer &server, const std::string &name, const Eigen::Vector3d &position, const Eigen::Quaterniond &orientation, const std::string &frame_id, boost::function< void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &)> callback, Dof dof) |
void | makeAxisControl () |
visualization_msgs::Marker | makeAxisCyl (Axis axis) |
visualization_msgs::Marker | makeBall () |
void | makeBallControl () |
Private Attributes | |
visualization_msgs::InteractiveMarker | imarker_ |
interactive_markers::InteractiveMarkerServer * | server_ |
enum IMarker::Axis [private] |
enum IMarker::Dof |
IMarker::IMarker | ( | interactive_markers::InteractiveMarkerServer & | server, |
const std::string & | name, | ||
const std::string & | frame_id = "/base_footprint" , |
||
boost::function< void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &)> | callback = printFeedback , |
||
Dof | dof = BOTH |
||
) | [inline] |
IMarker::IMarker | ( | interactive_markers::InteractiveMarkerServer & | server, |
const std::string & | name, | ||
const Eigen::Affine3d & | pose, | ||
const std::string & | frame_id = "/base_footprint" , |
||
boost::function< void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &)> | callback = printFeedback , |
||
Dof | dof = BOTH |
||
) | [inline] |
IMarker::IMarker | ( | interactive_markers::InteractiveMarkerServer & | server, |
const std::string & | name, | ||
const Eigen::Vector3d & | position, | ||
const Eigen::Quaterniond & | orientation, | ||
const std::string & | frame_id = "/base_footprint" , |
||
boost::function< void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &)> | callback = printFeedback , |
||
Dof | dof = BOTH |
||
) | [inline] |
IMarker::IMarker | ( | interactive_markers::InteractiveMarkerServer & | server, |
const std::string & | name, | ||
const Eigen::Vector3d & | position, | ||
const std::string & | frame_id = "/base_footprint" , |
||
boost::function< void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &)> | callback = printFeedback , |
||
Dof | dof = BOTH |
||
) | [inline] |
void IMarker::initialize | ( | interactive_markers::InteractiveMarkerServer & | server, |
const std::string & | name, | ||
const Eigen::Vector3d & | position, | ||
const Eigen::Quaterniond & | orientation, | ||
const std::string & | frame_id, | ||
boost::function< void(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &)> | callback, | ||
IMarker::Dof | dof | ||
) | [private] |
Definition at line 122 of file imarker.cpp.
void IMarker::makeAxisControl | ( | ) | [private] |
Definition at line 104 of file imarker.cpp.
visualization_msgs::Marker IMarker::makeAxisCyl | ( | IMarker::Axis | axis | ) | [private] |
Definition at line 58 of file imarker.cpp.
visualization_msgs::Marker IMarker::makeBall | ( | ) | [private] |
void IMarker::makeBallControl | ( | ) | [private] |
Definition at line 96 of file imarker.cpp.
void IMarker::move | ( | const Eigen::Affine3d & | pose | ) |
move marker to new pose
Definition at line 115 of file imarker.cpp.
void IMarker::printFeedback | ( | const visualization_msgs::InteractiveMarkerFeedbackConstPtr & | feedback | ) | [static] |
default callback which just prints new position and orientation
Definition at line 47 of file imarker.cpp.
visualization_msgs::InteractiveMarker IMarker::imarker_ [private] |