67 size_t getWidth()
const override {
return 640; }
119 const std::string& fontName,
int fontSize,
bool bold =
false,
120 bool italic =
false);
137 float scale)
override 153 unsigned int width = 1);
172 float confIntervalStds = 2,
174 unsigned int width = 1,
int nEllipsePoints = 20)
177 int x1 = 0, y1 = 0, x2 = 0, y2 = 0;
183 cov2D->eigenVectors(eigVec, eigVal);
189 for (i = 0, ang = 0; i < nEllipsePoints;
190 i++, ang += (
M_2PI / (nEllipsePoints - 1)))
192 float ccos = cos(ang);
193 float ssin = sin(ang);
196 mean_x + confIntervalStds * (ccos * M(0, 0) + ssin * M(1, 0)));
198 mean_y + confIntervalStds * (ccos * M(0, 1) + ssin * M(1, 1)));
207 std::cout <<
"Covariance matrix leading to error is:" << std::endl
208 << *cov2D << std::endl;);
This virtual class defines the interface of any object accepting drawing primitives on it...
TPenStyle
Definition of pen styles.
GLenum GLenum GLenum GLenum GLenum scale
#define MRPT_END_WITH_CLEAN_UP(stuff)
GLsizei const GLchar ** string
A matrix of dynamic size.
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
A class for storing images as grayscale or RGB bitmaps.
int round(const T value)
Returns the closer integer (int) to x.