Program Listing for File bounding_box_2d.hpp
↰ Return to documentation for file (include/vision_msgs_layers/bounding_box_2d.hpp
)
// Copyright 2022 Kenji Brameld
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef VISION_MSGS_LAYERS__BOUNDING_BOX_2D_HPP_
#define VISION_MSGS_LAYERS__BOUNDING_BOX_2D_HPP_
#include "vision_msgs_layers/visibility_control.h"
#include "rqt_image_overlay_layer/plugin.hpp"
#include "vision_msgs/msg/bounding_box2_d.hpp"
namespace vision_msgs_layers
{
class BoundingBox2D : public rqt_image_overlay_layer::Plugin<vision_msgs::msg::BoundingBox2D>
{
public:
void overlay(
QPainter & painter,
const vision_msgs::msg::BoundingBox2D & msg) override;
};
} // namespace vision_msgs_layers
#endif // VISION_MSGS_LAYERS__BOUNDING_BOX_2D_HPP_