35 #include <opencv2/core/core.hpp>
36 #include <opencv2/core/core_c.h>
37 #include <opencv2/opencv.hpp>
45 LayeredFigure::LayeredFigure(
const std::string &_title ) :
Figure(_title), view_idx_(0), sizeLayers_(0) {
46 namedWindow(
title(), cv::WINDOW_AUTOSIZE | cv::WINDOW_GUI_EXPANDED);
47 std::string namet1 =
"MapLayer";
58 double min_y,
double max_y,
59 double min_x,
double max_x,
double rotation,
60 double grid_scale_x,
double grid_scale_y,
const string& background_image ) {
66 destroyWindow(
title());
67 namedWindow(
title(), cv::WINDOW_AUTOSIZE | cv::WINDOW_GUI_EXPANDED);
68 std::string namet1 =
"MapLayer";