Visual Servoing Platform
version 3.5.1 under development (2023-09-22)
|
#include <visp3/gui/vpProjectionDisplay.h>
Public Member Functions | |
void | init () |
void | init (int select) |
void | close () |
vpProjectionDisplay () | |
vpProjectionDisplay (int select) | |
void | insert (vpForwardProjection &fp) |
void | display (vpImage< unsigned char > &I, const vpHomogeneousMatrix &cextMo, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, const vpColor &color, const bool &displayTraj=false, unsigned int thickness=1) |
void | displayCamera (vpImage< unsigned char > &I, const vpHomogeneousMatrix &cextMo, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, unsigned int thickness=1) |
Static Public Member Functions | |
static int | internalView () |
static int | externalView () |
interface with the image for feature display
Definition at line 65 of file vpProjectionDisplay.h.
|
inline |
Default constructor.
Definition at line 95 of file vpProjectionDisplay.h.
|
inlineexplicit |
Definition at line 104 of file vpProjectionDisplay.h.
void vpProjectionDisplay::close | ( | ) |
Definition at line 91 of file vpProjectionDisplay.cpp.
void vpProjectionDisplay::display | ( | vpImage< unsigned char > & | I, |
const vpHomogeneousMatrix & | cextMo, | ||
const vpHomogeneousMatrix & | cMo, | ||
const vpCameraParameters & | cam, | ||
const vpColor & | color, | ||
const bool & | displayTraj = false , |
||
unsigned int | thickness = 1 |
||
) |
Definition at line 93 of file vpProjectionDisplay.cpp.
References vpMeterPixelConversion::convertPoint(), vpForwardProjection::display(), displayCamera(), vpDisplay::displayCircle(), vpArray2D< Type >::getRows(), vpColor::green, vpTracker::p, and vpArray2D< Type >::resize().
void vpProjectionDisplay::displayCamera | ( | vpImage< unsigned char > & | I, |
const vpHomogeneousMatrix & | cextMo, | ||
const vpHomogeneousMatrix & | cMo, | ||
const vpCameraParameters & | cam, | ||
unsigned int | thickness = 1 |
||
) |
Definition at line 117 of file vpProjectionDisplay.cpp.
References vpColor::blue, vpMeterPixelConversion::convertPoint(), vpDisplay::displayArrow(), vpPoint::get_Z(), vpColor::green, vpHomogeneousMatrix::inverse(), vpTracker::p, vpColor::red, and vpForwardProjection::track().
Referenced by display().
|
inlinestatic |
Definition at line 92 of file vpProjectionDisplay.h.
Referenced by init().
void vpProjectionDisplay::init | ( | ) |
Definition at line 69 of file vpProjectionDisplay.cpp.
References vpArray2D< Type >::resize(), and vpPoint::setWorldCoordinates().
Referenced by init().
void vpProjectionDisplay::init | ( | int | select | ) |
Definition at line 77 of file vpProjectionDisplay.cpp.
References externalView(), init(), vpDisplayX::init(), internalView(), and vpImage< Type >::resize().
void vpProjectionDisplay::insert | ( | vpForwardProjection & | fp | ) |
Definition at line 60 of file vpProjectionDisplay.cpp.
|
inlinestatic |
Definition at line 91 of file vpProjectionDisplay.h.
Referenced by init().