177 virtual void clear();
183 void label(
const std::string &primitiveLabel);
189 void color(
int r,
int g,
int b,
int a=255);
193 template<
class VectorType>
194 inline void color(
const VectorType &c){
195 color(c[0],c[1],c[2],c[3]);
204 void pen(
const QPen &pen);
208 void fill(
int r,
int g,
int b,
int a=255);
213 template<
class VectorType>
214 inline void fill(
const VectorType &c){
215 fill(c[0],c[1],c[2],c[3]);
225 void brush(
const QBrush &brush);
233 inline void sym(
char s,
int symsize){
235 this->symsize(symsize);
242 void linewidth(
float width);
245 void symsize(
float size);
260 void scatter(
const T *xs,
const T *ys,
int num,
int xStride = 1,
int yStride=1,
bool connect=
false);
263 inline void scatter(
const std::vector<utils::Point32f> &ps,
bool connect=
false){
264 scatter(&ps[0].x, &ps[0].y, ps.size(), 2, 2, connect);
268 inline void scatter(
const std::vector<utils::Point> &ps,
bool connect=
false){
269 scatter(&ps[0].x, &ps[0].y, ps.size(), 2, 2, connect);
275 scatter(&ps[0][0],&ps[0][1], num, 2, 2, connect);
280 scatter(&ps[0][0],&ps[0][1], num, 2, 2, connect);
294 void series(
const T *
data,
int num,
int stride=1);
299 series(
data.data(),
data.size(), 1);
307 for(
size_t i=1; i< size();++i){
308 this->operator[](i-1) = this->operator[](i);
326 void bars(
const T *
data,
int num,
int stride=1);
338 inline void line(
float x1,
float y1,
float x2,
float y2){
343 void linestrip(
const std::vector<utils::Point32f> &ps,
bool closedLoop=
true);
346 void linestrip(
const std::vector<utils::Point> &ps,
bool closedLoop=
true);
355 void linestrip(
const float *xs,
const float *ys,
int num,
bool closedLoop=
true,
int stride = 1);
367 void rect(
float x,
float y,
float w,
float h);
373 void circle(
float cx,
float cy,
float r);
377 void text(
float x,
float y,
const std::string &
text);
384 void grid(
int nX,
int nY,
const float *xs,
const float *ys,
int stride=1);
395 inline void grid(
int nX,
int nY,
const float *xys){
396 grid(nX,nY,xys, xys+1,2);
406 grid(nX, nY, &ps[0].x, &ps[0].y, 2);
410 inline void grid(
int nX,
int nY,
const std::vector<utils::Point32f> &ps){
411 grid(nX, nY, &ps[0].x, &ps[0].y, 2);
415 inline void grid(
int nX,
int nY,
const std::vector<utils::Point> &ps){
420 inline void grid(
int nX,
int nY,
const std::vector<float> &xys){
421 grid(nX, nY, xys.data(), xys.data()+1,2);
425 inline void grid(
int nX,
int nY,
const std::vector<float> &xs,
const std::vector<float> &ys){
426 grid(nX, nY, xs.data(), ys.data());
438 void title(
const std::string &title){
439 setPropertyValue(
"labels.diagramm",title);
444 setPropertyValue(
"labels.x-axis",xlabel);
449 setPropertyValue(
"labels.y-axis",ylabel);
Powerful and highly flexible matrix class implementation.
Definition: FixedMatrix.h:172
undocument this line if you encounter any issues!
Definition: Any.h:37
ICLQt_API void text(ImgQ &image, int x, int y, const string &text)
renders a text into an image (only available with Qt-Support)
ICLQt_API void line(ImgQ &image, int x1, int y1, int x2, int y2)
draws a line into an image
Floating point precision implementation of the Rect class.
Definition: Rect32f.h:45
ICLQt_API ImgROI data(ImgQ &r)
creates full ROI ROI-struct
ICLQt_API void linestrip(ImgQ &image, const std::vector< utils::Point > &pts, bool closeLoop=true)
draws a strip of connected lines
ICLQt_API ImgQ label(const ImgQ &image, const string &text)
labels an image in the upper left corner (only available with Qt-Support)
ICLQt_API void fill(float r, float g=-1, float b=-1, float alpha=255)
sets the current fill color to given r,g,b,alpha value
Abstract class for visualization tasks.
Definition: VisualizationDescription.h:73
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
Simple 2D-Array class that provides shallow copy per default.
Definition: Array2D.h:61
#define ICLQt_API
Definition: CompatMacros.h:178
Point class of the ICL used e.g. for the Images ROI offset.
Definition: Point.h:58
ICLQt_API void color(float r, float g=-1, float b=-1, float alpha=255)
sets the current color to given r,g,b,alpha value
ICLQt_API void circle(ImgQ &image, int x, int y, int r)
renders a filled circle into an image
ICLQt_API void rect(ImgQ &image, int x, int y, int w, int h, int rounding=0)
draws a rect into an image
Rectangle class of the ICL used e.g. for the Images ROI-rect.
Definition: Rect.h:95