Visual Servoing Platform
version 3.6.1 under development (2024-11-14)
|
#include <visp3/gui/vpProjectionDisplay.h>
Public Member Functions | |
void | init () |
void | init (int select) |
void | close () |
vpProjectionDisplay () | |
VP_EXPLICIT | 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.
|
inline |
Definition at line 104 of file vpProjectionDisplay.h.
void vpProjectionDisplay::close | ( | ) |
Definition at line 92 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 94 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 118 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 70 of file vpProjectionDisplay.cpp.
References vpArray2D< Type >::resize(), and vpPoint::setWorldCoordinates().
void vpProjectionDisplay::init | ( | int | select | ) |
Definition at line 78 of file vpProjectionDisplay.cpp.
References externalView(), init(), vpDisplayGTK::init(), internalView(), and vpImage< Type >::resize().
Referenced by init().
BEGIN_VISP_NAMESPACE void vpProjectionDisplay::insert | ( | vpForwardProjection & | fp | ) |
Definition at line 61 of file vpProjectionDisplay.cpp.
|
inlinestatic |
Definition at line 91 of file vpProjectionDisplay.h.
Referenced by init().