Definition at line 49 of file CDetectableObject.h.
#include <mrpt/detectors/CDetectableObject.h>
Public Member Functions | |
CDetectable2D (const int &x=0, const int &y=0, const int &height=0, const int &width=0) | |
Extra constructor. | |
CDetectable2D (const CDetectable2D *d) | |
Copy pointer content constructor. | |
double | distanceTo (const CDetectable2D &d2) |
Compute distance between centers of two detectable 2D objects. | |
void | setObservation (mrpt::obs::CObservationPtr newObs) |
Public Attributes | |
float | m_x |
float | m_y |
2D Coordinates of detected object | |
float | m_height |
float | m_width |
Size of detected object. | |
std::string | m_id |
Must be an unique id for each detectable object. | |
mrpt::obs::CObservationPtr | obs |
Observation wich contain the deteted object. | |
Static Public Attributes | |
RTTI stuff <br> | |
static const mrpt::utils::TRuntimeClassId | classCDetectableObject |
Protected Member Functions | |
CSerializable virtual methods | |
void | writeToStream (mrpt::utils::CStream &out, int *getVersion) const MRPT_OVERRIDE |
void | readFromStream (mrpt::utils::CStream &in, int version) MRPT_OVERRIDE |
RTTI stuff <br> | |
typedef CDetectable2DPtr | SmartPtr |
static mrpt::utils::CLASSINIT | _init_CDetectable2D |
static mrpt::utils::TRuntimeClassId | classCDetectable2D |
static const mrpt::utils::TRuntimeClassId * | classinfo |
static const mrpt::utils::TRuntimeClassId * | _GetBaseClass () |
virtual const mrpt::utils::TRuntimeClassId * | GetRuntimeClass () const MRPT_OVERRIDE |
virtual mrpt::utils::CObject * | duplicate () const MRPT_OVERRIDE |
static mrpt::utils::CObject * | CreateObject () |
static CDetectable2DPtr | Create () |
A typedef for the associated smart pointer
Definition at line 51 of file CDetectableObject.h.
|
inline |
Extra constructor.
Definition at line 59 of file CDetectableObject.h.
|
inline |
Copy pointer content constructor.
Definition at line 64 of file CDetectableObject.h.
|
staticprotected |
|
static |
|
static |
|
inline |
|
virtual |
Reimplemented in mrpt::detectors::CDetectable3D.
|
virtual |
Reimplemented from mrpt::detectors::CDetectableObject.
Reimplemented in mrpt::detectors::CDetectable3D.
|
protected |
|
inlineinherited |
Definition at line 41 of file CDetectableObject.h.
|
protected |
|
staticprotected |
Definition at line 51 of file CDetectableObject.h.
|
static |
Definition at line 51 of file CDetectableObject.h.
|
staticinherited |
Definition at line 33 of file CDetectableObject.h.
|
static |
Definition at line 51 of file CDetectableObject.h.
float mrpt::detectors::CDetectable2D::m_height |
Definition at line 56 of file CDetectableObject.h.
Referenced by distanceTo().
|
inherited |
Must be an unique id for each detectable object.
Definition at line 37 of file CDetectableObject.h.
float mrpt::detectors::CDetectable2D::m_width |
Size of detected object.
Definition at line 56 of file CDetectableObject.h.
Referenced by distanceTo().
float mrpt::detectors::CDetectable2D::m_x |
Definition at line 55 of file CDetectableObject.h.
Referenced by distanceTo().
float mrpt::detectors::CDetectable2D::m_y |
2D Coordinates of detected object
Definition at line 55 of file CDetectableObject.h.
Referenced by distanceTo().
|
inherited |
Observation wich contain the deteted object.
Definition at line 39 of file CDetectableObject.h.
Page generated by Doxygen 1.9.8 for MRPT 1.4.0 SVN: at Thu Dec 14 16:54:58 UTC 2023 |