46 #include <visp3/core/vpImage.h>
47 #include <visp3/core/vpColor.h>
48 #include <visp3/core/vpMouseButton.h>
49 #include <visp3/core/vpRGBa.h>
50 #include <visp3/core/vpHomogeneousMatrix.h>
51 #include <visp3/core/vpCameraParameters.h>
52 #include <visp3/core/vpRect.h>
53 #include <visp3/core/vpImagePoint.h>
192 unsigned int w=4,
unsigned int h=2,
193 unsigned int thickness=1) =0;
205 virtual void displayCharString(
const vpImagePoint &ip,
const char *text,
216 virtual void displayCircle(
const vpImagePoint ¢er,
unsigned int radius,
219 unsigned int thickness=1) =0;
227 virtual void displayCross(
const vpImagePoint &ip,
unsigned int size,
229 unsigned int thickness=1) =0;
239 unsigned int thickness=1) =0;
249 unsigned int thickness=1) =0;
271 virtual void displayRectangle(
const vpImagePoint &topLeft,
272 unsigned int width,
unsigned int height,
273 const vpColor &color,
bool fill =
false,
274 unsigned int thickness=1)=0 ;
288 virtual void displayRectangle(
const vpImagePoint &topLeft,
290 const vpColor &color,
bool fill =
false,
291 unsigned int thickness=1 )=0;
305 virtual void displayRectangle(
const vpRect &rectangle,
306 const vpColor &color,
bool fill =
false,
307 unsigned int thickness=1)=0 ;
322 virtual void closeDisplay() =0;
350 virtual void displayImageROI(
const vpImage<vpRGBa> &I,
const vpImagePoint &iP,
const unsigned int width,
const unsigned int height) =0 ;
366 virtual void flushDisplay() =0;
372 virtual void flushDisplayROI(
const vpImagePoint &iP,
const unsigned int width,
const unsigned int height) =0;
392 virtual bool getClick(
bool blocking=
true) =0;
410 bool blocking=
true) =0;
431 bool blocking=
true) =0 ;
456 bool blocking=
true) =0;
473 virtual bool getKeyboardEvent(
bool blocking=
true) =0;
493 virtual bool getKeyboardEvent(
char *
string,
bool blocking=
true) =0;
504 virtual bool getPointerMotionEvent (
vpImagePoint &ip) =0;
522 inline unsigned int getHeight()
const {
return height ; }
527 inline unsigned int getWidth()
const {
return width ; }
538 const char *title=NULL) =0 ;
549 const char *title=NULL) =0 ;
609 virtual void init(
unsigned int width,
unsigned int height,
611 const char *title=NULL) =0;
633 virtual void setFont(
const char *font) =0;
638 virtual void setTitle(
const char *title) =0;
646 virtual void setWindowPosition(
int winx,
int winy) = 0 ;
656 unsigned int w=4,
unsigned int h=2,
657 unsigned int thickness=1) ;
659 int i1,
int j1,
int i2,
int j2,
661 unsigned int w=4,
unsigned int h=2,
662 unsigned int thickness=1) ;
666 double size,
const vpColor &color,
667 unsigned int thickness) ;
672 int i,
int j,
const char *
string,
678 unsigned int thickness=1);
680 int i,
int j,
unsigned int radius,
683 unsigned int thickness=1);
687 unsigned int thickness=1) ;
689 int i,
int j,
unsigned int size,
691 unsigned int thickness=1) ;
696 unsigned int thickness=1) ;
698 int i1,
int j1,
int i2,
int j2,
700 unsigned int thickness=1) ;
703 const double &coef1,
const double &coef2,
const double &coef3,
704 bool use_centered_moments,
706 unsigned int thickness=1);
709 const double &coef1,
const double &coef2,
const double &coef3,
710 const double &theta1,
const double &theta2,
bool use_centered_moments,
712 unsigned int thickness=1);
722 unsigned int thickness=1) ;
724 int i1,
int j1,
int i2,
int j2,
726 unsigned int thickness=1) ;
730 unsigned int thickness=1) ;
734 unsigned int thickness=1) ;
736 const std::vector<vpImagePoint> &vip,
738 unsigned int thickness=1) ;
741 unsigned int width,
unsigned int height,
742 const vpColor &color,
bool fill =
false,
743 unsigned int thickness=1);
747 const vpColor &color,
bool fill =
false,
748 unsigned int thickness=1);
751 const vpColor &color,
bool fill =
false,
752 unsigned int thickness=1);
756 unsigned int width,
unsigned int height,
758 unsigned int thickness=1);
761 unsigned int width,
unsigned int height,
762 const vpColor &color,
bool fill =
false,
763 unsigned int thickness=1);
765 unsigned int i,
unsigned int j,
float angle,
766 unsigned int width,
unsigned int height,
768 unsigned int thickness=1);
774 int i,
int j,
const std::string &s,
785 bool blocking=
true) ;
788 bool blocking=
true) ;
792 bool blocking=
true) ;
795 bool blocking=
true) ;
801 char *
string,
bool blocking=
true);
809 const char *windowtitle);
822 unsigned int w=4,
unsigned int h=2,
823 unsigned int thickness=1) ;
825 int i1,
int j1,
int i2,
int j2,
827 unsigned int w=4,
unsigned int h=2,
828 unsigned int thickness=1) ;
832 double size,
const vpColor &color,
833 unsigned int thickness) ;
838 int i,
int j,
const char *
string,
844 unsigned int thickness=1);
846 int i,
int j,
unsigned int radius,
849 unsigned int thickness=1);
853 unsigned int thickness=1) ;
855 int i,
int j,
unsigned int size,
857 unsigned int thickness=1) ;
862 unsigned int thickness=1) ;
864 int i1,
int j1,
int i2,
int j2,
866 unsigned int thickness=1) ;
874 const double &coef1,
const double &coef2,
const double &coef3,
875 bool use_centered_moments,
877 unsigned int thickness=1);
880 const double &coef1,
const double &coef2,
const double &coef3,
881 const double &angle1,
const double &angle2,
bool use_centered_moments,
883 unsigned int thickness=1);
888 unsigned int thickness=1) ;
890 int i1,
int j1,
int i2,
int j2,
892 unsigned int thickness=1) ;
896 unsigned int thickness=1) ;
900 unsigned int thickness=1) ;
902 const std::vector<vpImagePoint> &vip,
904 unsigned int thickness=1) ;
907 unsigned int width,
unsigned int height,
908 const vpColor &color,
bool fill =
false,
909 unsigned int thickness=1);
913 const vpColor &color,
bool fill =
false,
914 unsigned int thickness=1);
917 const vpColor &color,
bool fill =
false,
918 unsigned int thickness=1);
922 unsigned int width,
unsigned int height,
924 unsigned int thickness=1);
927 unsigned int width,
unsigned int height,
928 const vpColor &color,
bool fill =
false,
929 unsigned int thickness=1);
931 unsigned int i,
unsigned int j,
933 unsigned int width,
unsigned int height,
935 unsigned int thickness=1);
941 int i,
int j,
const std::string &s,
952 bool blocking=
true) ;
955 bool blocking=
true) ;
959 bool blocking=
true) ;
962 bool blocking=
true) ;
968 char *
string,
bool blocking=
true);
974 static void setTitle(
const vpImage<vpRGBa> &I,
const char *windowtitle);
975 static void setWindowPosition(
const vpImage<vpRGBa> &I,
int winx,
int winy);
Class that defines generic functionnalities for display.
Implementation of an homogeneous matrix and operations on such kind of matrices.
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