9 #ifndef CEnhancedMetaFile_H 10 #define CEnhancedMetaFile_H 84 unsigned int width = 1,
109 virtual void selectVectorTextFont(
113 bool italic =
false );
141 virtual void rectangle(
147 unsigned int width = 1 );
164 float confIntervalStds = 2,
166 unsigned int width = 1,
167 int nEllipsePoints = 20
171 int x1=0,y1=0,x2=0,y2=0;
177 cov2D->eigenVectors(eigVec,eigVal);
183 for (i=0,ang=0;i<nEllipsePoints;i++,ang+= (
M_2PI/(nEllipsePoints-1)))
185 float ccos = cos(ang);
186 float ssin = sin(ang);
188 x2 =
round( mean_x + confIntervalStds * (ccos * M(0,0) + ssin * M(1,0)) );
189 y2 =
round( mean_y + confIntervalStds * (ccos * M(0,1) + ssin * M(1,1)) );
199 std::cout <<
"Covariance matrix leading to error is:" << std::endl << *cov2D << std::endl; \
#define MRPT_END_WITH_CLEAN_UP(stuff)
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
A class for storing images as grayscale or RGB bitmaps.
GLenum GLenum GLenum GLenum GLenum scale
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A matrix of dynamic size.
int round(const T value)
Returns the closer integer (int) to x.
This virtual class defines the interface of any object accepting drawing primitives on it...
virtual void drawImage(int x, int y, const utils::CImage &img)
Draws an image as a bitmap at a given position.