Visual Servoing Platform
version 3.4.0
|
#include <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 68 of file vpProjectionDisplay.h.
|
inline |
Default constructor.
Definition at line 98 of file vpProjectionDisplay.h.
|
inlineexplicit |
Definition at line 107 of file vpProjectionDisplay.h.
void vpProjectionDisplay::close | ( | ) |
Definition at line 94 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 96 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 120 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 95 of file vpProjectionDisplay.h.
Referenced by init().
void vpProjectionDisplay::init | ( | ) |
Definition at line 72 of file vpProjectionDisplay.cpp.
References vpArray2D< Type >::resize(), and vpPoint::setWorldCoordinates().
Referenced by init().
void vpProjectionDisplay::init | ( | int | select | ) |
Definition at line 80 of file vpProjectionDisplay.cpp.
References externalView(), init(), vpDisplayX::init(), internalView(), and vpImage< Type >::resize().
void vpProjectionDisplay::insert | ( | vpForwardProjection & | fp | ) |
Definition at line 63 of file vpProjectionDisplay.cpp.
|
inlinestatic |
Definition at line 94 of file vpProjectionDisplay.h.
Referenced by init().