#include <visp/vpFeatureBuilder.h>
#include <visp/vpServo.h>
#include <visp/vpSimulatorCamera.h>
#include <visp/vpDisplayX.h>
#include <visp/vpDisplayGDI.h>
#include <visp/vpProjectionDisplay.h>
#include <visp/vpServoDisplay.h>
{
static std::vector<vpImagePoint> traj[4];
for (unsigned int i=0; i<4; i++) {
point[i].project(cMo);
traj[i].push_back(cog);
}
for (unsigned int i=0; i<4; i++) {
for (unsigned int j=1; j<traj[i].size(); j++) {
}
}
}
int main()
{
std::vector<vpPoint> point(4) ;
point[0].setWorldCoordinates(-0.1,-0.1, 0);
point[1].setWorldCoordinates( 0.1,-0.1, 0);
point[2].setWorldCoordinates( 0.1, 0.1, 0);
point[3].setWorldCoordinates(-0.1, 0.1, 0);
for (int i = 0 ; i < 4 ; i++) {
point[i].track(cdMo);
point[i].track(cMo);
}
wMo = wMc * cMo;
#if defined(VISP_HAVE_X11)
vpDisplayX displayInt(Iint, 0, 0,
"Internal view");
vpDisplayX displayExt(Iext, 670, 0,
"External view");
#elif defined(VISP_HAVE_GDI)
#else
std::cout << "No image viewer is available..." << std::endl;
#endif
#if defined(VISP_HAVE_DISPLAY)
for (int i = 0 ; i < 4 ; i++)
externalview.
insert(point[i]) ;
#endif
while(1) {
for (int i = 0 ; i < 4 ; i++) {
point[i].track(cMo);
}
display_trajectory(Iint, point, cMo, cam);
#if defined(VISP_HAVE_DISPLAY)
#endif
break;
}
}