Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
IMarker Class Reference

#include <imarker.h>

List of all members.

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::InteractiveMarkerServerserver_

Detailed Description

Definition at line 57 of file imarker.h.


Member Enumeration Documentation

enum IMarker::Axis [private]
Enumerator:
X 
Y 
Z 

Definition at line 132 of file imarker.h.

Enumerator:
BOTH 
POS 
ORIENT 

Definition at line 61 of file imarker.h.


Constructor & Destructor Documentation

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]

create an interactive marker at the origin

Definition at line 64 of file imarker.h.

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]

create an interactive marker with an initial pose

Definition at line 75 of file imarker.h.

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]

create an interactive marker with an initial pose

Definition at line 90 of file imarker.h.

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]

create an interactive marker with an initial position

Definition at line 103 of file imarker.h.


Member Function Documentation

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.


Member Data Documentation

visualization_msgs::InteractiveMarker IMarker::imarker_ [private]

Definition at line 138 of file imarker.h.

Definition at line 139 of file imarker.h.


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


pr2_moveit_tutorials
Author(s): Sachin Chitta
autogenerated on Mon Oct 6 2014 11:15:31