50 #include <visp/vpImage.h>
51 #include <visp/vpColor.h>
52 #include <visp/vpMouseButton.h>
53 #include <visp/vpRGBa.h>
54 #include <visp/vpHomogeneousMatrix.h>
55 #include <visp/vpCameraParameters.h>
56 #include <visp/vpRect.h>
57 #include <visp/vpImagePoint.h>
196 unsigned int w=4,
unsigned int h=2,
197 unsigned int thickness=1) =0;
209 virtual void displayCharString(
const vpImagePoint &ip,
const char *text,
220 virtual void displayCircle(
const vpImagePoint ¢er,
unsigned int radius,
223 unsigned int thickness=1) =0;
231 virtual void displayCross(
const vpImagePoint &ip,
unsigned int size,
233 unsigned int thickness=1) =0;
243 unsigned int thickness=1) =0;
253 unsigned int thickness=1) =0;
275 virtual void displayRectangle(
const vpImagePoint &topLeft,
276 unsigned int width,
unsigned int height,
277 const vpColor &color,
bool fill =
false,
278 unsigned int thickness=1)=0 ;
292 virtual void displayRectangle(
const vpImagePoint &topLeft,
294 const vpColor &color,
bool fill =
false,
295 unsigned int thickness=1 )=0;
309 virtual void displayRectangle(
const vpRect &rectangle,
310 const vpColor &color,
bool fill =
false,
311 unsigned int thickness=1)=0 ;
326 virtual void closeDisplay() =0;
354 virtual void displayImageROI(
const vpImage<vpRGBa> &I,
const vpImagePoint &iP,
const unsigned int width,
const unsigned int height) =0 ;
370 virtual void flushDisplay() =0;
376 virtual void flushDisplayROI(
const vpImagePoint &iP,
const unsigned int width,
const unsigned int height) =0;
396 virtual bool getClick(
bool blocking=
true) =0;
414 bool blocking=
true) =0;
435 bool blocking=
true) =0 ;
460 bool blocking=
true) =0;
477 virtual bool getKeyboardEvent(
bool blocking=
true) =0;
497 virtual bool getKeyboardEvent(
char *
string,
bool blocking=
true) =0;
508 virtual bool getPointerMotionEvent (
vpImagePoint &ip) =0;
526 inline unsigned int getHeight()
const {
return height ; }
531 inline unsigned int getWidth()
const {
return width ; }
542 const char *title=NULL) =0 ;
553 const char *title=NULL) =0 ;
562 virtual void init(
unsigned int width,
unsigned int height,
564 const char *title=NULL) =0;
586 virtual void setFont(
const char *font) =0;
591 virtual void setTitle(
const char *title) =0;
599 virtual void setWindowPosition(
int winx,
int winy) = 0 ;
609 unsigned int w=4,
unsigned int h=2,
610 unsigned int thickness=1) ;
612 int i1,
int j1,
int i2,
int j2,
614 unsigned int w=4,
unsigned int h=2,
615 unsigned int thickness=1) ;
619 double size,
const vpColor &color,
620 unsigned int thickness) ;
625 int i,
int j,
const char *
string,
631 unsigned int thickness=1);
633 int i,
int j,
unsigned int radius,
636 unsigned int thickness=1);
640 unsigned int thickness=1) ;
642 int i,
int j,
unsigned int size,
644 unsigned int thickness=1) ;
649 unsigned int thickness=1) ;
651 int i1,
int j1,
int i2,
int j2,
653 unsigned int thickness=1) ;
656 const double &coef1,
const double &coef2,
const double &coef3,
657 bool use_centered_moments,
659 unsigned int thickness=1);
662 const double &coef1,
const double &coef2,
const double &coef3,
663 const double &theta1,
const double &theta2,
bool use_centered_moments,
665 unsigned int thickness=1);
670 unsigned int thickness=1) ;
675 unsigned int thickness=1) ;
677 int i1,
int j1,
int i2,
int j2,
679 unsigned int thickness=1) ;
683 unsigned int thickness=1) ;
687 unsigned int thickness=1) ;
689 const std::vector<vpImagePoint> &vip,
691 unsigned int thickness=1) ;
694 unsigned int width,
unsigned int height,
695 const vpColor &color,
bool fill =
false,
696 unsigned int thickness=1);
700 const vpColor &color,
bool fill =
false,
701 unsigned int thickness=1);
704 const vpColor &color,
bool fill =
false,
705 unsigned int thickness=1);
709 unsigned int width,
unsigned int height,
711 unsigned int thickness=1);
714 unsigned int width,
unsigned int height,
715 const vpColor &color,
bool fill =
false,
716 unsigned int thickness=1);
718 unsigned int i,
unsigned int j,
float angle,
719 unsigned int width,
unsigned int height,
721 unsigned int thickness=1);
727 int i,
int j,
const std::string &s,
738 bool blocking=
true) ;
741 bool blocking=
true) ;
745 bool blocking=
true) ;
748 bool blocking=
true) ;
754 char *
string,
bool blocking=
true);
762 const char *windowtitle);
775 unsigned int w=4,
unsigned int h=2,
776 unsigned int thickness=1) ;
778 int i1,
int j1,
int i2,
int j2,
780 unsigned int w=4,
unsigned int h=2,
781 unsigned int thickness=1) ;
785 double size,
const vpColor &color,
786 unsigned int thickness) ;
791 int i,
int j,
const char *
string,
797 unsigned int thickness=1);
799 int i,
int j,
unsigned int radius,
802 unsigned int thickness=1);
806 unsigned int thickness=1) ;
808 int i,
int j,
unsigned int size,
810 unsigned int thickness=1) ;
815 unsigned int thickness=1) ;
817 int i1,
int j1,
int i2,
int j2,
819 unsigned int thickness=1) ;
824 unsigned int thickness=1) ;
827 const double &coef1,
const double &coef2,
const double &coef3,
828 bool use_centered_moments,
830 unsigned int thickness=1);
833 const double &coef1,
const double &coef2,
const double &coef3,
834 const double &angle1,
const double &angle2,
bool use_centered_moments,
836 unsigned int thickness=1);
841 unsigned int thickness=1) ;
843 int i1,
int j1,
int i2,
int j2,
845 unsigned int thickness=1) ;
849 unsigned int thickness=1) ;
853 unsigned int thickness=1) ;
855 const std::vector<vpImagePoint> &vip,
857 unsigned int thickness=1) ;
860 unsigned int width,
unsigned int height,
861 const vpColor &color,
bool fill =
false,
862 unsigned int thickness=1);
866 const vpColor &color,
bool fill =
false,
867 unsigned int thickness=1);
870 const vpColor &color,
bool fill =
false,
871 unsigned int thickness=1);
875 unsigned int width,
unsigned int height,
877 unsigned int thickness=1);
880 unsigned int width,
unsigned int height,
881 const vpColor &color,
bool fill =
false,
882 unsigned int thickness=1);
884 unsigned int i,
unsigned int j,
886 unsigned int width,
unsigned int height,
888 unsigned int thickness=1);
894 int i,
int j,
const std::string &s,
905 bool blocking=
true) ;
908 bool blocking=
true) ;
912 bool blocking=
true) ;
915 bool blocking=
true) ;
921 char *
string,
bool blocking=
true);
927 static void setTitle(
const vpImage<vpRGBa> &I,
const char *windowtitle);
928 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.
static const vpColor none
bool displayHasBeenInitialized
display has been initialized
static const vpColor green
Generic class defining intrinsic camera parameters.
int getWindowYPosition() const
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
int getWindowXPosition() const