Definition at line 66 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. | |
Public Attributes | |
float | m_x |
float | m_y |
2D Coordinates of detected object | |
float | m_height |
float | m_width |
Size of detected object. | |
RTTI stuff | |
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 |
Returns information about the class of an object in runtime. | |
virtual mrpt::utils::CObject * | duplicate () const |
Returns a copy of the object, indepently of its class. | |
static mrpt::utils::CObject * | CreateObject () |
static CDetectable2DPtr | Create () |
A typedef for the associated smart pointer
Reimplemented in mrpt::detectors::CDetectable3D.
Definition at line 68 of file CDetectableObject.h.
mrpt::detectors::CDetectable2D::CDetectable2D | ( | const int & | x = 0 , |
const int & | y = 0 , |
||
const int & | height = 0 , |
||
const int & | width = 0 |
||
) | [inline] |
Extra constructor.
Definition at line 76 of file CDetectableObject.h.
mrpt::detectors::CDetectable2D::CDetectable2D | ( | const CDetectable2D * | d | ) | [inline] |
Copy pointer content constructor.
Definition at line 81 of file CDetectableObject.h.
static const mrpt::utils::TRuntimeClassId* mrpt::detectors::CDetectable2D::_GetBaseClass | ( | ) | [static, protected] |
Reimplemented from mrpt::detectors::CDetectableObject.
Reimplemented in mrpt::detectors::CDetectable3D.
static CDetectable2DPtr mrpt::detectors::CDetectable2D::Create | ( | ) | [static] |
Reimplemented in mrpt::detectors::CDetectable3D.
static mrpt::utils::CObject* mrpt::detectors::CDetectable2D::CreateObject | ( | ) | [static] |
Reimplemented in mrpt::detectors::CDetectable3D.
double mrpt::detectors::CDetectable2D::distanceTo | ( | const CDetectable2D & | d2 | ) | [inline] |
virtual mrpt::utils::CObject* mrpt::detectors::CDetectable2D::duplicate | ( | ) | const [virtual] |
Returns a copy of the object, indepently of its class.
Implements mrpt::utils::CObject.
Reimplemented in mrpt::detectors::CDetectable3D.
virtual const mrpt::utils::TRuntimeClassId* mrpt::detectors::CDetectable2D::GetRuntimeClass | ( | ) | const [virtual] |
Returns information about the class of an object in runtime.
Reimplemented from mrpt::detectors::CDetectableObject.
Reimplemented in mrpt::detectors::CDetectable3D.
mrpt::utils::CLASSINIT mrpt::detectors::CDetectable2D::_init_CDetectable2D [static, protected] |
Definition at line 68 of file CDetectableObject.h.
Definition at line 68 of file CDetectableObject.h.
Reimplemented in mrpt::detectors::CDetectable3D.
Definition at line 68 of file CDetectableObject.h.
Definition at line 73 of file CDetectableObject.h.
Referenced by distanceTo().
Size of detected object.
Definition at line 73 of file CDetectableObject.h.
Referenced by distanceTo().
Definition at line 72 of file CDetectableObject.h.
Referenced by distanceTo().
2D Coordinates of detected object
Definition at line 72 of file CDetectableObject.h.
Referenced by distanceTo().
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:16:28 UTC 2011 |