9 #ifndef CEnhancedMetaFile_H
10 #define CEnhancedMetaFile_H
71 size_t getWidth()
const override {
return 640; }
123 const std::string& fontName,
int fontSize,
bool bold =
false,
124 bool italic =
false);
141 float scale)
override
157 unsigned int width = 1);
176 float confIntervalStds = 2,
178 unsigned int width = 1,
int nEllipsePoints = 20)
181 int x1 = 0, y1 = 0, x2 = 0, y2 = 0;
187 cov2D->eigenVectors(eigVec, eigVal);
193 for (i = 0, ang = 0; i < nEllipsePoints;
194 i++, ang += (
M_2PI / (nEllipsePoints - 1)))
196 float ccos = cos(ang);
197 float ssin = sin(ang);
200 mean_x + confIntervalStds * (ccos * M(0, 0) + ssin * M(1, 0)));
202 mean_y + confIntervalStds * (ccos * M(0, 1) + ssin * M(1, 1)));
211 std::cout <<
"Covariance matrix leading to error is:" << std::endl
212 << *cov2D << std::endl;);
A matrix of dynamic size.
This virtual class defines the interface of any object accepting drawing primitives on it.
TPenStyle
Definition of pen styles.
virtual void drawImage(int x, int y, const utils::CImage &img)
Draws an image as a bitmap at a given position.
A class for storing images as grayscale or RGB bitmaps.
GLenum GLenum GLenum GLenum GLenum scale
GLsizei const GLfloat * value
GLsizei const GLchar ** string
int round(const T value)
Returns the closer integer (int) to x.
#define MRPT_END_WITH_CLEAN_UP(stuff)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.