50 #include <visp/vpImage.h>
53 #include <visp/vpColor.h>
54 #include <visp/vpMouseButton.h>
55 #include <visp/vpRGBa.h>
56 #include <visp/vpHomogeneousMatrix.h>
57 #include <visp/vpCameraParameters.h>
58 #include <visp/vpRect.h>
59 #include <visp/vpImagePoint.h>
198 unsigned int w=4,
unsigned int h=2,
199 unsigned int thickness=1) =0;
211 virtual void displayCharString(
const vpImagePoint &ip,
const char *text,
222 virtual void displayCircle(
const vpImagePoint ¢er,
unsigned int radius,
225 unsigned int thickness=1) =0;
233 virtual void displayCross(
const vpImagePoint &ip,
unsigned int size,
235 unsigned int thickness=1) =0;
245 unsigned int thickness=1) =0;
255 unsigned int thickness=1) =0;
277 virtual void displayRectangle(
const vpImagePoint &topLeft,
278 unsigned int width,
unsigned int height,
279 const vpColor &color,
bool fill =
false,
280 unsigned int thickness=1)=0 ;
294 virtual void displayRectangle(
const vpImagePoint &topLeft,
296 const vpColor &color,
bool fill =
false,
297 unsigned int thickness=1 )=0;
311 virtual void displayRectangle(
const vpRect &rectangle,
312 const vpColor &color,
bool fill =
false,
313 unsigned int thickness=1)=0 ;
328 virtual void closeDisplay() =0;
356 virtual void displayImageROI(
const vpImage<vpRGBa> &I,
const vpImagePoint &iP,
const unsigned int width,
const unsigned int height) =0 ;
363 virtual void flushDisplay() =0;
369 virtual void flushDisplayROI(
const vpImagePoint &iP,
const unsigned int width,
const unsigned int height) =0;
389 virtual bool getClick(
bool blocking=
true) =0;
407 bool blocking=
true) =0;
428 bool blocking=
true) =0 ;
453 bool blocking=
true) =0;
470 virtual bool getKeyboardEvent(
bool blocking=
true) =0;
490 virtual bool getKeyboardEvent(
char *
string,
bool blocking=
true) =0;
501 virtual bool getPointerMotionEvent (
vpImagePoint &ip) =0;
519 inline unsigned int getHeight()
const {
return height ; }
524 inline unsigned int getWidth()
const {
return width ; }
535 const char *title=NULL) =0 ;
546 const char *title=NULL) =0 ;
555 virtual void init(
unsigned int width,
unsigned int height,
557 const char *title=NULL) =0;
579 virtual void setFont(
const char *font) =0;
584 virtual void setTitle(
const char *title) =0;
592 virtual void setWindowPosition(
int winx,
int winy) = 0 ;
602 unsigned int w=4,
unsigned int h=2,
603 unsigned int thickness=1) ;
605 int i1,
int j1,
int i2,
int j2,
607 unsigned int w=4,
unsigned int h=2,
608 unsigned int thickness=1) ;
612 double size,
const vpColor &color,
613 unsigned int thickness) ;
618 int i,
int j,
const char *
string,
624 unsigned int thickness=1);
626 int i,
int j,
unsigned int radius,
629 unsigned int thickness=1);
633 unsigned int thickness=1) ;
635 int i,
int j,
unsigned int size,
637 unsigned int thickness=1) ;
642 unsigned int thickness=1) ;
644 int i1,
int j1,
int i2,
int j2,
646 unsigned int thickness=1) ;
650 double size,
const vpColor &color,
651 unsigned int thickness=1) ;
656 unsigned int thickness=1) ;
658 int i1,
int j1,
int i2,
int j2,
660 unsigned int thickness=1) ;
669 unsigned int width,
unsigned int height,
670 const vpColor &color,
bool fill =
false,
671 unsigned int thickness=1);
675 const vpColor &color,
bool fill =
false,
676 unsigned int thickness=1);
679 const vpColor &color,
bool fill =
false,
680 unsigned int thickness=1);
684 unsigned int width,
unsigned int height,
686 unsigned int thickness=1);
689 unsigned int width,
unsigned int height,
690 const vpColor &color,
bool fill =
false,
691 unsigned int thickness=1);
693 unsigned int i,
unsigned int j,
float angle,
694 unsigned int width,
unsigned int height,
696 unsigned int thickness=1);
708 bool blocking=
true) ;
712 bool blocking=
true) ;
718 char *
string,
bool blocking=
true);
726 const char *windowtitle);
739 unsigned int w=4,
unsigned int h=2,
740 unsigned int thickness=1) ;
742 int i1,
int j1,
int i2,
int j2,
744 unsigned int w=4,
unsigned int h=2,
745 unsigned int thickness=1) ;
749 double size,
const vpColor &color,
750 unsigned int thickness) ;
755 int i,
int j,
const char *
string,
761 unsigned int thickness=1);
763 int i,
int j,
unsigned int radius,
766 unsigned int thickness=1);
770 unsigned int thickness=1) ;
772 int i,
int j,
unsigned int size,
774 unsigned int thickness=1) ;
779 unsigned int thickness=1) ;
781 int i1,
int j1,
int i2,
int j2,
783 unsigned int thickness=1) ;
787 double size,
const vpColor &color,
788 unsigned int thickness=1) ;
793 unsigned int thickness=1) ;
795 int i1,
int j1,
int i2,
int j2,
797 unsigned int thickness=1) ;
806 unsigned int width,
unsigned int height,
807 const vpColor &color,
bool fill =
false,
808 unsigned int thickness=1);
812 const vpColor &color,
bool fill =
false,
813 unsigned int thickness=1);
816 const vpColor &color,
bool fill =
false,
817 unsigned int thickness=1);
821 unsigned int width,
unsigned int height,
823 unsigned int thickness=1);
826 unsigned int width,
unsigned int height,
827 const vpColor &color,
bool fill =
false,
828 unsigned int thickness=1);
830 unsigned int i,
unsigned int j,
832 unsigned int width,
unsigned int height,
834 unsigned int thickness=1);
845 bool blocking=
true) ;
849 bool blocking=
true) ;
855 char *
string,
bool blocking=
true);
861 static void setTitle(
const vpImage<vpRGBa> &I,
const char *windowtitle);
862 static void setWindowPosition(
const vpImage<vpRGBa> &I,
int winx,
int winy);
Class that defines generic functionnalities for display.
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
unsigned int getWidth() const
Class to define colors available for display functionnalities.
bool displayHasBeenInitialized
display has been initialized
static const vpColor green
Generic class defining intrinsic camera parameters.
int windowXPosition
display position
Defines a rectangle in the plane.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
int windowYPosition
display position
static const vpColor white
unsigned int getHeight() const