Go to the documentation of this file.
37 #include <jsk_topic_tools/color_utils.h>
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");
261 const jsk_recognition_msgs::BoundingBoxArray::ConstPtr& msg)
285 ROS_WARN(
"value threshold must be in [0,1]");
virtual bool getBool() const
BoundingBoxArrayDisplay()
virtual int getOptionInt()
jsk_recognition_msgs::BoundingBoxArray::ConstPtr latest_msg_
virtual QColor getColor() const
std::string alpha_method_
void showCoords(const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg)
rviz::FloatProperty * value_threshold_property_
rviz::FloatProperty * line_width_property_
std::vector< std::vector< ArrowPtr > > coords_objects_
void processMessage(const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg)
std::vector< Ogre::SceneNode * > coords_nodes_
rviz::FloatProperty * alpha_property_
virtual ~BoundingBoxArrayDisplay()
rviz::EnumProperty * coloring_property_
virtual float getFloat() const
virtual void addOption(const QString &option, int value=0)
rviz::FloatProperty * alpha_max_property_
void showEdges(const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg)
Ogre::SceneNode * scene_node_
rviz::BoolProperty * show_coords_property_
std::vector< BillboardLinePtr > edges_
Ogre::SceneManager * scene_manager_
void showBoxes(const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg)
rviz::BoolProperty * only_edge_property_
void onInitialize() override
PLUGINLIB_EXPORT_CLASS(jsk_rviz_plugins::PictogramArrayDisplay, rviz::Display)
rviz::ColorProperty * color_property_
rviz::FloatProperty * alpha_min_property_
bool setFloat(float new_value)
void updateValueThreshold()
rviz::EnumProperty * alpha_method_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