Implements the functionalities of a thermal source. More...
#include <stdr_gui_thermal_source.h>
Public Member Functions | |
CGuiThermalSource (QPoint p, std::string name, float resolution) | |
Default contructor. | |
bool | checkProximity (QPoint p) |
Checks proximity to a point. | |
void | draw (QImage *img) |
Draws the tag in the map. | |
float | getDegrees (void) |
Returns the tag message. | |
std::string | getName (void) |
Returns the "name" of the rfid tag. | |
void | setDegrees (float degrees) |
Sets the tag message. | |
~CGuiThermalSource (void) | |
Default destructor. | |
Private Attributes | |
float | degrees_ |
The OGM resolution. | |
std::string | name_ |
The message of the rfid tag. | |
QPoint | position_ |
< The position of the rfid tag in the map | |
float | resolution_ |
Implements the functionalities of a thermal source.
Definition at line 38 of file stdr_gui_thermal_source.h.
stdr_gui::CGuiThermalSource::CGuiThermalSource | ( | QPoint | p, |
std::string | name, | ||
float | resolution | ||
) |
Default contructor.
p | [QPoint] The pose of the rfid tag |
name | [std::string] The "name" of the rfid tag |
resolution | [float] The map's resolution |
p | [QPoint] The pose of the rfid tag |
name | [std::string] The "name" of the rfid tag |
Definition at line 32 of file stdr_gui_thermal_source.cpp.
bool stdr_gui::CGuiThermalSource::checkProximity | ( | QPoint | p | ) |
Checks proximity to a point.
p | [QPoint] The proximity point to check |
Definition at line 65 of file stdr_gui_thermal_source.cpp.
void stdr_gui::CGuiThermalSource::draw | ( | QImage * | img | ) |
Draws the tag in the map.
img | [QImage*] The image to draw to |
Definition at line 78 of file stdr_gui_thermal_source.cpp.
float stdr_gui::CGuiThermalSource::getDegrees | ( | void | ) |
Returns the tag message.
Definition at line 134 of file stdr_gui_thermal_source.cpp.
std::string stdr_gui::CGuiThermalSource::getName | ( | void | ) |
Returns the "name" of the rfid tag.
Definition at line 55 of file stdr_gui_thermal_source.cpp.
void stdr_gui::CGuiThermalSource::setDegrees | ( | float | degrees | ) |
Sets the tag message.
msg | [QString] The message to be set |
Definition at line 125 of file stdr_gui_thermal_source.cpp.
float stdr_gui::CGuiThermalSource::degrees_ [private] |
The OGM resolution.
Definition at line 48 of file stdr_gui_thermal_source.h.
std::string stdr_gui::CGuiThermalSource::name_ [private] |
The message of the rfid tag.
Definition at line 46 of file stdr_gui_thermal_source.h.
QPoint stdr_gui::CGuiThermalSource::position_ [private] |
< The position of the rfid tag in the map
The "name" of the rfid tag
Definition at line 44 of file stdr_gui_thermal_source.h.
float stdr_gui::CGuiThermalSource::resolution_ [private] |
Definition at line 49 of file stdr_gui_thermal_source.h.