Go to the documentation of this file.
37 #include <jsk_topic_tools/color_utils.h>
45 "coloring",
"Flat color",
53 "color", QColor(25, 255, 0),
54 "color to draw the bounding boxes",
58 "alpha value to draw the bounding boxes",
62 "show only the edges of the boxes",
66 "line width of the edges",
70 "show coordinate of bounding box",
177 const jsk_recognition_msgs::BoundingBox::ConstPtr& msg)
183 jsk_recognition_msgs::BoundingBoxArrayPtr bbox_array_msg(
new jsk_recognition_msgs::BoundingBoxArray);
184 bbox_array_msg->header =
msg->header;
185 std::vector<jsk_recognition_msgs::BoundingBox> boxes;
186 boxes.push_back(*msg);
187 bbox_array_msg->boxes = boxes;
virtual bool getBool() const
virtual int getOptionInt()
virtual QColor getColor() const
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()
std::vector< Ogre::SceneNode * > coords_nodes_
rviz::FloatProperty * alpha_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::EnumProperty * coloring_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 Aug 2 2024 08:50:14