class mrpt::opengl::CEllipsoid3D¶
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/opengl/CEllipsoid3D.h> class CEllipsoid3D: public mrpt::opengl::CGeneralizedEllipsoidTemplate { public: // methods void set3DsegmentsCount(unsigned int N); virtual bool traceRay(const mrpt::poses::CPose3D& o, double& dist) const; };
Inherited Members¶
public: // structs struct RenderContext; // methods virtual void render(const RenderContext& rc) const = 0; virtual void renderUpdateBuffers() const = 0; virtual shader_list_t requiredShaders() const; virtual void getBoundingBox(mrpt::math::TPoint3D& bb_min, mrpt::math::TPoint3D& bb_max) const = 0; virtual void freeOpenGLResources() = 0; virtual void onUpdateBuffers_Triangles() = 0; virtual void onUpdateBuffers_Wireframe() = 0;
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.