38 #include <visp3/core/vpConfig.h>
40 #if ( defined(VISP_HAVE_GDI) || defined(VISP_HAVE_D3D9) )
42 #ifndef vpWin32Renderer_HH
43 #define vpWin32Renderer_HH
45 #ifndef DOXYGEN_SHOULD_SKIP_THIS
47 #include <visp3/core/vpImage.h>
48 #include <visp3/core/vpColor.h>
50 #include <visp3/core/vpDebug.h>
52 class VISP_EXPORT vpWin32Renderer
62 virtual ~vpWin32Renderer() {};
65 unsigned int getImageWidth(){
return nbCols; }
66 unsigned int getImageHeight(){
return nbRows; }
71 virtual bool init(HWND hWnd,
unsigned int w,
unsigned int h) =0;
74 virtual bool render() =0;
106 const vpColor &color,
unsigned int thickness,
int style=PS_SOLID) =0;
119 unsigned int width,
unsigned int height,
120 const vpColor &color,
bool fill=
false,
121 unsigned int thickness=1) =0;
127 virtual void clear(
const vpColor &color) =0;
136 virtual void drawCircle(
const vpImagePoint ¢er,
unsigned int radius,
137 const vpColor &color,
bool fill,
unsigned int thickness=1) =0;
146 virtual void drawText(
const vpImagePoint &ip,
const char * text,
157 virtual void drawCross(
const vpImagePoint &ip,
unsigned int size,
158 const vpColor &color,
unsigned int thickness=1) =0;
172 const vpColor &color,
unsigned int w,
unsigned int h,
unsigned int thickness) =0;
Class to define colors available for display functionnalities.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...