Go to the documentation of this file.
69 size_t getWidth ()
const override {
return 640; }
121 const std::string & fontName,
int fontSize,
bool bold =
false ,
122 bool italic =
false );
139 float scale )
override
155 unsigned int width = 1);
174 float confIntervalStds = 2,
176 unsigned int width = 1,
int nEllipsePoints = 20)
179 int x1 = 0, y1 = 0, x2 = 0, y2 = 0;
185 cov2D->eigenVectors(eigVec, eigVal);
191 for (i = 0, ang = 0; i < nEllipsePoints;
192 i++, ang += (
M_2PI / (nEllipsePoints - 1)))
194 float ccos = cos(ang);
195 float ssin = sin(ang);
198 mean_x + confIntervalStds * (ccos * M(0, 0) + ssin * M(1, 0)));
200 mean_y + confIntervalStds * (ccos * M(0, 1) + ssin * M(1, 1)));
209 std::cout <<
"Covariance matrix leading to error is:" << std::endl
210 << *cov2D << std::endl;);
#define MRPT_END_WITH_CLEAN_UP(stuff)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A matrix of dynamic size.
This virtual class defines the interface of any object accepting drawing primitives on it.
int round(const T value)
Returns the closer integer (int) to x.
A class for storing images as grayscale or RGB bitmaps.
GLenum GLenum GLenum GLenum GLenum scale
virtual void drawImage(int x, int y, const mrpt::img::CImage &img)
Draws an image as a bitmap at a given position.
GLsizei const GLfloat * value
GLsizei const GLchar ** string
TPenStyle
Definition of pen styles.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST