Geometric features projection example.
#include <visp3/core/vpDebug.h>
#include <visp3/io/vpImageIo.h>
#include <visp3/core/vpImage.h>
#include <visp3/core/vpDisplay.h>
#include <visp3/gui/vpDisplayGTK.h>
#include <visp3/core/vpHomogeneousMatrix.h>
#include <visp3/core/vpCameraParameters.h>
#include <visp3/core/vpPoint.h>
#include <visp3/core/vpLine.h>
#include <visp3/core/vpCylinder.h>
#include <visp3/core/vpCircle.h>
#include <visp3/core/vpSphere.h>
#include <iostream>
int main()
{
#ifdef VISP_HAVE_GTK
try {
std::cout << "ViSP geometric features display example" <<std::endl;
unsigned int height = 288;
unsigned int width = 384;
I = 255;
display.
init(I,100,100,
"ViSP geometric features display");
std::cout << "A click in the display to exit" << std::endl;
std::cout << "ViSP creates \"./geometricFeatures.ppm\" B&W image "<< std::endl;
return 0;
}
std::cout << "Catch an exception: " << e << std::endl;
return 1;
}
#endif
}