42 #include <visp/vpConfig.h>
44 #if ( defined(VISP_HAVE_GDI) || defined(VISP_HAVE_D3D9) )
46 #ifndef vpWin32Renderer_HH
47 #define vpWin32Renderer_HH
49 #ifndef DOXYGEN_SHOULD_SKIP_THIS
51 #include <visp/vpImage.h>
52 #include <visp/vpColor.h>
54 #include <visp/vpDebug.h>
56 class VISP_EXPORT vpWin32Renderer
66 virtual ~vpWin32Renderer() {};
69 unsigned int getImageWidth(){
return nbCols; }
70 unsigned int getImageHeight(){
return nbRows; }
75 virtual bool init(HWND hWnd,
unsigned int w,
unsigned int h) =0;
78 virtual bool render() =0;
110 const vpColor &color,
unsigned int thickness,
int style=PS_SOLID) =0;
123 unsigned int width,
unsigned int height,
124 const vpColor &color,
bool fill=
false,
125 unsigned int thickness=1) =0;
131 virtual void clear(
const vpColor &color) =0;
140 virtual void drawCircle(
const vpImagePoint ¢er,
unsigned int radius,
141 const vpColor &color,
bool fill,
unsigned int thickness=1) =0;
150 virtual void drawText(
const vpImagePoint &ip,
const char * text,
161 virtual void drawCross(
const vpImagePoint &ip,
unsigned int size,
162 const vpColor &color,
unsigned int thickness=1) =0;
176 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 ...