#include <mrpt/opengl/CEllipsoid.h>
Public Member Functions | |
void | render () |
Render. | |
Static Public Member Functions | |
static CEllipsoidPtr | Create () |
Class factory. | |
Public Attributes | |
math::CMatrixD | m_cov |
The 2x2 or 3x3 covariance matrix that will determine the aspect of the ellipsoid. | |
bool | m_drawSolid3D |
If set to true (default), a whole ellipsoid surface will be drawn, or if set to "false" it will be drawn as a "wireframe". | |
float | m_quantiles |
The number of "sigmas" for drawing the ellipse/ellipsoid (default=3). | |
unsigned int | m_2D_segments |
The number of segments of a 2D ellipse (default=20). | |
unsigned int | m_3D_segments |
The number of segments of a 3D ellipse (in both "axis") (default=20). | |
float | m_lineWidth |
The line width for 2D ellipses or 3D wireframe ellipsoids (default=1). | |
Private Member Functions | |
CEllipsoid () | |
Constructor. | |
virtual | ~CEllipsoid () |
Private, virtual destructor: only can be deleted from smart pointers. | |
Private Attributes | |
math::CMatrixD | m_eigVal |
Used to store computed values the first time this is rendered, and to avoid recomputing them again. | |
math::CMatrixD | m_eigVec |
math::CMatrixD | m_prevComputedCov |
The center of the ellipsoid is the "m_x,m_y,m_z" object's coordinates. In the case of a 2D ellipse it will be drawn in the XY plane, for z=0. 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.
Definition at line 50 of file CEllipsoid.h.
mrpt::opengl::CEllipsoid::CEllipsoid | ( | ) | [inline, private] |
virtual mrpt::opengl::CEllipsoid::~CEllipsoid | ( | ) | [inline, private, virtual] |
Private, virtual destructor: only can be deleted from smart pointers.
Definition at line 102 of file CEllipsoid.h.
static CEllipsoidPtr mrpt::opengl::CEllipsoid::Create | ( | ) | [inline, static] |
void mrpt::opengl::CEllipsoid::render | ( | ) | [virtual] |
unsigned int mrpt::opengl::CEllipsoid::m_2D_segments |
unsigned int mrpt::opengl::CEllipsoid::m_3D_segments |
The number of segments of a 3D ellipse (in both "axis") (default=20).
Definition at line 74 of file CEllipsoid.h.
The 2x2 or 3x3 covariance matrix that will determine the aspect of the ellipsoid.
Definition at line 62 of file CEllipsoid.h.
If set to true (default), a whole ellipsoid surface will be drawn, or if set to "false" it will be drawn as a "wireframe".
Definition at line 65 of file CEllipsoid.h.
Used to store computed values the first time this is rendered, and to avoid recomputing them again.
Definition at line 57 of file CEllipsoid.h.
Definition at line 57 of file CEllipsoid.h.
The line width for 2D ellipses or 3D wireframe ellipsoids (default=1).
Definition at line 77 of file CEllipsoid.h.
Definition at line 57 of file CEllipsoid.h.
The number of "sigmas" for drawing the ellipse/ellipsoid (default=3).
Definition at line 68 of file CEllipsoid.h.
Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN:exported at Mon Jan 12 13:00:16 UTC 2009 |