33 #define NOMINMAX // needed for Win32 in order to not define min, max as macros 38 #include <QtOpenGL/QGLWidget> 62 virtual void color(
float r,
float g,
float b,
float a=255);
63 virtual void fill(
float r,
float g,
float b,
float a=255);
65 virtual void font(std::string name,
70 virtual void linewidth(
float w);
71 virtual void pointsize(
float s);
88 virtual void bci(
float brightness=0,
float contrast=0,
float intensity=0);
89 virtual void bciAuto();
91 virtual void getColor(
float *piColor);
92 virtual void getFill(
float *piColor);
95 return m_font.pointSize();
113 void setPackAlignment(
core::depth d,
int linewidth);
114 void setupPixelTransfer(
core::depth d,
float brightness,
float contrast,
float intensity);
120 float m_linecolor[4];
121 float m_fillcolor[4];
Definition: PaintEngine.h:53
bool m_bciauto
Definition: GLPaintEngine.h:123
Definition: PaintEngine.h:54
virtual float getLineWidth() const
Definition: GLPaintEngine.h:97
undocument this line if you encounter any issues!
Definition: Any.h:37
ICLQt_API void triangle(ImgQ &image, int x1, int y1, int x2, int y2, int x3, int y3)
draws a triangle into an image
TextWeight
Definition: PaintEngine.h:53
ICLQt_API void fontsize(int size)
sets up current fontsize (only available with Qt-Support)
float m_linewidth
Definition: GLPaintEngine.h:118
float m_pointsize
Definition: GLPaintEngine.h:119
virtual float getPointSize() const
Definition: GLPaintEngine.h:100
virtual float getFontSize() const
Definition: GLPaintEngine.h:94
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
virtual icl::utils::Size getSize()
Definition: GLPaintEngine.h:103
ICLQt_API void font(int size, const string &family="Arial")
sets up the current font (only available with Qt-Support)
Floating point precision implementation of the Rect class.
Definition: Rect32f.h:45
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
Size class of the ICL.
Definition: Size.h:61
Definition: PaintEngine.h:52
scalemode
for scaling of Img images theses functions are provided
Definition: Types.h:84
depth
determines the pixel type of an image (8Bit-int or 32Bit-float)
Definition: Types.h:60
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
#define ICLQt_API
Definition: CompatMacros.h:178
core::ImgBase * m_incompDepthBuf
Definition: GLPaintEngine.h:128
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
QFont m_font
Definition: GLPaintEngine.h:125
pure virtual Paint engine interface
Definition: PaintEngine.h:49
Definition: PaintEngine.h:52
Paint engine to be used in QGLWigets for a high performance image visualization.
Definition: GLPaintEngine.h:56
ICLQt_API void rect(ImgQ &image, int x, int y, int w, int h, int rounding=0)
draws a rect into an image
Size32f class of the ICL (float valued)
Definition: Size32f.h:40
TextStyle
Definition: PaintEngine.h:54
AlignMode
Definition: PaintEngine.h:52
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
QGLWidget * m_widget
Definition: GLPaintEngine.h:116