![]() |
Visual Servoing Platform version 3.7.0
|
#include <vpDisplay.h>
Public Types | |
| enum | vpScaleType { SCALE_AUTO , SCALE_1 , SCALE_2 , SCALE_3 , SCALE_4 , SCALE_5 , SCALE_6 , SCALE_7 , SCALE_8 , SCALE_9 , SCALE_10 , SCALE_DEFAULT } |
Public Member Functions | |
| vpDisplay () | |
| vpDisplay (const vpDisplay &d) | |
| virtual | ~vpDisplay () |
| vpDisplay & | operator= (const vpDisplay &)=default |
Inherited functionalities from vpDisplay | |
| unsigned int | computeAutoScale (unsigned int width, unsigned int height) |
| unsigned int | getDownScalingFactor () |
| unsigned int | getHeight () const |
| unsigned int | getWidth () const |
| int | getWindowXPosition () const |
| int | getWindowYPosition () const |
| bool | isInitialised () |
| virtual void | setDownScalingFactor (unsigned int scale) |
| virtual void | setDownScalingFactor (vpScaleType scaleType) |
Static Public Member Functions | |
Static public vpDisplay functionalities on gray level images. | |
| static void | close (vpImage< unsigned char > &I) |
| static void | display (const vpImage< unsigned char > &I) |
| static void | displayArrow (const vpImage< unsigned char > &I, const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color=vpColor::white, unsigned int w=4, unsigned int h=2, unsigned int thickness=1) |
| static void | displayArrow (const vpImage< unsigned char > &I, int i1, int j1, int i2, int j2, const vpColor &color=vpColor::white, unsigned int w=4, unsigned int h=2, unsigned int thickness=1) |
| static void | displayCamera (const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, double size, const vpColor &color, unsigned int thickness) |
| static void | displayCircle (const vpImage< unsigned char > &I, const vpImageCircle &circle, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayCircle (const vpImage< unsigned char > &I, const vpImagePoint ¢er, unsigned int radius, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayCircle (const vpImage< unsigned char > &I, int i, int j, unsigned int radius, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayCross (const vpImage< unsigned char > &I, const vpImagePoint &ip, unsigned int size, const vpColor &color, unsigned int thickness=1) |
| static void | displayCross (const vpImage< unsigned char > &I, int i, int j, unsigned int size, const vpColor &color, unsigned int thickness=1) |
| static void | displayDotLine (const vpImage< unsigned char > &I, const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color, unsigned int thickness=1) |
| static void | displayDotLine (const vpImage< unsigned char > &I, int i1, int j1, int i2, int j2, const vpColor &color, unsigned int thickness=1) |
| static void | displayDotLine (const vpImage< unsigned char > &I, const std::vector< vpImagePoint > &ips, bool closeTheShape, const vpColor &color, unsigned int thickness=1) |
| static void | displayDotLine (const vpImage< unsigned char > &I, const std::list< vpImagePoint > &ips, bool closeTheShape, const vpColor &color, unsigned int thickness=1) |
| static void | displayEllipse (const vpImage< unsigned char > &I, const vpImagePoint ¢er, const double &coef1, const double &coef2, const double &coef3, bool use_normalized_centered_moments, const vpColor &color, unsigned int thickness=1, bool display_center=false, bool display_arc=false) |
| static void | displayEllipse (const vpImage< unsigned char > &I, const vpImagePoint ¢er, const double &coef1, const double &coef2, const double &coef3, const double &smallalpha, const double &highalpha, bool use_normalized_centered_moments, const vpColor &color, unsigned int thickness=1, bool display_center=false, bool display_arc=false) |
| static void | displayFrame (const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, double size, const vpColor &color=vpColor::none, unsigned int thickness=1, const vpImagePoint &offset=vpImagePoint(0, 0), const std::string &frameName="", const vpColor &textColor=vpColor::black, const vpImagePoint &textOffset=vpImagePoint(15, 15)) |
| static void | displayLine (const vpImage< unsigned char > &I, const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color, unsigned int thickness=1, bool segment=true) |
| static void | displayLine (const vpImage< unsigned char > &I, int i1, int j1, int i2, int j2, const vpColor &color, unsigned int thickness=1, bool segment=true) |
| static void | displayLine (const vpImage< unsigned char > &I, const std::vector< vpImagePoint > &ips, bool closeTheShape, const vpColor &color, unsigned int thickness=1) |
| static void | displayLine (const vpImage< unsigned char > &I, const std::list< vpImagePoint > &ips, bool closeTheShape, const vpColor &color, unsigned int thickness=1) |
| static void | displayPoint (const vpImage< unsigned char > &I, const vpImagePoint &ip, const vpColor &color, unsigned int thickness=1) |
| static void | displayPoint (const vpImage< unsigned char > &I, int i, int j, const vpColor &color, unsigned int thickness=1) |
| static void | displayPolygon (const vpImage< unsigned char > &I, const std::vector< vpImagePoint > &vip, const vpColor &color, unsigned int thickness=1, bool closed=true) |
| static void | displayPolygon (const vpImage< unsigned char > &I, const vpPolygon &polygon, const vpColor &color, unsigned int thickness=1, bool closed=true) |
| static void | displayRectangle (const vpImage< unsigned char > &I, const vpImagePoint &topLeft, unsigned int width, unsigned int height, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayRectangle (const vpImage< unsigned char > &I, const vpImagePoint &topLeft, const vpImagePoint &bottomRight, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayRectangle (const vpImage< unsigned char > &I, const vpRect &rectangle, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayRectangle (const vpImage< unsigned char > &I, const vpImagePoint ¢er, float angle, unsigned int width, unsigned int height, const vpColor &color, unsigned int thickness=1) |
| static void | displayRectangle (const vpImage< unsigned char > &I, int i, int j, unsigned int width, unsigned int height, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayRectangle (const vpImage< unsigned char > &I, unsigned int i, unsigned int j, float angle, unsigned int width, unsigned int height, const vpColor &color, unsigned int thickness=1) |
| static void | displayROI (const vpImage< unsigned char > &I, const vpRect &roi) |
| static void | displayText (const vpImage< unsigned char > &I, const vpImagePoint &ip, const std::string &s, const vpColor &color) |
| static void | displayText (const vpImage< unsigned char > &I, int i, int j, const std::string &s, const vpColor &color) |
| static void | flush (const vpImage< unsigned char > &I) |
| static void | flushROI (const vpImage< unsigned char > &I, const vpRect &roi) |
| static bool | getClick (const vpImage< unsigned char > &I, bool blocking=true) |
| static bool | getClick (const vpImage< unsigned char > &I, vpImagePoint &ip, bool blocking=true) |
| static bool | getClick (const vpImage< unsigned char > &I, vpImagePoint &ip, vpMouseButton::vpMouseButtonType &button, bool blocking=true) |
| static bool | getClick (const vpImage< unsigned char > &I, vpMouseButton::vpMouseButtonType &button, bool blocking=true) |
| static bool | getClickUp (const vpImage< unsigned char > &I, vpImagePoint &ip, vpMouseButton::vpMouseButtonType &button, bool blocking=true) |
| static bool | getClickUp (const vpImage< unsigned char > &I, vpMouseButton::vpMouseButtonType &button, bool blocking=true) |
| static unsigned int | getDownScalingFactor (const vpImage< unsigned char > &I) |
| static void | getImage (const vpImage< unsigned char > &Is, vpImage< vpRGBa > &Id) |
| static bool | getKeyboardEvent (const vpImage< unsigned char > &I, bool blocking=true) |
| static bool | getKeyboardEvent (const vpImage< unsigned char > &I, std::string &key, bool blocking=true) |
| static bool | getKeyboardEvent (const vpImage< unsigned char > &I, char *key, bool blocking=true) |
| static bool | getPointerMotionEvent (const vpImage< unsigned char > &I, vpImagePoint &ip) |
| static bool | getPointerPosition (const vpImage< unsigned char > &I, vpImagePoint &ip) |
| static void | setBackground (const vpImage< unsigned char > &I, const vpColor &color) |
| static void | setFont (const vpImage< unsigned char > &I, const std::string &font) |
| static void | setTitle (const vpImage< unsigned char > &I, const std::string &windowtitle) |
| static void | setWindowPosition (const vpImage< unsigned char > &I, int winx, int winy) |
Static public vpDisplay functionalities on 32 bits color images. | |
| static void | close (vpImage< vpRGBa > &I) |
| static void | display (const vpImage< vpRGBa > &I) |
| static void | displayArrow (const vpImage< vpRGBa > &I, const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color=vpColor::white, unsigned int w=4, unsigned int h=2, unsigned int thickness=1) |
| static void | displayArrow (const vpImage< vpRGBa > &I, int i1, int j1, int i2, int j2, const vpColor &color=vpColor::white, unsigned int w=4, unsigned int h=2, unsigned int thickness=1) |
| static void | displayCamera (const vpImage< vpRGBa > &I, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, double size, const vpColor &color, unsigned int thickness) |
| static void | displayCircle (const vpImage< vpRGBa > &I, const vpImageCircle &circle, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayCircle (const vpImage< vpRGBa > &I, const vpImagePoint ¢er, unsigned int radius, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayCircle (const vpImage< vpRGBa > &I, int i, int j, unsigned int radius, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayCross (const vpImage< vpRGBa > &I, const vpImagePoint &ip, unsigned int size, const vpColor &color, unsigned int thickness=1) |
| static void | displayCross (const vpImage< vpRGBa > &I, int i, int j, unsigned int size, const vpColor &color, unsigned int thickness=1) |
| static void | displayDotLine (const vpImage< vpRGBa > &I, const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color, unsigned int thickness=1) |
| static void | displayDotLine (const vpImage< vpRGBa > &I, int i1, int j1, int i2, int j2, const vpColor &color, unsigned int thickness=1) |
| static void | displayDotLine (const vpImage< vpRGBa > &I, const std::vector< vpImagePoint > &ips, bool closeTheShape, const vpColor &color, unsigned int thickness=1) |
| static void | displayDotLine (const vpImage< vpRGBa > &I, const std::list< vpImagePoint > &ips, bool closeTheShape, const vpColor &color, unsigned int thickness=1) |
| static void | displayEllipse (const vpImage< vpRGBa > &I, const vpImagePoint ¢er, const double &coef1, const double &coef2, const double &coef3, bool use_centered_moments, const vpColor &color, unsigned int thickness=1, bool display_center=false, bool display_arc=false) |
| static void | displayEllipse (const vpImage< vpRGBa > &I, const vpImagePoint ¢er, const double &coef1, const double &coef2, const double &coef3, const double &theta1, const double &theta2, bool use_centered_moments, const vpColor &color, unsigned int thickness=1, bool display_center=false, bool display_arc=false) |
| static void | displayFrame (const vpImage< vpRGBa > &I, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, double size, const vpColor &color=vpColor::none, unsigned int thickness=1, const vpImagePoint &offset=vpImagePoint(0, 0), const std::string &frameName="", const vpColor &textColor=vpColor::black, const vpImagePoint &textOffset=vpImagePoint(15, 15)) |
| static void | displayLine (const vpImage< vpRGBa > &I, const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color, unsigned int thickness=1, bool segment=true) |
| static void | displayLine (const vpImage< vpRGBa > &I, int i1, int j1, int i2, int j2, const vpColor &color, unsigned int thickness=1, bool segment=true) |
| static void | displayLine (const vpImage< vpRGBa > &I, const std::vector< vpImagePoint > &ips, bool closeTheShape, const vpColor &color, unsigned int thickness=1) |
| static void | displayLine (const vpImage< vpRGBa > &I, const std::list< vpImagePoint > &ips, bool closeTheShape, const vpColor &color, unsigned int thickness=1) |
| static void | displayPoint (const vpImage< vpRGBa > &I, const vpImagePoint &ip, const vpColor &color, unsigned int thickness=1) |
| static void | displayPoint (const vpImage< vpRGBa > &I, int i, int j, const vpColor &color, unsigned int thickness=1) |
| static void | displayPolygon (const vpImage< vpRGBa > &I, const std::vector< vpImagePoint > &vip, const vpColor &color, unsigned int thickness=1, bool closed=true) |
| static void | displayPolygon (const vpImage< vpRGBa > &I, const vpPolygon &polygon, const vpColor &color, unsigned int thickness=1, bool closed=true) |
| static void | displayRectangle (const vpImage< vpRGBa > &I, const vpImagePoint &topLeft, unsigned int width, unsigned int height, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayRectangle (const vpImage< vpRGBa > &I, const vpImagePoint &topLeft, const vpImagePoint &bottomRight, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayRectangle (const vpImage< vpRGBa > &I, const vpRect &rectangle, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayRectangle (const vpImage< vpRGBa > &I, const vpImagePoint ¢er, float angle, unsigned int width, unsigned int height, const vpColor &color, unsigned int thickness=1) |
| static void | displayRectangle (const vpImage< vpRGBa > &I, int i, int j, unsigned int width, unsigned int height, const vpColor &color, bool fill=false, unsigned int thickness=1) |
| static void | displayRectangle (const vpImage< vpRGBa > &I, unsigned int i, unsigned int j, float angle, unsigned int width, unsigned int height, const vpColor &color, unsigned int thickness=1) |
| static void | displayROI (const vpImage< vpRGBa > &I, const vpRect &roi) |
| static void | displayText (const vpImage< vpRGBa > &I, const vpImagePoint &ip, const std::string &s, const vpColor &color) |
| static void | displayText (const vpImage< vpRGBa > &I, int i, int j, const std::string &s, const vpColor &color) |
| static void | flush (const vpImage< vpRGBa > &I) |
| static void | flushROI (const vpImage< vpRGBa > &I, const vpRect &roi) |
| static bool | getClick (const vpImage< vpRGBa > &I, bool blocking=true) |
| static bool | getClick (const vpImage< vpRGBa > &I, vpImagePoint &ip, bool blocking=true) |
| static bool | getClick (const vpImage< vpRGBa > &I, vpImagePoint &ip, vpMouseButton::vpMouseButtonType &button, bool blocking=true) |
| static bool | getClick (const vpImage< vpRGBa > &I, vpMouseButton::vpMouseButtonType &button, bool blocking=true) |
| static bool | getClickUp (const vpImage< vpRGBa > &I, vpImagePoint &ip, vpMouseButton::vpMouseButtonType &button, bool blocking=true) |
| static bool | getClickUp (const vpImage< vpRGBa > &I, vpMouseButton::vpMouseButtonType &button, bool blocking=true) |
| static unsigned int | getDownScalingFactor (const vpImage< vpRGBa > &I) |
| static void | getImage (const vpImage< vpRGBa > &Is, vpImage< vpRGBa > &Id) |
| static bool | getKeyboardEvent (const vpImage< vpRGBa > &I, bool blocking=true) |
| static bool | getKeyboardEvent (const vpImage< vpRGBa > &I, std::string &key, bool blocking=true) |
| static bool | getKeyboardEvent (const vpImage< vpRGBa > &I, char *key, bool blocking=true) |
| static bool | getPointerMotionEvent (const vpImage< vpRGBa > &I, vpImagePoint &ip) |
| static bool | getPointerPosition (const vpImage< vpRGBa > &I, vpImagePoint &ip) |
| static void | setBackground (const vpImage< vpRGBa > &I, const vpColor &color) |
| static void | setFont (const vpImage< vpRGBa > &I, const std::string &font) |
| static void | setTitle (const vpImage< vpRGBa > &I, const std::string &windowtitle) |
| static void | setWindowPosition (const vpImage< vpRGBa > &I, int winx, int winy) |
Deprecated functions | |
| bool | m_displayHasBeenInitialized |
| int | m_windowXPosition |
| int | m_windowYPosition |
| unsigned int | m_width |
| unsigned int | m_height |
| std::string | m_title |
| unsigned int | m_scale |
| vpScaleType | m_scaleType |
| static VP_DEPRECATED void | displayCharString (const vpImage< unsigned char > &I, const vpImagePoint &ip, const char *string, const vpColor &color) |
| static VP_DEPRECATED void | displayCharString (const vpImage< unsigned char > &I, int i, int j, const char *string, const vpColor &color) |
| static VP_DEPRECATED void | displayCharString (const vpImage< vpRGBa > &I, const vpImagePoint &ip, const char *string, const vpColor &color) |
| static VP_DEPRECATED void | displayCharString (const vpImage< vpRGBa > &I, int i, int j, const char *string, const vpColor &color) |
| void | setScale (vpScaleType scaleType, unsigned int width, unsigned int height) |
Class that defines generic functionalities for display.
The Tutorial: How to create and build a project that uses ViSP and CMake on Unix or Windows is a good starting point to know how to use this class to display an image in a window.
The example below shows how to use this class.
Other examples are available in tutorial-image-viewer.cpp and tutorial-viewer.cpp.
Definition at line 170 of file vpDisplay.h.
Values that could be applied to a display to down scale the size of the display.
| Enumerator | |
|---|---|
| SCALE_AUTO | Auto down scaling factor computed fom the screen resolution. |
| SCALE_1 | Display and image have the same size. |
| SCALE_2 | Display width and height is down scaled by 2 wrt the image size. |
| SCALE_3 | Display width and height is down scaled by 3 wrt the image size. |
| SCALE_4 | Display width and height is down scaled by 4 wrt the image size. |
| SCALE_5 | Display width and height is down scaled by 5 wrt the image size. |
| SCALE_6 | Display width and height is down scaled by 6 wrt the image size. |
| SCALE_7 | Display width and height is down scaled by 7 wrt the image size. |
| SCALE_8 | Display width and height is down scaled by 8 wrt the image size. |
| SCALE_9 | Display width and height is down scaled by 9 wrt the image size. |
| SCALE_10 | Display width and height is down scaled by 10 wrt the image size. |
| SCALE_DEFAULT | Display and image have the same size. Similar to vpDisplay::SCALE_1. |
Definition at line 175 of file vpDisplay.h.
| BEGIN_VISP_NAMESPACE vpDisplay::vpDisplay | ( | ) |
Default constructor.
Definition at line 51 of file vpDisplay.cpp.
References m_displayHasBeenInitialized, m_height, m_scale, m_scaleType, m_title, m_width, m_windowXPosition, m_windowYPosition, and SCALE_DEFAULT.
Referenced by operator=(), vpDisplay(), vpDisplayGTK::vpDisplayGTK(), vpDisplayGTK::vpDisplayGTK(), vpDisplayGTK::vpDisplayGTK(), vpDisplayGTK::vpDisplayGTK(), vpDisplayGTK::vpDisplayGTK(), vpDisplayGTK::vpDisplayGTK(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayWin32::vpDisplayWin32(), vpDisplayX::vpDisplayX(), vpDisplayX::vpDisplayX(), vpDisplayX::vpDisplayX(), vpDisplayX::vpDisplayX(), vpDisplayX::vpDisplayX(), and vpDisplayX::vpDisplayX().
| vpDisplay::vpDisplay | ( | const vpDisplay & | d | ) |
Copy constructor.
Definition at line 59 of file vpDisplay.cpp.
References m_displayHasBeenInitialized, m_height, m_scale, m_scaleType, m_title, m_width, m_windowXPosition, m_windowYPosition, and vpDisplay().
|
virtual |
Destructor that deallocates memory.
Definition at line 68 of file vpDisplay.cpp.
References m_displayHasBeenInitialized.
|
static |
Close the display attached to I.
Definition at line 46 of file vpDisplay_uchar.cpp.
|
static |
Close the display attached to I.
Definition at line 46 of file vpDisplay_rgba.cpp.
| unsigned int vpDisplay::computeAutoScale | ( | unsigned int | width, |
| unsigned int | height ) |
Computes the down scaling factor that should be applied to the window size to display the image given the resolution of the screen.
| [in] | width | : Image width. |
| [in] | height | : Image height. |
Definition at line 250 of file vpDisplay.cpp.
Referenced by operator=(), and setScale().
|
static |
Display image I.
| I | : Image to display. |
Definition at line 869 of file vpDisplay_uchar.cpp.
Referenced by vpDot2::defineDots(), vpObjectMask::display(), vpWireFrameSimulator::getExternalImage(), vpWireFrameSimulator::getExternalImage(), vpWireFrameSimulator::getExternalImage(), vpWireFrameSimulator::getExternalImage(), vpWireFrameSimulator::getInternalImage(), vpWireFrameSimulator::getInternalImage(), vpPlot::init(), vpMbTracker::initClick(), vpMbTracker::initClick(), vpDisplayFactory::impl::makeDisplayGridHelper(), vpDisplayOpenCV::operator=(), vpDisplayWin32::operator=(), vpMbDepthDenseTracker::segmentPointCloud(), vpMbDepthDenseTracker::segmentPointCloud(), vpMbDepthDenseTracker::segmentPointCloud(), vpMbDepthNormalTracker::segmentPointCloud(), vpMbDepthNormalTracker::segmentPointCloud(), vpMbDepthNormalTracker::segmentPointCloud(), vpSimulatorAfma6::setPosition(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpDisplayOpenCV::vpDisplayOpenCV(), and vpDisplayWin32::vpDisplayWin32().
Display image I.
| I | : Image to display. |
Definition at line 866 of file vpDisplay_rgba.cpp.
|
static |
Display an arrow from image point ip1 to image point ip2.
| I | : The image associated to the display. |
| ip1 | : Initial image point. |
| ip2 | : Final image point. |
| color | : Arrow color. |
| w | : Arrow width. |
| h | : Arrow height. |
| thickness | : Thickness of the lines used to display the arrow. |
Definition at line 58 of file vpDisplay_uchar.cpp.
Referenced by vpMbDepthNormalTracker::display(), vpMbDepthNormalTracker::display(), vpProjectionDisplay::displayCamera(), vpMbtFaceDepthNormal::displayFeature(), and vpMbtFaceDepthNormal::displayFeature().
|
static |
Display an arrow from image point (i1,j1) to image point (i2,j2).
| I | : The image associated to the display. |
| i1 | : Initial image point coordinate along line i in the image. |
| j1 | : Initial image point coordinate along row j in the image. |
| i2 | : Final image point coordinate along line i in the image. |
| j2 | : Final image point coordinate along row j in the image. |
| color | : Arrow color. |
| w | : Arrow width. |
| h | : Arrow height. |
| thickness | : Thickness of the lines used to display the arrow. |
Definition at line 77 of file vpDisplay_uchar.cpp.
|
static |
Display an arrow from image point ip1 to image point ip2.
| I | : The image associated to the display. |
| ip1 | : Initial image point. |
| ip2 | : Final image point with the arrow. |
| color | : Arrow color. |
| w | : Arrow width. |
| h | : Arrow height. |
| thickness | : Thickness of the lines used to display the arrow. |
Definition at line 58 of file vpDisplay_rgba.cpp.
|
static |
Display an arrow from image point (i1,j1) to image point (i2,j2).
| I | : The image associated to the display. |
| i1 | : Initial image point coordinate along line i in the image. |
| j1 | : Initial image point coordinate along row j in the image. |
| i2 | : Final image point coordinate along line i in the image. |
| j2 | : Final image point coordinate along row j in the image. |
| color | : Arrow color. |
| w | : Arrow width. |
| h | : Arrow height. |
| thickness | : Thickness of the lines used to display the arrow. |
Definition at line 77 of file vpDisplay_rgba.cpp.
|
static |
Display the projection of an object camera represented by a cone in the image.
| I | : The image associated to the display. |
| cMo | : Homogeneous matrix that gives the transformation between the camera frame and the object frame to project in the image. |
| cam | : Camera intrinsic parameters. |
| size | : Size of the object camera. |
| color | : Color used to display the camera in the image. |
| thickness | : Thickness of the graphics drawing. |
Definition at line 96 of file vpDisplay_uchar.cpp.
Referenced by vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
|
static |
Display the projection of an object camera represented by a cone in the image.
| I | : The image associated to the display. |
| cMo | : Homogeneous matrix that gives the transformation between the camera frame and the object frame to project in the image. |
| cam | : Camera intrinsic parameters. |
| size | : Size of the object camera. |
| color | : Color used to display the camera in the image. |
| thickness | : Thickness of the graphics drawing. |
Definition at line 96 of file vpDisplay_rgba.cpp.
|
static |
To select the font used to display the string, use setFont().
| I | : Image associated to the display. |
| ip | : Upper left image point location of the string in the display. |
| string | : String to display in overlay. |
| color | : String color. |
Definition at line 116 of file vpDisplay_uchar.cpp.
|
static |
To select the font used to display the string, use setFont().
| I | : Image associated to the display. |
| i | : Upper left image point location of the string along line i in the image. |
| j | : Upper left image point location of the string along row j in the image. |
| string | : String to display in overlay. |
| color | : String color. |
Definition at line 136 of file vpDisplay_uchar.cpp.
|
static |
To select the font used to display the string, use setFont().
| I | : Image associated to the display. |
| ip | : Upper left image point location of the string in the display. |
| string | : String to display in overlay. |
| color | : String color. |
Definition at line 116 of file vpDisplay_rgba.cpp.
|
static |
To select the font used to display the string, use setFont().
| I | : Image associated to the display. |
| i | : Upper left image point location of the string along line i in the image. |
| j | : Upper left image point location of the string along row j in the image. |
| string | : String to display in overlay. |
| color | : String color. |
Definition at line 136 of file vpDisplay_rgba.cpp.
|
static |
Display a circle.
| I | : The image associated to the display. |
| circle | : Circle to display. |
| color | : Circle color. |
| fill | : When set to true fill the circle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the circle. This parameter is only useful when fill is set to false. |
Definition at line 154 of file vpDisplay_uchar.cpp.
References vpImageCircle::getCenter(), and vpImageCircle::getRadius().
Referenced by vpColorHistogramMask::display(), vpFeatureSegment::display(), vpFeatureSegment::display(), vpProjectionDisplay::display(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), and vpDot2::trackAndDisplay().
|
static |
Display a circle.
| I | : The image associated to the display. |
| center | : Circle center position. |
| radius | : Circle radius. |
| color | : Circle color. |
| fill | : When set to true fill the circle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the circle. This parameter is only useful when fill is set to false. |
Definition at line 172 of file vpDisplay_uchar.cpp.
|
static |
Display a circle.
| I | : The image associated to the display. |
| i | : Circle center location along line i in the image. |
| j | : Circle center location along row j in the image. |
| radius | : Circle radius. |
| color | : Circle color. |
| fill | : When set to true fill the circle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the circle. This parameter is only useful when fill is set to false. |
Definition at line 191 of file vpDisplay_uchar.cpp.
|
static |
Display a circle.
| I | : The image associated to the display. |
| circle | : Circle to display. |
| color | : Circle color. |
| fill | : When set to true fill the circle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the circle. This parameter is only useful when fill is set to false. |
Definition at line 153 of file vpDisplay_rgba.cpp.
References vpImageCircle::getCenter(), and vpImageCircle::getRadius().
|
static |
Display a circle.
| I | : The image associated to the display. |
| center | : Circle center position. |
| radius | : Circle radius. |
| color | : Circle color. |
| fill | : When set to true fill the circle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the circle. This parameter is only useful when fill is set to false. |
Definition at line 171 of file vpDisplay_rgba.cpp.
|
static |
Display a circle.
| I | : The image associated to the display. |
| i | : Circle center location along line i in the image. |
| j | : Circle center location along row j in the image. |
| radius | : Circle radius. |
| color | : Circle color. |
| fill | : When set to true fill the circle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the circle. This parameter is only useful when fill is set to false. |
Definition at line 190 of file vpDisplay_rgba.cpp.
|
static |
Display a cross at the image point ip location.
| I | : The image associated to the display. |
| ip | : Cross location. |
| size | : Size (width and height) of the cross. |
| color | : Cross color. |
| thickness | : Thickness of the lines used to display the cross. |
Definition at line 205 of file vpDisplay_uchar.cpp.
Referenced by vpMbtDistanceCylinder::computeInteractionMatrixError(), vpDot2::defineDots(), vpDot2::display(), vpDot2::display(), vpDot2::display(), vpDot::display(), vpDot::display(), vpDot::display(), vpKeyPoint::display(), vpKeyPoint::display(), vpKeyPoint::display(), vpKeyPoint::display(), vpKltOpencv::display(), vpKltOpencv::display(), vpKltOpencv::display(), vpKltOpencv::display(), vpMbEdgeKltTracker::display(), vpMbEdgeKltTracker::display(), vpMbKltTracker::display(), vpMbKltTracker::display(), vpMeNurbs::display(), vpMeNurbs::display(), vpMeSite::display(), vpMeSite::display(), vpRBSilhouetteCCDTracker::display(), vpCalibration::displayData(), vpMbEdgeTracker::displayFeaturesOnImage(), vpMbEdgeTracker::displayFeaturesOnImage(), vpCalibration::displayGrid(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpPose::displayModel(), vpPose::displayModel(), vpFeatureDisplay::displayPoint(), vpFeatureDisplay::displayPoint(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpMeSite::getQueryList(), vpMbTracker::initClick(), vpPolygon::initClick(), vpPolygon::initClick(), vpTemplateTrackerZone::initClick(), vpMeEllipse::initTracking(), vpMeEllipse::initTracking(), vpMeLine::initTracking(), vpMeNurbs::initTracking(), vpMeLine::plugHoles(), vpMeEllipse::sample(), vpMeLine::sample(), vpMeLine::seekExtremities(), vpMeNurbs::seekExtremities(), vpDot2::track(), and vpDot::track().
|
static |
Display a cross at the image point (i,j) location.
| I | : The image associated to the display. |
| i | : Cross location along line i in the image. |
| j | : Cross location along row j in the image. |
| size | : Size (width and height) of the cross. |
| color | : Cross color. |
| thickness | : Thickness of the lines used to display the cross. |
Definition at line 220 of file vpDisplay_uchar.cpp.
|
static |
Display a cross at the image point ip location.
| I | : The image associated to the display. |
| ip | : Cross location. |
| size | : Size (width and height) of the cross. |
| color | : Cross color. |
| thickness | : Thickness of the lines used to display the cross. |
Definition at line 204 of file vpDisplay_rgba.cpp.
|
static |
Display a cross at the image point (i,j) location.
| I | : The image associated to the display. |
| i | : Cross location along line i in the image. |
| j | : Cross location along row j in the image. |
| size | : Size (width and height) of the cross. |
| color | : Cross color. |
| thickness | : Thickness of the lines used to display the cross. |
Definition at line 219 of file vpDisplay_rgba.cpp.
|
static |
Display dashed lines for the list of image points.
| I | : The image associated to the display. |
| ips | : List of image points. |
| closeTheShape | : If true, display a dashed line from the first and last image points. |
| color | : Line color. |
| thickness | : Dashed line thickness. |
Definition at line 291 of file vpDisplay_uchar.cpp.
References vpImagePoint::distance().
|
static |
Display dashed lines for the list of image points.
| I | : The image associated to the display. |
| ips | : Vector of image points. |
| closeTheShape | : If true, display a dashed line from the first and last image points. |
| color | : Line color. |
| thickness | : Dashed line thickness. |
Definition at line 265 of file vpDisplay_uchar.cpp.
|
static |
Display a dashed line from image point ip1 to image point ip2.
| I | : The image associated to the display. |
| ip1 | : Initial image point. |
| ip2 | : Final image point. |
| color | : Line color. |
| thickness | : Dashed line thickness. |
Definition at line 234 of file vpDisplay_uchar.cpp.
Referenced by vpDot2::trackAndDisplay().
|
static |
Display a dashed line from image point (i1,j1) to image point (i2,j2).
| I | : The image associated to the display. |
| i1 | : Initial image point coordinate along line i in the image. |
| j1 | : Initial image point coordinate along row j in the image. |
| i2 | : Final image point coordinate along line i in the image. |
| j2 | : Final image point coordinate along row j in the image. |
| color | : Line color. |
| thickness | : Dashed line thickness. |
Definition at line 250 of file vpDisplay_uchar.cpp.
|
static |
Display the dashed lines formed by the list of image points
| I | : The image associated to the display. |
| ips | : List of image points. |
| closeTheShape | : If true, display a dashed line from the first and last image points. |
| color | : Line color. |
| thickness | : Dashed line thickness. |
Definition at line 289 of file vpDisplay_rgba.cpp.
References vpImagePoint::distance().
|
static |
Display the dashed lines formed by the list of image points
| I | : The image associated to the display. |
| ips | : Vector of image points. |
| closeTheShape | : If true, display a dashed line from the first and last image points. |
| color | : Line color. |
| thickness | : Dashed line thickness. |
Definition at line 264 of file vpDisplay_rgba.cpp.
|
static |
Display a dashed line from image point ip1 to image point ip2.
| I | : The image associated to the display. |
| ip1 | : Initial image point. |
| ip2 | : Final image point. |
| color | : Line color. |
| thickness | : Dashed line thickness. |
Definition at line 233 of file vpDisplay_rgba.cpp.
|
static |
Display a dashed line from image point (i1,j1) to image point (i2,j2).
| I | : The image associated to the display. |
| i1 | : Initial image point coordinate along line i in the image. |
| j1 | : Initial image point coordinate along row j in the image. |
| i2 | : Final image point coordinate along line i in the image. |
| j2 | : Final image point coordinate along row j in the image. |
| color | : Line color. |
| thickness | : Dashed line thickness. |
Definition at line 249 of file vpDisplay_rgba.cpp.
|
static |
Display an ellipse from its parameters expressed in pixels. Depending on use_normalized_centered_moments flag, we consired two ellipse representations:
| [in] | I | : Image to consider. |
| [in] | center | : Center |
| [in] | coef1 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | coef2 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | coef3 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | use_normalized_centered_moments | : When false, the parameters coef1, coef2, coef3 are the parameters |
| [in] | color | : Ellipse color. |
| [in] | thickness | : Ellipse thickness. |
| [in] | display_center | : Display a cross at the center of the ellipse. |
| [in] | display_arc | : Display a line between the center and the first arc extremity and a line between the center and the second arc extremity. |
The following example shows how to use for example this function to display the result of a tracking.
Definition at line 359 of file vpDisplay_uchar.cpp.
References displayEllipse().
Referenced by vpMbEdgeKltTracker::display(), vpMbEdgeKltTracker::display(), vpMbEdgeTracker::display(), vpMbEdgeTracker::display(), vpMbKltTracker::display(), vpMbKltTracker::display(), vpMbtDistanceCircle::display(), vpMbtDistanceCircle::display(), displayEllipse(), displayEllipse(), vpFeatureDisplay::displayEllipse(), vpFeatureDisplay::displayEllipse(), vpMeEllipse::displayEllipse(), and vpMeEllipse::displayEllipse().
|
static |
Display an ellipse from its parameters expressed in pixels. Depending on use_normalized_centered_moments flag, we consired two ellipse representations:
| [in] | I | : Image to consider. |
| [in] | center | : Center |
| [in] | coef1 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | coef2 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | coef3 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | smallalpha | : Smallest |
| [in] | highalpha | : Highest |
| [in] | use_normalized_centered_moments | : When false, the parameters coef1, coef2, coef3 are the parameters |
| [in] | color | : Ellipse color. |
| [in] | thickness | : Ellipse thickness. |
| [in] | display_center | : Display a cross at the center of the ellipse. |
| [in] | display_arc | : Display a line between the center and the first arc extremity and a line between the center and the second arc extremity. |
The following example shows how to use for example this function to display the result of a tracking.
Definition at line 415 of file vpDisplay_uchar.cpp.
|
static |
Display an ellipse from its parameters expressed in pixels. Depending on use_normalized_centered_moments flag, we consired two ellipse representations:
| [in] | I | : Image to consider. |
| [in] | center | : Center |
| [in] | coef1 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | coef2 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | coef3 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | use_normalized_centered_moments | : When false, the parameters coef1, coef2, coef3 are the parameters |
| [in] | color | : Ellipse color. |
| [in] | thickness | : Ellipse thickness. |
| [in] | display_center | : Display a cross at the center of the ellipse. |
| [in] | display_arc | : Display a line between the center and the first arc extremity and a line between the center and the second arc extremity. |
The following example shows how to use for example this function to display the result of a tracking.
Definition at line 357 of file vpDisplay_rgba.cpp.
References displayEllipse().
|
static |
Display an ellipse from its parameters expressed in pixels. Depending on use_normalized_centered_moments flag, we consired two ellipse representations:
| [in] | I | : Image to consider. |
| [in] | center | : Center |
| [in] | coef1 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | coef2 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | coef3 | : Depending on the parameter use_normalized_centered_moments this parameter is either
|
| [in] | smallalpha | : Smallest |
| [in] | highalpha | : Highest |
| [in] | use_normalized_centered_moments | : When false, the parameters coef1, coef2, coef3 are the parameters |
| [in] | color | : Ellipse color. |
| [in] | thickness | : Ellipse thickness. |
| [in] | display_center | : Display a cross at the center of the ellipse. |
| [in] | display_arc | : Display a line between the center and the first arc extremity and a line between the center and the second arc extremity. |
The following example shows how to use for example this function to display the result of a tracking.
Definition at line 413 of file vpDisplay_rgba.cpp.
|
static |
Display the projection of an object frame represented by 3 arrows in the image. Red, green and blue arrows correspond to frame X, Y and Z axis respectively.
| I | : The image associated to the display. |
| cMo | : Homogeneous matrix that gives the transformation between the camera frame and the object frame to project in the image. |
| cam | : Camera intrinsic parameters. |
| size | : Size of the object frame. |
| color | : Color used to display the frame in the image. |
| thickness | : the thickness of the line. |
| offset | : Offset in pixels applied to the frame origin location in the image. |
| frameName | : Text to display along side the origin of the frame. |
| textColor | : Color of the text associated to frameName. |
| textOffset | : Offset used to shift the text from the origin of the frame. |
Definition at line 441 of file vpDisplay_uchar.cpp.
Referenced by vpPose::display(), vpPose::display(), vpMbTracker::initClick(), vpMbTracker::initClick(), vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
|
static |
Display the projection of an object frame represented by 3 arrows in the image. Red, green and blue arrows correspond to frame X, Y and Z axis respectively.
| I | : The image associated to the display. |
| cMo | : Homogeneous matrix that gives the transformation between the camera frame and the object frame to project in the image. |
| cam | : Camera intrinsic parameters. |
| size | : Size of the object frame. |
| color | : Color used to display the frame in the image. |
| thickness | : the thickness of the line. |
| offset | : Offset in pixels applied to the frame origin location in the image. |
| frameName | : Text to display along side the origin of the frame. |
| textColor | : Color of the text associated to frameName. |
| textOffset | : Offset used to shift the text from the origin of the frame. |
Definition at line 438 of file vpDisplay_rgba.cpp.
|
static |
Display the lines formed by the list of image points.
| I | : The image associated to the display. |
| ips | : List of image points. |
| closeTheShape | : If true, display a line from the first and last image points. |
| color | : Line color. |
| thickness | : Line thickness. |
Definition at line 570 of file vpDisplay_uchar.cpp.
References vpImagePoint::distance().
|
static |
Display the lines formed by the list of image points.
| I | : The image associated to the display. |
| ips | : Vector of image points. |
| closeTheShape | : If true, display a line from the first and last image points. |
| color | : Line color. |
| thickness | : Line thickness. |
Definition at line 545 of file vpDisplay_uchar.cpp.
|
static |
Display a line from image point ip1 to image point ip2.
| I | : The image associated to the display. |
| ip1 | : Initial image point. |
| ip2 | : Final image point. |
| color | : Line color. |
| thickness | : Line thickness. |
| segment | : If true (default) display the segment between the two image points. If false, display the line passing through the two image points. |
Definition at line 458 of file vpDisplay_uchar.cpp.
References displayLine(), vpImagePoint::get_i(), and vpImagePoint::get_j().
Referenced by vpFeatureSegment::display(), vpFeatureSegment::display(), vpHistogram::display(), vpMbDepthDenseTracker::display(), vpMbDepthDenseTracker::display(), vpMbDepthNormalTracker::display(), vpMbDepthNormalTracker::display(), vpMbEdgeKltTracker::display(), vpMbEdgeKltTracker::display(), vpMbEdgeTracker::display(), vpMbEdgeTracker::display(), vpMbKltTracker::display(), vpMbKltTracker::display(), vpMbtDistanceCylinder::display(), vpMbtDistanceCylinder::display(), vpMbtDistanceKltCylinder::display(), vpMbtDistanceKltCylinder::display(), vpMbtDistanceKltPoints::display(), vpMbtDistanceKltPoints::display(), vpMbtDistanceLine::display(), vpMbtDistanceLine::display(), vpMbtFaceDepthDense::display(), vpMbtFaceDepthDense::display(), vpMbtFaceDepthNormal::display(), vpMbtFaceDepthNormal::display(), vpPolygon::display(), vpTemplateTrackerZone::display(), vpTemplateTrackerZone::display(), vpWireFrameSimulator::display_scene(), vpWireFrameSimulator::display_scene(), displayLine(), displayLine(), vpFeatureDisplay::displayLine(), vpFeatureDisplay::displayLine(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpWireFrameSimulator::displayTrajectory(), vpWireFrameSimulator::displayTrajectory(), vpWireFrameSimulator::getExternalImage(), vpWireFrameSimulator::getExternalImage(), vpTemplateTrackerZone::initClick(), vpMbDepthDenseTracker::segmentPointCloud(), vpMbDepthDenseTracker::segmentPointCloud(), vpMbDepthDenseTracker::segmentPointCloud(), vpMbDepthNormalTracker::segmentPointCloud(), vpMbDepthNormalTracker::segmentPointCloud(), vpMbDepthNormalTracker::segmentPointCloud(), vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
|
static |
Display a line from image point (i1,j1) to image point (i2,j2).
| I | : The image associated to the display. |
| i1 | : Initial image point coordinate along line i in the image. |
| j1 | : Initial image point coordinate along row j in the image. |
| i2 | : Final image point coordinate along line i in the image. |
| j2 | : Final image point coordinate along row j in the image. |
| color | : Line color. |
| thickness | : Line thickness. |
| segment | : If true (default) display the segment between the two image points. If false, display the line passing through the two image points. |
Definition at line 477 of file vpDisplay_uchar.cpp.
References vpImagePoint::get_i(), and vpImagePoint::get_j().
|
static |
Display the lines formed by the list of image points.
| I | : The image associated to the display. |
| ips | : List of image points. |
| closeTheShape | : If true, draw a line from the first and last image points. |
| color | : Line color. |
| thickness | : Line thickness. |
Definition at line 569 of file vpDisplay_rgba.cpp.
References vpImagePoint::distance().
|
static |
Display the lines formed by the list of image points.
| I | : The image associated to the display. |
| ips | : Vector of image points. |
| closeTheShape | : If true, draw a line from the first and last image points. |
| color | : Line color. |
| thickness | : Line thickness. |
Definition at line 543 of file vpDisplay_rgba.cpp.
|
static |
Display a line from image point ip1 to image point ip2.
| I | : The image associated to the display. |
| ip1 | : Line initial image point. |
| ip2 | : Line final image point. |
| color | : Line color. |
| thickness | : Line thickness. |
| segment | : If true (default) display the segment between the two image points. If false, display the line passing through the two image points. |
Definition at line 455 of file vpDisplay_rgba.cpp.
References displayLine(), vpImagePoint::get_i(), and vpImagePoint::get_j().
|
static |
Display a line from image point (i1,j1) to image point (i2,j2).
| I | : The image associated to the display. |
| i1 | : Initial image point coordinate along line i in the image. |
| j1 | : Initial image point coordinate along row j in the image. |
| i2 | : Final image point coordinate along line i in the image. |
| j2 | : Final image point coordinate along row j in the image. |
| color | : Line color. |
| thickness | : Line thickness. |
| segment | : If true (default) display the segment between the two image points. If false, display the line passing through the two image points. |
Definition at line 474 of file vpDisplay_rgba.cpp.
References vpImagePoint::get_i(), and vpImagePoint::get_j().
|
static |
Display a point at the image point ip location.
| I | : The image associated to the display. |
| ip | : Point location. |
| color | : Point color. |
| thickness | : Thickness of the point |
Definition at line 600 of file vpDisplay_uchar.cpp.
Referenced by vpDot2::display(), vpDot2::display(), vpDot2::display(), vpDot::display(), vpDot::display(), vpDot::display(), vpRBDenseDepthTracker::display(), vpRBProbabilistic3DDriftDetector::display(), vpRBSilhouetteCCDTracker::display(), vpRBTracker::displaySilhouette(), vpWireFrameSimulator::displayTrajectory(), vpWireFrameSimulator::displayTrajectory(), vpWireFrameSimulator::getExternalImage(), vpWireFrameSimulator::getExternalImage(), vpMbTracker::initClick(), vpMeNurbs::seekExtremitiesCanny(), vpMeSite::track(), and vpMeSite::trackMultipleHypotheses().
|
static |
Display a point at the image point (i,j) location.
| I | : The image associated to the display. |
| i | : Point location along line i in the image. |
| j | : Point location along row j in the image. |
| color | : Point color. |
| thickness | : Thickness of the point |
Definition at line 614 of file vpDisplay_uchar.cpp.
|
static |
Display a point at the image point ip location.
| I | : The image associated to the display. |
| ip | : Point location. |
| color | : Point color. |
| thickness | : Thickness of the point |
Definition at line 599 of file vpDisplay_rgba.cpp.
|
static |
Display a point at the image point (i,j) location.
| I | : The image associated to the display. |
| i | : Point location along line i in the image. |
| j | : Point location along row j in the image. |
| color | : Point color. |
| thickness | : Thickness of the point |
Definition at line 613 of file vpDisplay_rgba.cpp.
|
static |
Display a polygon defined by a vector of image points.
| I | : The image associated to the display. |
| vip | : Vector of image point that define the vertexes of the polygon. |
| color | : Line color. |
| thickness | : Line thickness. |
| closed | : When true display a closed polygon with a segment between first and last image point. |
Definition at line 628 of file vpDisplay_uchar.cpp.
|
static |
Display a polygon defined by a set of image points.
| I | : The image associated to the display. |
| polygon | : Polygon to display. |
| color | : Line color. |
| thickness | : Line thickness. |
| closed | : When true display a closed polygon with a segment between first and last image point. |
Definition at line 642 of file vpDisplay_uchar.cpp.
|
static |
Display a polygon defined by a vector of image points.
| I | : The image associated to the display. |
| vip | : Vector of image point that define the vertexes of the polygon. |
| color | : Line color. |
| thickness | : Line thickness. |
| closed | : When true display a closed polygon with a segment between first and last image point. |
Definition at line 626 of file vpDisplay_rgba.cpp.
|
static |
Display a polygon defined by a set of image points.
| I | : The image associated to the display. |
| polygon | : Polygon to display. |
| color | : Line color. |
| thickness | : Line thickness. |
| closed | : When true display a closed polygon with a segment between first and last image point. |
Definition at line 640 of file vpDisplay_rgba.cpp.
|
static |
Display a rectangle defined by its center, its orientation (angle) and its size.
| I | : Image associated to the display. |
| center | : Rectangle center point. |
| angle | : Angle in radians width an horizontal axis oriented from left to right. |
| width | : Rectangle width. |
| height | : Rectangle height. |
| color | : Rectangle color. |
| thickness | : Thickness of the four lines used to display the rectangle. |
Definition at line 727 of file vpDisplay_uchar.cpp.
|
static |
Display a rectangle with topLeft as the top-left corner and width and height the rectangle size.
| I | : The image associated to the display. |
| topLeft | : Top-left corner of the rectangle. |
| bottomRight | : Bottom-right corner of the rectangle. |
| color | : Rectangle color. |
| fill | : When set to true fill the rectangle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the four lines used to display the rectangle. This parameter is only useful when fill is set to false. |
Definition at line 749 of file vpDisplay_uchar.cpp.
|
static |
Display a rectangle with topLeft as the top-left corner and width and height the rectangle size.
| I | : The image associated to the display. |
| topLeft | : Top-left corner of the rectangle. |
| width | : Rectangle width. |
| height | : Rectangle height. |
| color | : Rectangle color. |
| fill | : When set to true fill the rectangle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the four lines used to display the rectangle. This parameter is only useful when fill is set to false. |
Definition at line 665 of file vpDisplay_uchar.cpp.
Referenced by vpDetectorDNNOpenCV::DetectedFeatures2D::display(), vpDot2::searchDotsInArea(), and vpMeNurbs::seekExtremitiesCanny().
|
static |
Display a rectangle with topLeft as the top-left corner and width and height the rectangle size.
| I | : The image associated to the display. |
| rectangle | : Rectangle characteristics. |
| color | : Rectangle color. |
| fill | : When set to true fill the rectangle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the four lines used to display the rectangle. This parameter is only useful when fill is set to false. |
Definition at line 708 of file vpDisplay_uchar.cpp.
|
static |
Display a rectangle with (i,j) as the top-left corner and width and height the rectangle size.
| I | : The image associated to the display. |
| i | : Top-left rectangle corner location along line i in the image. |
| j | : Top-left rectangle corner location along row j in the image. |
| width | : Rectangle width. |
| height | : Rectangle height. |
| color | : Rectangle color. |
| fill | : When set to true fill the rectangle. |
| thickness | : Thickness of the four lines used to display the rectangle. This parameter is only useful when fill is set to false. |
Definition at line 687 of file vpDisplay_uchar.cpp.
|
static |
Display a rectangle defined by its center, its orientation (angle) and its size.
| I | : Image associated to the display. |
| i | : Rectangle center location along line i in the image. |
| j | : Rectangle center location along row j in the image. |
| angle | : Angle in radians width an horizontal axis oriented from left to right. |
| width | : Rectangle width. |
| height | : Rectangle height. |
| color | : Rectangle color. |
| thickness | : Thickness of the four lines used to display the rectangle. |
Definition at line 770 of file vpDisplay_uchar.cpp.
|
static |
Display a rectangle defined by its center, its orientation (angle) and its size.
| I | : Image associated to the display. |
| center | : Rectangle center point. |
| angle | : Angle in radians width an horizontal axis oriented from left to right. |
| width | : Rectangle width. |
| height | : Rectangle height. |
| color | : Rectangle color. |
| thickness | : Thickness of the four lines used to display the rectangle. |
Definition at line 725 of file vpDisplay_rgba.cpp.
|
static |
Display a rectangle with topLeft as the top-left corner and width and height the rectangle size.
| I | : The image associated to the display. |
| topLeft | : Top-left corner of the rectangle. |
| bottomRight | : Bottom-right corner of the rectangle. |
| color | : Rectangle color. |
| fill | : When set to true fill the rectangle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the four lines used to display the rectangle. This parameter is only useful when fill is set to false. |
Definition at line 747 of file vpDisplay_rgba.cpp.
|
static |
Display a rectangle with topLeft as the top-left corner and width and height the rectangle size.
| I | : The image associated to the display. |
| topLeft | : Top-left corner of the rectangle. |
| width | : Rectangle width. |
| height | : Rectangle height. |
| color | : Rectangle color. |
| fill | : When set to true fill the rectangle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the four lines used to display the rectangle. This parameter is only useful when fill is set to false. |
Definition at line 663 of file vpDisplay_rgba.cpp.
|
static |
Display a rectangle with topLeft as the top-left corner and width and height the rectangle size.
| I | : The image associated to the display. |
| rectangle | : Rectangle characteristics. |
| color | : Rectangle color. |
| fill | : When set to true fill the rectangle. When vpDisplayOpenCV is used, and color alpha channel is set, filling feature can handle transparency. See vpColor header class documentation. |
| thickness | : Thickness of the four lines used to display the rectangle. This parameter is only useful when fill is set to false. |
Definition at line 706 of file vpDisplay_rgba.cpp.
|
static |
Display a rectangle with (i,j) as the top-left corner and width and height the rectangle size.
| I | : The image associated to the display. |
| i | : Top-left rectangle corner location along line i in the image. |
| j | : Top-left rectangle corner location along row j in the image. |
| width | : Rectangle width. |
| height | : Rectangle height. |
| color | : Rectangle color. |
| fill | : When set to true fill the rectangle. |
| thickness | : Thickness of the four lines used to display the rectangle. This parameter is only useful when fill is set to false. |
Definition at line 685 of file vpDisplay_rgba.cpp.
|
static |
Display a rectangle defined by its center, its orientation (angle) and its size.
| I | : Image associated to the display. |
| i | : Rectangle center location along line i in the image. |
| j | : Rectangle center location along row j in the image. |
| angle | : Angle in radians width an horizontal axis oriented from left to right. |
| width | : Rectangle width. |
| height | : Rectangle height. |
| color | : Rectangle color. |
| thickness | : Thickness of the four lines used to display the rectangle. |
Definition at line 767 of file vpDisplay_rgba.cpp.
Update the display with the content of the image that is in the region of interest.
| I | : Image. |
| roi | : Region of interest. |
Definition at line 875 of file vpDisplay_uchar.cpp.
Update the display with the content of the image that is in the region of interest.
| I | : Image. |
| roi | : Region of interest. |
Definition at line 872 of file vpDisplay_rgba.cpp.
|
static |
Display a string at the image point ip location.
To select the font used to display the string, use setFont().
| I | : Image associated to the display. |
| ip | : Upper left image point location of the string in the display. |
| s | : String to display in overlay. |
| color | : String color. |
Definition at line 788 of file vpDisplay_uchar.cpp.
Referenced by vpColorHistogramMask::display(), vpDetectorDNNOpenCV::DetectedFeatures2D::display(), vpKltOpencv::display(), vpKltOpencv::display(), vpMbEdgeKltTracker::display(), vpMbEdgeKltTracker::display(), vpMbKltTracker::display(), vpMbKltTracker::display(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpMbTracker::initClick(), and vpMbTracker::initClick().
|
static |
Display a string at the image point (i,j) location.
To select the font used to display the string, use setFont().
| I | : Image associated to the display. |
| i | : Upper left image point location of the string along line i in the image. |
| j | : Upper left image point location of the string along row j in the image. |
| s | : String to display in overlay. |
| color | : String color. |
Definition at line 807 of file vpDisplay_uchar.cpp.
|
static |
Display a string at the image point ip location.
To select the font used to display the string, use setFont().
| I | : Image associated to the display. |
| ip | : Upper left image point location of the string in the display. |
| s | : String to display in overlay. |
| color | : String color. |
Definition at line 785 of file vpDisplay_rgba.cpp.
|
static |
Display a string at the image point (i,j) location.
To select the font used to display the string, use setFont().
| I | : Image associated to the display. |
| i | : Upper left image point location of the string along line i in the image. |
| j | : Upper left image point location of the string along row j in the image. |
| s | : String to display in overlay. |
| color | : String color. |
Definition at line 804 of file vpDisplay_rgba.cpp.
|
static |
Flushes the output buffer associated to image I display. It's necessary to use this function to see the results of any drawing.
Definition at line 845 of file vpDisplay_uchar.cpp.
Referenced by vpMbtDistanceCylinder::computeInteractionMatrixError(), vpDot2::defineDots(), vpMbtDistanceCircle::displayMovingEdges(), vpMbtDistanceCircle::displayMovingEdges(), vpMbTracker::initClick(), vpMbTracker::initClick(), vpPolygon::initClick(), vpPolygon::initClick(), vpTemplateTrackerZone::initClick(), vpMeEllipse::initTracking(), vpMeEllipse::initTracking(), vpMeEllipse::initTracking(), vpMeEllipse::initTracking(), vpMeLine::initTracking(), vpMeNurbs::initTracking(), vpDisplayFactory::impl::makeDisplayGridHelper(), vpDot2::searchDotsInArea(), vpMbDepthDenseTracker::segmentPointCloud(), vpMbDepthDenseTracker::segmentPointCloud(), vpMbDepthDenseTracker::segmentPointCloud(), vpMbDepthNormalTracker::segmentPointCloud(), vpMbDepthNormalTracker::segmentPointCloud(), vpMbDepthNormalTracker::segmentPointCloud(), vpSimulatorAfma6::setPosition(), vpMeLine::track(), vpDot2::trackAndDisplay(), vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
Flushes the output buffer associated to image I display. It's necessary to use this function to see the results of any drawing.
Definition at line 842 of file vpDisplay_rgba.cpp.
Flushes the output buffer associated to image I display. It's necessary to use this function to see the results of any drawing.
Definition at line 856 of file vpDisplay_uchar.cpp.
Flushes the output buffer associated to image I display. It's necessary to use this function to see the results of any drawing.
Definition at line 853 of file vpDisplay_rgba.cpp.
|
static |
Wait for a click from one of the mouse button.
| I | [in] : The displayed image. |
| blocking | [in] : Blocking behavior.
|
Definition at line 894 of file vpDisplay_uchar.cpp.
Referenced by vpDot2::defineDots(), getClick(), getClick(), vpPlot::getPixelValue(), vpMbTracker::initClick(), vpMbTracker::initClick(), vpPolygon::initClick(), vpPolygon::initClick(), vpTemplateTrackerZone::initClick(), vpDot2::initTracking(), vpDot::initTracking(), vpMeEllipse::initTracking(), vpMeEllipse::initTracking(), vpMeLine::initTracking(), vpMeNurbs::initTracking(), vpWireFrameSimulator::navigation(), and vpWireFrameSimulator::navigation().
|
static |
Wait for a click from one of the mouse button and get the position of the clicked image point.
| I | [in] : The displayed image. |
| ip | [out] : The coordinates of the clicked image point. |
| blocking | [in] : Blocking behavior.
|
Definition at line 914 of file vpDisplay_uchar.cpp.
|
static |
Wait for a mouse button click and get the position of the clicked image point. The button used to click is also set.
| I | [in] : The displayed image. |
| ip | [out] : The coordinates of the clicked image point. |
| button | [out] : The button used to click. |
| blocking | [in] :
|
Definition at line 939 of file vpDisplay_uchar.cpp.
|
static |
Wait for a mouse button click and get the position of the clicked image point. The button used to click is also set.
| I | [in] : The displayed image. |
| button | [out] : The button used to click. |
| blocking | [in] :
|
Definition at line 961 of file vpDisplay_uchar.cpp.
References getClick().
Wait for a click from one of the mouse button.
| I | [in] : The displayed image. |
| blocking | [in] : Blocking behavior.
|
Definition at line 891 of file vpDisplay_rgba.cpp.
|
static |
Wait for a click from one of the mouse button and get the position of the clicked image point.
| I | [in] : The displayed image. |
| ip | [out] : The coordinates of the clicked image point. |
| blocking | [in] : Blocking behavior.
|
Definition at line 911 of file vpDisplay_rgba.cpp.
|
static |
Wait for a mouse button click and get the position of the clicked image point. The button used to click is also set.
| I | [in] : The displayed image. |
| ip | [out] : The coordinates of the clicked image point. |
| button | [out] : The button used to click. |
| blocking | [in] :
|
Definition at line 936 of file vpDisplay_rgba.cpp.
|
static |
Wait for a mouse button click and get the position of the clicked image point. The button used to click is also set.
| I | [in] : The displayed image. |
| button | [out] : The button used to click. |
| blocking | [in] :
|
Definition at line 958 of file vpDisplay_rgba.cpp.
References getClick().
|
static |
Wait for a mouse button click release and get the position of the clicked image point. The button used to click is also set.
| I | [in] : The displayed image. |
| ip | [out] : The coordinates of the clicked image point. |
| button | [out] : The clicked button. |
| blocking | [in] :
|
Definition at line 987 of file vpDisplay_uchar.cpp.
Referenced by getClickUp(), getClickUp(), vpWireFrameSimulator::navigation(), and vpWireFrameSimulator::navigation().
|
static |
Wait for a mouse button click release and get the position of the clicked image point. The button used to click is also set.
| I | [in] : The displayed image. |
| button | [out] : The clicked button. |
| blocking | [in] :
|
Definition at line 1009 of file vpDisplay_uchar.cpp.
References getClickUp().
|
static |
Wait for a mouse button click release and get the position of the clicked image point. The button used to click is also set.
| I | [in] : The displayed image. |
| ip | [out] : The coordinates of the clicked image point. |
| button | [out] : The clicked button. |
| blocking | [in] :
|
Definition at line 984 of file vpDisplay_rgba.cpp.
|
static |
Wait for a mouse button click release and get the position of the clicked image point. The button used to click is also set.
| I | [in] : The displayed image. |
| button | [out] : The clicked button. |
| blocking | [in] :
|
Definition at line 1006 of file vpDisplay_rgba.cpp.
References getClickUp().
|
inline |
Return the value of the down scale factor applied to the image in order to reduce the size of the window used to display the image.
Definition at line 218 of file vpDisplay.h.
References m_scale.
Referenced by vpMbTracker::initClick(), and vpMbTracker::initClick().
|
static |
Return the value of the down scale factor applied to the image in order to reduce the size of the window used to display the image. When display is not initialized, returns 1.
| I | : Image associated to the display window. |
Definition at line 1392 of file vpDisplay_uchar.cpp.
Return the value of the down scale factor applied to the image in order to reduce the size of the window used to display the image. When display is not initialized, returns 1.
| I | : Image associated to the display window. |
Definition at line 1382 of file vpDisplay_rgba.cpp.
|
inline |
Return the display height.
Definition at line 223 of file vpDisplay.h.
References m_height.
|
static |
Get the window pixmap and put it in vpRGBa image.
The code below shows how to use this method.
Definition at line 139 of file vpDisplay.cpp.
References vpImageConvert::convert(), vpImage< Type >::display, and getImage().
Referenced by getImage(), and getImage().
Get the window pixmap and put it in vpRGBa image.
The code below shows how to use this method.
Definition at line 217 of file vpDisplay.cpp.
References vpImage< Type >::display, and getImage().
|
static |
Get a keyboard event.
| I | [in] : The displayed image. |
| blocking | [in] : Blocking behavior.
|
Below you will find an example showing how to use this method.
Definition at line 1102 of file vpDisplay_uchar.cpp.
|
static |
Get a keyboard event.
| I | [in] : The displayed image. |
| blocking | [in] : Blocking behavior.
|
| key | [out]: If possible, an ISO Latin-1 character corresponding to the keyboard key. |
Below you will find an example showing how to use this method.
Definition at line 1292 of file vpDisplay_uchar.cpp.
|
static |
Get a keyboard event.
| I | [in] : The displayed image. |
| blocking | [in] : Blocking behavior.
|
| key | [out]: If possible, an ISO Latin-1 character corresponding to the keyboard key. |
Below you will find an example showing how to use this method.
Definition at line 1197 of file vpDisplay_uchar.cpp.
Get a keyboard event.
| I | [in] : The displayed image. |
| blocking | [in] : Blocking behavior.
|
Below you will find an example showing how to use this method.
Definition at line 1098 of file vpDisplay_rgba.cpp.
|
static |
Get a keyboard event.
| I | [in] : The displayed image. |
| blocking | [in] : Blocking behavior.
|
| key | [out]: If possible, an ISO Latin-1 character corresponding to the keyboard key. |
Below you will find an example showing how to use this method.
Definition at line 1288 of file vpDisplay_rgba.cpp.
|
static |
Get a keyboard event.
| I | [in] : The displayed image. |
| blocking | [in] : Blocking behavior.
|
| key | [out]: If possible, an ISO Latin-1 character corresponding to the keyboard key. |
Below you will find an example showing how to use this method.
Definition at line 1193 of file vpDisplay_rgba.cpp.
|
static |
Get the coordinates of the mouse pointer.
| I | [in] : The displayed image. |
| ip | [out] : The coordinates of the mouse pointer. |
Definition at line 1306 of file vpDisplay_uchar.cpp.
|
static |
Get the coordinates of the mouse pointer.
| I | [in] : The displayed image. |
| ip | [out] : The coordinates of the mouse pointer. |
Definition at line 1302 of file vpDisplay_rgba.cpp.
|
static |
Get the coordinates of the mouse pointer.
| I | [in] : The displayed image. |
| ip | [out] : The coordinates of the mouse pointer. |
Definition at line 1320 of file vpDisplay_uchar.cpp.
Referenced by vpPlot::getPixelValue(), vpPlot::navigate(), vpWireFrameSimulator::navigation(), and vpWireFrameSimulator::navigation().
|
static |
Get the coordinates of the mouse pointer.
| I | [in] : The displayed image. |
| ip | [out] : The coordinates of the mouse pointer. |
Definition at line 1316 of file vpDisplay_rgba.cpp.
|
inline |
Return the display width.
Definition at line 228 of file vpDisplay.h.
References m_width.
|
inline |
Return the position (along the horizontal axis) on the screen of the display window.
Definition at line 234 of file vpDisplay.h.
References m_windowXPosition.
Referenced by vpMbTracker::initClick().
|
inline |
Return the position (along the vertical axis) on the screen of the display window.
Definition at line 239 of file vpDisplay.h.
References m_windowYPosition.
Referenced by vpMbTracker::initClick().
|
inline |
Check if the display has been initialised.
Definition at line 246 of file vpDisplay.h.
References m_displayHasBeenInitialized.
References computeAutoScale(), and vpDisplay().
Set the window background.
| I | : Image associated to the display window. |
| color | : Background color. |
| vpDisplayException::notInitializedError | : If the video device is not initialized. |
Definition at line 1334 of file vpDisplay_uchar.cpp.
Set the window background.
| I | : Image associated to the display window. |
| color | : Background color. |
| vpDisplayException::notInitializedError | : If the video device is not initialized. |
Definition at line 1330 of file vpDisplay_rgba.cpp.
|
virtual |
Set the down scale factor applied to the image in order to reduce the display size.
| scale | : Scale factor applied to display a rescaled image. |
Reimplemented in vpDisplayWin32.
Definition at line 232 of file vpDisplay.cpp.
References m_displayHasBeenInitialized, and m_scale.
Referenced by setScale().
|
virtual |
Set the down scaling factor either in auto mode or set manually.
This method has to be called before display initialization.
Reimplemented in vpDisplayWin32.
Definition at line 335 of file vpDisplay.cpp.
References m_displayHasBeenInitialized, and m_scaleType.
|
static |
Set the font of a text printed in the display overlay. To print a text you may use displayText().
| I | : Image associated to the display window. |
| fontname | : The expected font name. |
Definition at line 1352 of file vpDisplay_uchar.cpp.
Referenced by vpPlot::setFont().
Set the font of a text printed in the display overlay. To print a text you may use displayText().
| I | : Image associated to the display window. |
| fontname | : The expected font name. |
Definition at line 1345 of file vpDisplay_rgba.cpp.
|
protected |
Set the down scaling factor either in auto mode or set manually.
Definition at line 263 of file vpDisplay.cpp.
References computeAutoScale(), vpException::fatalError, SCALE_1, SCALE_10, SCALE_2, SCALE_3, SCALE_4, SCALE_5, SCALE_6, SCALE_7, SCALE_8, SCALE_9, SCALE_AUTO, SCALE_DEFAULT, and setDownScalingFactor().
Referenced by vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayOpenCV::init(), vpDisplayOpenCV::init(), vpDisplayOpenCV::init(), vpDisplayWin32::init(), vpDisplayWin32::init(), vpDisplayWin32::init(), vpDisplayX::init(), vpDisplayX::init(), vpDisplayX::init(), vpDisplayGDI::vpDisplayGDI(), vpDisplayGDI::vpDisplayGDI(), vpDisplayGDI::vpDisplayGDI(), vpDisplayGDI::vpDisplayGDI(), vpDisplayGTK::vpDisplayGTK(), vpDisplayGTK::vpDisplayGTK(), vpDisplayGTK::vpDisplayGTK(), vpDisplayGTK::vpDisplayGTK(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayOpenCV::vpDisplayOpenCV(), vpDisplayX::vpDisplayX(), vpDisplayX::vpDisplayX(), vpDisplayX::vpDisplayX(), and vpDisplayX::vpDisplayX().
|
static |
Set the windows title.
| I | : Image associated to the display window. |
| windowtitle | : Window title. |
Definition at line 1364 of file vpDisplay_uchar.cpp.
Set the windows title.
| I | : Image associated to the display window. |
| windowtitle | : Window title. |
Definition at line 1354 of file vpDisplay_rgba.cpp.
|
static |
Set the window position in the screen.
| I | : Image associated to the display window. |
| winx | : Coordinates along the horizontal screen x-axis of the position of the upper-left window's border in the screen. |
| winy | : Coordinates along the vertical screen y-axis of the position of the upper-left window's border in the screen. |
| vpDisplayException::notInitializedError | : If the video device is not initialized. |
Definition at line 1380 of file vpDisplay_uchar.cpp.
Set the window position in the screen.
| I | : Image associated to the display window. |
| winx | : Coordinates along the horizontal screen x-axis of the position of the upper-left window's border in the screen. |
| winy | : Coordinates along the vertical screen y-axis of the position of the upper-left window's border in the screen. |
| vpDisplayException::notInitializedError | : If the video device is not initialized. |
Definition at line 1370 of file vpDisplay_rgba.cpp.
|
protected |
display has been initialized
Definition at line 922 of file vpDisplay.h.
Referenced by vpDisplayX::clearDisplay(), vpDisplayGTK::closeDisplay(), vpDisplayOpenCV::closeDisplay(), vpDisplayWin32::closeDisplay(), vpDisplayX::closeDisplay(), vpDisplayGTK::displayArrow(), vpDisplayOpenCV::displayArrow(), vpDisplayX::displayArrow(), vpDisplayGTK::displayCircle(), vpDisplayOpenCV::displayCircle(), vpDisplayX::displayCircle(), vpDisplayGTK::displayCross(), vpDisplayOpenCV::displayCross(), vpDisplayX::displayCross(), vpDisplayGTK::displayDotLine(), vpDisplayOpenCV::displayDotLine(), vpDisplayX::displayDotLine(), vpDisplayGTK::displayImage(), vpDisplayGTK::displayImage(), vpDisplayOpenCV::displayImage(), vpDisplayOpenCV::displayImage(), vpDisplayX::displayImage(), vpDisplayX::displayImage(), vpDisplayX::displayImage(), vpDisplayGTK::displayImageROI(), vpDisplayGTK::displayImageROI(), vpDisplayOpenCV::displayImageROI(), vpDisplayOpenCV::displayImageROI(), vpDisplayX::displayImageROI(), vpDisplayX::displayImageROI(), vpDisplayGTK::displayLine(), vpDisplayOpenCV::displayLine(), vpDisplayX::displayLine(), vpDisplayGTK::displayPoint(), vpDisplayOpenCV::displayPoint(), vpDisplayX::displayPoint(), vpDisplayGTK::displayRectangle(), vpDisplayGTK::displayRectangle(), vpDisplayGTK::displayRectangle(), vpDisplayOpenCV::displayRectangle(), vpDisplayOpenCV::displayRectangle(), vpDisplayOpenCV::displayRectangle(), vpDisplayX::displayRectangle(), vpDisplayX::displayRectangle(), vpDisplayX::displayRectangle(), vpDisplayGTK::displayText(), vpDisplayOpenCV::displayText(), vpDisplayX::displayText(), vpDisplayGTK::flushDisplay(), vpDisplayOpenCV::flushDisplay(), vpDisplayX::flushDisplay(), vpDisplayGTK::flushDisplayROI(), vpDisplayOpenCV::flushDisplayROI(), vpDisplayX::flushDisplayROI(), vpDisplayGTK::getClick(), vpDisplayGTK::getClick(), vpDisplayGTK::getClick(), vpDisplayOpenCV::getClick(), vpDisplayOpenCV::getClick(), vpDisplayOpenCV::getClick(), vpDisplayX::getClick(), vpDisplayX::getClick(), vpDisplayX::getClick(), vpDisplayGTK::getClickUp(), vpDisplayOpenCV::getClickUp(), vpDisplayX::getClickUp(), vpDisplayGTK::getImage(), vpDisplayX::getImage(), vpDisplayGTK::getKeyboardEvent(), vpDisplayGTK::getKeyboardEvent(), vpDisplayOpenCV::getKeyboardEvent(), vpDisplayOpenCV::getKeyboardEvent(), vpDisplayX::getKeyboardEvent(), vpDisplayX::getKeyboardEvent(), vpDisplayGTK::getPointerMotionEvent(), vpDisplayOpenCV::getPointerMotionEvent(), vpDisplayX::getPointerMotionEvent(), vpDisplayGTK::getPointerPosition(), vpDisplayOpenCV::getPointerPosition(), vpDisplayX::getPointerPosition(), vpDisplayGTK::getScreenSize(), vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayOpenCV::init(), vpDisplayOpenCV::init(), vpDisplayOpenCV::init(), vpDisplayWin32::init(), vpDisplayX::init(), vpDisplayX::init(), vpDisplayX::init(), isInitialised(), setDownScalingFactor(), setDownScalingFactor(), vpDisplayX::setFont(), vpDisplayGTK::setTitle(), vpDisplayX::setTitle(), vpDisplayGTK::setWindowPosition(), vpDisplayOpenCV::setWindowPosition(), vpDisplayX::setWindowPosition(), vpDisplay(), vpDisplay(), and ~vpDisplay().
|
protected |
Definition at line 928 of file vpDisplay.h.
Referenced by vpDisplayX::clearDisplay(), vpDisplayGTK::displayImage(), vpDisplayGTK::displayImage(), vpDisplayOpenCV::displayImage(), vpDisplayOpenCV::displayImage(), vpDisplayX::displayImage(), vpDisplayX::displayImage(), vpDisplayX::displayImage(), vpDisplayOpenCV::displayImageROI(), vpDisplayOpenCV::displayImageROI(), vpDisplayX::displayImageROI(), vpDisplayX::displayImageROI(), getHeight(), vpDisplayGTK::getImage(), vpDisplayX::getImage(), vpDisplayGTK::init(), vpDisplayOpenCV::init(), vpDisplayX::init(), vpDisplay(), and vpDisplay().
|
protected |
Definition at line 930 of file vpDisplay.h.
Referenced by vpDisplayOpenCV::displayArrow(), vpDisplayGTK::displayCircle(), vpDisplayOpenCV::displayCircle(), vpDisplayX::displayCircle(), vpDisplayOpenCV::displayCross(), vpDisplayGTK::displayDotLine(), vpDisplayOpenCV::displayDotLine(), vpDisplayX::displayDotLine(), vpDisplayGTK::displayImage(), vpDisplayGTK::displayImage(), vpDisplayOpenCV::displayImage(), vpDisplayOpenCV::displayImage(), vpDisplayX::displayImage(), vpDisplayX::displayImage(), vpDisplayGTK::displayImageROI(), vpDisplayGTK::displayImageROI(), vpDisplayOpenCV::displayImageROI(), vpDisplayOpenCV::displayImageROI(), vpDisplayX::displayImageROI(), vpDisplayX::displayImageROI(), vpDisplayGTK::displayLine(), vpDisplayOpenCV::displayLine(), vpDisplayX::displayLine(), vpDisplayGTK::displayPoint(), vpDisplayOpenCV::displayPoint(), vpDisplayWin32::displayPoint(), vpDisplayX::displayPoint(), vpDisplayGTK::displayRectangle(), vpDisplayGTK::displayRectangle(), vpDisplayGTK::displayRectangle(), vpDisplayOpenCV::displayRectangle(), vpDisplayX::displayRectangle(), vpDisplayX::displayRectangle(), vpDisplayX::displayRectangle(), vpDisplayGTK::displayText(), vpDisplayOpenCV::displayText(), vpDisplayX::displayText(), vpDisplayX::flushDisplayROI(), vpDisplayGTK::getClick(), vpDisplayGTK::getClick(), vpDisplayGTK::getClick(), vpDisplayOpenCV::getClick(), vpDisplayWin32::getClick(), vpDisplayWin32::getClick(), vpDisplayX::getClick(), vpDisplayX::getClick(), vpDisplayX::getClick(), vpDisplayGTK::getClickUp(), vpDisplayOpenCV::getClickUp(), vpDisplayWin32::getClickUp(), vpDisplayX::getClickUp(), getDownScalingFactor(), vpDisplayGTK::getPointerMotionEvent(), vpDisplayOpenCV::getPointerMotionEvent(), vpDisplayWin32::getPointerMotionEvent(), vpDisplayX::getPointerMotionEvent(), vpDisplayGTK::getPointerPosition(), vpDisplayOpenCV::getPointerPosition(), vpDisplayWin32::getPointerPosition(), vpDisplayX::getPointerPosition(), vpDisplayGTK::init(), vpDisplayOpenCV::init(), vpDisplayWin32::init(), vpDisplayWin32::init(), vpDisplayWin32::init(), vpDisplayX::init(), setDownScalingFactor(), vpDisplayWin32::setDownScalingFactor(), vpDisplay(), and vpDisplay().
|
protected |
Definition at line 931 of file vpDisplay.h.
Referenced by vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayOpenCV::init(), vpDisplayOpenCV::init(), vpDisplayOpenCV::init(), vpDisplayWin32::init(), vpDisplayWin32::init(), vpDisplayWin32::init(), vpDisplayX::init(), vpDisplayX::init(), vpDisplayX::init(), setDownScalingFactor(), vpDisplayWin32::setDownScalingFactor(), vpDisplay(), and vpDisplay().
|
protected |
Definition at line 929 of file vpDisplay.h.
Referenced by vpDisplayOpenCV::closeDisplay(), vpDisplayOpenCV::flushDisplay(), vpDisplayOpenCV::flushDisplayROI(), vpDisplayOpenCV::getClick(), vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayOpenCV::init(), vpDisplayWin32::init(), vpDisplayX::init(), vpDisplayX::init(), vpDisplayX::init(), vpDisplayGTK::setTitle(), vpDisplayX::setTitle(), vpDisplayOpenCV::setWindowPosition(), vpDisplay(), vpDisplay(), vpDisplayGDI::vpDisplayGDI(), vpDisplayGTK::vpDisplayGTK(), and vpDisplayX::vpDisplayX().
|
protected |
Definition at line 927 of file vpDisplay.h.
Referenced by vpDisplayX::clearDisplay(), vpDisplayGTK::displayImage(), vpDisplayGTK::displayImage(), vpDisplayOpenCV::displayImage(), vpDisplayOpenCV::displayImage(), vpDisplayX::displayImage(), vpDisplayX::displayImage(), vpDisplayX::displayImage(), vpDisplayOpenCV::displayImageROI(), vpDisplayOpenCV::displayImageROI(), vpDisplayX::displayImageROI(), vpDisplayX::displayImageROI(), vpDisplayGTK::getImage(), vpDisplayX::getImage(), getWidth(), vpDisplayGTK::init(), vpDisplayOpenCV::init(), vpDisplayX::init(), vpDisplay(), and vpDisplay().
|
protected |
display position
Definition at line 924 of file vpDisplay.h.
Referenced by getWindowXPosition(), vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayOpenCV::init(), vpDisplayWin32::init(), vpDisplayX::init(), vpDisplayX::init(), vpDisplayX::init(), vpDisplayOpenCV::setWindowPosition(), vpDisplay(), vpDisplay(), vpDisplayGDI::vpDisplayGDI(), vpDisplayGTK::vpDisplayGTK(), vpDisplayOpenCV::vpDisplayOpenCV(), and vpDisplayX::vpDisplayX().
|
protected |
display position
Definition at line 926 of file vpDisplay.h.
Referenced by getWindowYPosition(), vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayGTK::init(), vpDisplayOpenCV::init(), vpDisplayWin32::init(), vpDisplayX::init(), vpDisplayX::init(), vpDisplayX::init(), vpDisplayOpenCV::setWindowPosition(), vpDisplay(), vpDisplay(), vpDisplayGDI::vpDisplayGDI(), vpDisplayGTK::vpDisplayGTK(), vpDisplayOpenCV::vpDisplayOpenCV(), and vpDisplayX::vpDisplayX().