class mrpt::detectors::CDetectable3D

Overview

#include <mrpt/detectors/CDetectableObject.h>

class CDetectable3D: public mrpt::detectors::CDetectable2D
{
public:
    // fields

    float m_z;
    float m_y;
    float m_width;

    // construction

    CDetectable3D();
    CDetectable3D(const CDetectable2D::Ptr& object2d);
    CDetectable3D(const CDetectable3D* d);
};

Inherited Members

public:
    // fields

    float m_x;
    float m_height;
    std::string m_id;
    mrpt::obs::CObservation::Ptr obs;

    // methods

    void setObservation(mrpt::obs::CObservation::Ptr newObs);
    double distanceTo(const CDetectable2D& d2);

Fields

float m_z

Z coordinate of detected object.

Construction

CDetectable3D(const CDetectable3D* d)

Copy pointer content constructor.