30 #ifndef RVIZ_MARKER_UTILS_H 31 #define RVIZ_MARKER_UTILS_H 34 #include <visualization_msgs/Marker.h> 35 #include <visualization_msgs/MarkerArray.h> 51 MarkerBase*
createMarker(
int marker_type, MarkerDisplay *owner, DisplayContext *context, Ogre::SceneNode *parent_node);
53 bool checkMarkerMsg(
const visualization_msgs::Marker& marker, MarkerDisplay* owner);
54 bool checkMarkerArrayMsg(
const visualization_msgs::MarkerArray& array, MarkerDisplay* owner);
56 void checkQuaternion(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
58 void checkScale(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
59 void checkScaleLineStripAndList(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
60 void checkScalePoints(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
61 void checkScaleText(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
63 void checkColor(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
66 void checkPointsArrow(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
67 void checkPointsNotEmpty(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
68 void checkPointsEmpty(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
70 void checkColors(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
71 void checkColorsEmpty(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
74 void checkTextEmpty(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
76 void checkMesh(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
77 void checkMeshEmpty(
const visualization_msgs::Marker& marker, std::stringstream& ss, StatusProperty::Level& level);
80 void increaseWarningLevel(StatusProperty::Level new_status, StatusProperty::Level& current_status);
void checkColors(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkQuaternion(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
bool checkMarkerMsg(const visualization_msgs::Marker &marker, MarkerDisplay *owner)
void checkScale(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkPointsEmpty(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkColor(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkMesh(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkColorsEmpty(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
MarkerBase * createMarker(int marker_type, MarkerDisplay *owner, DisplayContext *context, Ogre::SceneNode *parent_node)
bool checkMarkerArrayMsg(const visualization_msgs::MarkerArray &array, MarkerDisplay *owner)
void increaseWarningLevel(StatusProperty::Level new_status, StatusProperty::Level ¤t_status)
void checkPointsArrow(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkPointsNotEmpty(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void addSeparatorIfRequired(std::stringstream &ss)
void checkTextNotEmptyOrWhitespace(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkMeshEmpty(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkScalePoints(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkScaleText(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkScaleLineStripAndList(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)
void checkTextEmpty(const visualization_msgs::Marker &marker, std::stringstream &ss, StatusProperty::Level &level)