35 #include <opencv2/core/core.hpp> 36 #include <opencv2/core/core_c.h> 37 #include <opencv2/opencv.hpp> 38 #include <opencv/cv.hpp> 46 LayeredFigure::LayeredFigure(
const std::string &_title ) :
Figure(_title), view_idx_(0), sizeLayers_(0) {
47 namedWindow(
title(), CV_WINDOW_AUTOSIZE | CV_GUI_EXPANDED);
48 std::string namet1 =
"MapLayer";
61 double grid_scale_x,
double grid_scale_y,
const string& background_image ) {
62 tuw::Figure::init ( width_pixel, height_pixel, min_y, max_y, min_x, max_x, rotation, grid_scale_x, grid_scale_y, background_image );
67 destroyWindow(
title());
68 namedWindow(
title(), CV_WINDOW_AUTOSIZE | CV_GUI_EXPANDED);
69 std::string namet1 =
"MapLayer";
void init()
initializes the transformation matrices
void initLayers(int width_pixel, int height_pixel, double min_x, double max_x, double min_y, double max_y, double rotation=0)
cv::Mat & mapLayer(const size_t &_layer)
size_t sizeLayers() const