Implements the functionalities of a source, to be derived by specific source types.
More...
#include <stdr_gui_source.h>
Implements the functionalities of a source, to be derived by specific source types.
Definition at line 40 of file stdr_gui_source.h.
stdr_gui::CGuiSource::CGuiSource |
( |
QPoint |
p, |
|
|
std::string |
name, |
|
|
float |
resolution |
|
) |
| |
Default contructor.
- Parameters
-
p | [QPoint] The pose of the source |
name | [std::string] The "name" of the source |
resolution | [float] The map's resolution |
- Returns
- void
- Parameters
-
p | [QPoint] The pose of the rfid tag |
name | [std::string] The "name" of the rfid tag |
- Returns
- void
Definition at line 32 of file stdr_gui_source.cpp.
stdr_gui::CGuiSource::~CGuiSource |
( |
void |
| ) |
|
|
virtual |
bool stdr_gui::CGuiSource::checkProximity |
( |
QPoint |
p | ) |
|
|
virtual |
Checks proximity to a point.
- Parameters
-
p | [QPoint] The proximity point to check |
- Returns
- bool : True if source is close to p
- Parameters
-
p | [QPoint] The proximity point to check |
- Returns
- bool : True if tag is close to p
Definition at line 63 of file stdr_gui_source.cpp.
virtual void stdr_gui::CGuiSource::draw |
( |
QImage * |
img | ) |
|
|
pure virtual |
std::string stdr_gui::CGuiSource::getName |
( |
void |
| ) |
|
std::string stdr_gui::CGuiSource::name_ |
|
protected |
QPoint stdr_gui::CGuiSource::position_ |
|
protected |
< The position of the source in the map
The "name" of the source tag
Definition at line 45 of file stdr_gui_source.h.
float stdr_gui::CGuiSource::resolution_ |
|
protected |
The documentation for this class was generated from the following files: