Go to the documentation of this file.
3 #include <opencv2/core/core.hpp>
4 #include <opencv2/core/core_c.h>
52 virtual void init (
int width_pixel,
int height_pixel,
56 double grid_scale_x = -1,
double grid_scale_y = -1,
57 const std::string &background_image = std::string() );
62 const std::string
title()
const;
68 void setLabel (
const std::string &label_x = std::string(
"x=%f"),
const std::string &label_y = std::string(
"y=%f"));
77 const cv::Mat&
view()
const;
103 void line (
const Point2D &p0,
const Point2D &p1,
const cv::Scalar &color,
int thickness=1,
int lineType = cv::LINE_AA );
113 void circle (
const Point2D &
p,
int radius,
const cv::Scalar &color,
int thickness=1,
int lineType = cv::LINE_AA );
137 void symbol ( cv::Mat &
view,
const Pose2D &
p,
double radius,
const cv::Scalar &color,
int thickness=1,
int lineType = cv::LINE_AA );
146 void symbol (
const Pose2D &
p,
double radius,
const cv::Scalar &color,
int thickness=1,
int lineType = cv::LINE_AA );
158 void putText ( cv::Mat &
view,
const std::string& text,
const Point2D &
p,
int fontFace = cv::FONT_HERSHEY_PLAIN,
double fontScale = 0.6, cv::Scalar color = cv::Scalar ( 128,0,0 ),
int thickness=1,
int lineType=cv::LINE_AA,
bool bottomLeftOrigin=
false );
169 void putText (
const std::string& text,
const Point2D &
p,
int fontFace = cv::FONT_HERSHEY_PLAIN,
double fontScale = 0.6, cv::Scalar color = cv::Scalar ( 128,0,0 ),
int thickness=1,
int lineType=cv::LINE_AA,
bool bottomLeftOrigin=
false );
183 void appendToView(
const cv::Mat& _mat,
const cv::Scalar& _colMin,
const cv::Scalar& _colMax, u_int8_t _truncateLayerVal = 0);
189 static const cv::Scalar
red;
void line(T &map, const Point2D &p0, const Point2D &p1, const cv::Scalar &color, int thickness=1, int lineType=cv::LINE_AA) const
std::shared_ptr< Figure > FigurePtr
Prototype.
std::shared_ptr< Figure const > FigureConstPtr
void init()
initializes the transformation matrices
void circle(T &map, const Point2D &p, int radius, const cv::Scalar &color, int thickness=1, int lineType=cv::LINE_AA) const
tuw_geometry
Author(s): Markus Bader
autogenerated on Sun Feb 26 2023 03:25:40