class mrpt::viz::CEllipsoid3D
Overview
A 3D ellipsoid, centered at zero with respect to this object pose.
The color is determined by the RGBA fields in the class “CRenderizable”. Note that a transparent ellipsoid can be drawn for “0<alpha<1” values. If any of the eigen values of the covariance matrix of the ellipsoid is zero, nothing will be rendered.
Please read the documentation of CGeneralizedEllipsoidTemplate::setQuantiles() for learning the mathematical details about setting the desired confidence interval.
See also:
#include <mrpt/viz/CEllipsoid3D.h> class CEllipsoid3D: public mrpt::viz::CGeneralizedEllipsoidTemplate { public: // construction CEllipsoid3D(); // methods void set3DsegmentsCount(unsigned int N); virtual bool traceRay(const mrpt::poses::CPose3D& o, double& dist) const; };
Inherited Members
public: // structs struct OutdatedState; struct State; // methods void setLineWidth(float w); float getLineWidth() const; void enableAntiAliasing(bool enable = true); bool isAntiAliasingEnabled() const;
Methods
void set3DsegmentsCount(unsigned int N)
The number of segments of a 3D ellipse (in both “axes”) (default=20)
virtual bool traceRay(const mrpt::poses::CPose3D& o, double& dist) const
Ray tracing.