class mrpt::viz::CEllipsoidRangeBearing2D

Overview

An especial “ellipsoid” in 2D computed as the uncertainty iso-surfaces of a (range,bearing) variable.

The parameter space of this ellipsoid comprises these variables (in this order):

  • range: Distance from sensor to feature.

  • bearing: Angle from +X to the line that goes from the sensor towards the feature.

This class expects you to provide a mean vector of length 2 and a 2x2 covariance matrix, set with setCovMatrixAndMean().

Please read the documentation of CGeneralizedEllipsoidTemplate::setQuantiles() for learning the mathematical details about setting the desired confidence interval.

mrpt::viz::CEllipsoidRangeBearing2D mrpt::viz::CEllipsoidRangeBearing2D mrpt::viz::CEllipsoidRangeBearing2D mrpt::viz::CEllipsoidRangeBearing2D
#include <mrpt/viz/CEllipsoidRangeBearing2D.h>

class CEllipsoidRangeBearing2D:
    public mrpt::viz::CGeneralizedEllipsoidTemplate,
    public mrpt::viz::CVisualObject
{
public:
    // construction

    CEllipsoidRangeBearing2D();
};

Inherited Members

public:
    // structs

    struct OutdatedState;
    struct State;

    // methods

    void setLineWidth(float w);
    float getLineWidth() const;
    void enableAntiAliasing(bool enable = true);
    bool isAntiAliasingEnabled() const;

Construction

CEllipsoidRangeBearing2D()

Constructor.