Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef RVIZ_INTERACTIVE_MARKER_TOOLS_H
00031 #define RVIZ_INTERACTIVE_MARKER_TOOLS_H
00032
00033 #include <visualization_msgs/InteractiveMarker.h>
00034
00035 namespace interactive_markers
00036 {
00037
00042 void autoComplete( visualization_msgs::InteractiveMarker &msg );
00043
00047 void autoComplete( const visualization_msgs::InteractiveMarker &msg,
00048 visualization_msgs::InteractiveMarkerControl &control );
00049
00054 void uniqueifyControlNames( visualization_msgs::InteractiveMarker& msg );
00055
00059 geometry_msgs::Quaternion makeQuaternion( float x, float y, float z );
00060
00061
00063
00068 void makeArrow( const visualization_msgs::InteractiveMarker &msg,
00069 visualization_msgs::InteractiveMarkerControl &control, float pos );
00070
00074 void makeDisc( const visualization_msgs::InteractiveMarker &msg,
00075 visualization_msgs::InteractiveMarkerControl &control, float width = 0.3 );
00076
00080 void makeViewFacingButton( const visualization_msgs::InteractiveMarker &msg,
00081 visualization_msgs::InteractiveMarkerControl &control, std::string text );
00082
00084 void assignDefaultColor(visualization_msgs::Marker &marker, const geometry_msgs::Quaternion &quat );
00085
00087 visualization_msgs::InteractiveMarkerControl makeTitle( visualization_msgs::InteractiveMarker &msg );
00088
00089 }
00090
00091 #endif