Go to the documentation of this file.
37 #include <jsk_topic_tools/color_utils.h>
45 "coloring",
"Flat color",
53 "alpha_method",
"flat",
"alpha method",
59 "color", QColor(25, 255, 0),
60 "color to draw the bounding boxes",
64 "alpha value to draw the bounding boxes",
68 "alpha value corresponding to value = 0",
72 "alpha value corresponding to value = 1",
76 "show only the edges of the boxes",
80 "line width of the edges",
84 "show coordinate of bounding box",
87 "value threshold", 0.0,
88 "filter all boxes with value < threshold",
150 ROS_WARN(
"alpha_min must be <= alpha_max");
164 ROS_WARN(
"alpha_min must be <= alpha_max");
251 const jsk_recognition_msgs::BoundingBox::ConstPtr& msg)
257 jsk_recognition_msgs::BoundingBoxArrayPtr bbox_array_msg(
new jsk_recognition_msgs::BoundingBoxArray);
258 bbox_array_msg->header =
msg->header;
259 std::vector<jsk_recognition_msgs::BoundingBox> boxes;
260 boxes.push_back(*msg);
261 bbox_array_msg->boxes = boxes;
virtual bool getBool() const
virtual int getOptionInt()
virtual QColor getColor() const
std::string alpha_method_
void showCoords(const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg)
void processMessage(const jsk_recognition_msgs::BoundingBox::ConstPtr &msg)
rviz::FloatProperty * line_width_property_
jsk_recognition_msgs::BoundingBox::ConstPtr latest_msg_
std::vector< std::vector< ArrowPtr > > coords_objects_
rviz::ColorProperty * color_property_
virtual ~BoundingBoxDisplay()
void updateValueThreshold()
std::vector< Ogre::SceneNode * > coords_nodes_
rviz::FloatProperty * alpha_property_
rviz::EnumProperty * alpha_method_property_
virtual float getFloat() const
virtual void addOption(const QString &option, int value=0)
void showEdges(const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg)
Ogre::SceneNode * scene_node_
std::vector< BillboardLinePtr > edges_
rviz::BoolProperty * only_edge_property_
Ogre::SceneManager * scene_manager_
void showBoxes(const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg)
void onInitialize() override
PLUGINLIB_EXPORT_CLASS(jsk_rviz_plugins::PictogramArrayDisplay, rviz::Display)
rviz::BoolProperty * show_coords_property_
rviz::FloatProperty * alpha_min_property_
bool setFloat(float new_value)
rviz::EnumProperty * coloring_property_
rviz::FloatProperty * alpha_max_property_
rviz::FloatProperty * value_threshold_property_
std::vector< ShapePtr > shapes_
std::string coloring_method_
jsk_rviz_plugins
Author(s): Kei Okada
, Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Fri Dec 13 2024 03:49:56