Fawkes API
Fawkes Development Version
|
This class is used to save old centroids in order to check for reappearance. More...
#include "tabletop_objects_thread.h"
Public Member Functions | |
OldCentroid (const unsigned int &id, const Eigen::Vector4f ¢roid) | |
Constructor. More... | |
OldCentroid (const OldCentroid &other) | |
Copy constructor. More... | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW unsigned int | getId () const |
get the ID of the centroid More... | |
const Eigen::Vector4f & | getCentroid () const |
get the position of the centroid More... | |
unsigned int | getAge () const |
get the age of the centroid More... | |
void | age () |
increment the age of the centroid More... | |
Protected Attributes | |
unsigned int | id_ |
The ID of the centroid. More... | |
unsigned int | age_ |
The number of loops the centroid has been invisible for. More... | |
Eigen::Vector4f | centroid_ |
The position of centroid. More... | |
This class is used to save old centroids in order to check for reappearance.
Definition at line 69 of file tabletop_objects_thread.h.
|
inline |
Constructor.
id | The ID which the centroid was assigned to |
centroid | The position of the centroid |
Definition at line 76 of file tabletop_objects_thread.h.
|
inline |
Copy constructor.
other | The other OldCentroid |
Definition at line 80 of file tabletop_objects_thread.h.
|
inline |
increment the age of the centroid
Definition at line 96 of file tabletop_objects_thread.h.
|
inline |
get the age of the centroid
Definition at line 94 of file tabletop_objects_thread.h.
|
inline |
get the position of the centroid
Definition at line 90 of file tabletop_objects_thread.h.
|
inline |
get the ID of the centroid
Definition at line 87 of file tabletop_objects_thread.h.
|
protected |
The number of loops the centroid has been invisible for.
Definition at line 102 of file tabletop_objects_thread.h.
|
protected |
The position of centroid.
Definition at line 104 of file tabletop_objects_thread.h.
|
protected |
The ID of the centroid.
Definition at line 100 of file tabletop_objects_thread.h.