#include <RadarCanvas.hpp>
|
| void | mousePressEvent (QMouseEvent *event) override |
| | overriding the mousePressEvent virtual function More...
|
| |
| void | paintEvent (QPaintEvent *event) override |
| | overriding the paintEvent virtual function. More...
|
| |
| void | resizeEvent (QResizeEvent *event) override |
| | overriding the resizeEvent virtual function. More...
|
| |
Definition at line 43 of file RadarCanvas.hpp.
◆ RadarCanvas()
| rqt_human_radar::RadarCanvas::RadarCanvas |
( |
QWidget * |
parent, |
|
|
Ui::RadarTabs * |
ui |
|
) |
| |
◆ ~RadarCanvas()
| rqt_human_radar::RadarCanvas::~RadarCanvas |
( |
| ) |
|
|
virtual |
◆ inScreen()
| bool rqt_human_radar::RadarCanvas::inScreen |
( |
double & |
x, |
|
|
double & |
y |
|
) |
| const |
|
private |
returns whether or not a point is inside the canvas.
Definition at line 371 of file RadarCanvas.cpp.
◆ mousePressEvent()
| void rqt_human_radar::RadarCanvas::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
overriding the mousePressEvent virtual function
Inherited from QWidget. Stores the id of the person icon the user has clicked on, if any.
Definition at line 362 of file RadarCanvas.cpp.
◆ paintEvent()
| void rqt_human_radar::RadarCanvas::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
overriding the paintEvent virtual function.
Inherited from QWidget. Paints the entire radar canvas.
Definition at line 108 of file RadarCanvas.cpp.
◆ resizeEvent()
| void rqt_human_radar::RadarCanvas::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
overrideprotected |
overriding the resizeEvent virtual function.
Inherited from QWidget. Updates some painting parameters according to the new size of the window.
Definition at line 345 of file RadarCanvas.cpp.
◆ showId
| void rqt_human_radar::RadarCanvas::showId |
( |
| ) |
|
|
slot |
Reading the user preference about showing or not people ID.
The preference is expressed in settings, through a tick-box. Currently, person ID = <body_id>
Definition at line 357 of file RadarCanvas.cpp.
◆ updateArcsToDraw()
| void rqt_human_radar::RadarCanvas::updateArcsToDraw |
( |
| ) |
|
|
private |
updates the number of arcs to draw.
The numbers of arcs to draw is defined by the current size of the canvas.
Definition at line 375 of file RadarCanvas.cpp.
◆ updatePixelPerMeter
| void rqt_human_radar::RadarCanvas::updatePixelPerMeter |
( |
| ) |
|
|
slot |
◆ anglesFont_
| QFont rqt_human_radar::RadarCanvas::anglesFont_ |
|
private |
◆ arcsToDraw_
| int rqt_human_radar::RadarCanvas::arcsToDraw_ |
|
private |
◆ evenBrush_
| QBrush rqt_human_radar::RadarCanvas::evenBrush_ |
|
private |
◆ font_
| QFont rqt_human_radar::RadarCanvas::font_ |
|
private |
◆ hriListener_
◆ idClicked_
| std::string rqt_human_radar::RadarCanvas::idClicked_ |
|
private |
◆ oddBrush_
| QBrush rqt_human_radar::RadarCanvas::oddBrush_ |
|
private |
◆ package_
| std::string rqt_human_radar::RadarCanvas::package_ |
|
private |
◆ peoplePosition_
| std::map<std::string, QPolygon> rqt_human_radar::RadarCanvas::peoplePosition_ |
|
private |
◆ personImageFound
| bool rqt_human_radar::RadarCanvas::personImageFound |
|
private |
◆ personSvgFile_
| std::string rqt_human_radar::RadarCanvas::personSvgFile_ |
|
private |
◆ pixelPerMeter_
| int rqt_human_radar::RadarCanvas::pixelPerMeter_ |
|
private |
◆ rangePen_
| QPen rqt_human_radar::RadarCanvas::rangePen_ |
|
private |
◆ referenceFrame_
| std::string rqt_human_radar::RadarCanvas::referenceFrame_ |
|
private |
◆ robotImage_
| QImage rqt_human_radar::RadarCanvas::robotImage_ |
|
private |
◆ robotImageFile_
| std::string rqt_human_radar::RadarCanvas::robotImageFile_ |
|
private |
◆ robotImageFound
| bool rqt_human_radar::RadarCanvas::robotImageFound |
|
private |
◆ showIdValue_
| Qt::CheckState rqt_human_radar::RadarCanvas::showIdValue_ |
|
private |
◆ svgRenderer_
| QSvgRenderer rqt_human_radar::RadarCanvas::svgRenderer_ |
|
private |
◆ svgRendererInitialized_
| bool rqt_human_radar::RadarCanvas::svgRendererInitialized_ |
|
private |
◆ tfListener_
◆ timer_
| QTimer* rqt_human_radar::RadarCanvas::timer_ |
|
private |
◆ ui_
| Ui::RadarTabs* rqt_human_radar::RadarCanvas::ui_ |
|
private |
◆ versor_
| geometry_msgs::Vector3Stamped rqt_human_radar::RadarCanvas::versor_ |
|
private |
◆ widget_
| QWidget* rqt_human_radar::RadarCanvas::widget_ |
|
private |
◆ xOffset_
| double rqt_human_radar::RadarCanvas::xOffset_ |
|
private |
◆ yOffset_
| double rqt_human_radar::RadarCanvas::yOffset_ |
|
private |
The documentation for this class was generated from the following files: