49 #include <visp/vpOpenCVGrabber.h>
50 #include <visp/vpV4l2Grabber.h>
51 #include <visp/vp1394TwoGrabber.h>
52 #include <visp/vpDirectShowGrabber.h>
53 #include <visp/vpHomogeneousMatrix.h>
54 #include <visp/vpImage.h>
55 #include <visp/vpCameraParameters.h>
56 #include <visp/vpAROgre.h>
60 #if defined(VISP_HAVE_OGRE)
61 #if defined(VISP_HAVE_V4L2) || defined(VISP_HAVE_DC1394_2) || defined(VISP_HAVE_DIRECTSHOW) || defined(VISP_HAVE_OPENCV)
64 #if defined(VISP_HAVE_V4L2)
67 #elif defined(VISP_HAVE_DC1394_2)
70 #elif defined(VISP_HAVE_DIRECTSHOW)
73 #elif defined(VISP_HAVE_OPENCV)
120 ogre.load(
"Robot",
"robot.mesh");
122 ogre.setScale(
"Robot", 0.001f,0.001f,0.001f);
127 while(ogre.continueRendering()){
140 std::cout <<
"You need an available framegrabber to run this example" << std::endl;
143 std::cout <<
"You Ogre3D to run this example" << std::endl;
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
Implementation of an augmented reality viewer.
The vpRotationMatrix considers the particular case of a rotation matrix.
virtual void init(vpImage< unsigned char > &I, bool bufferedKeys=false, bool hidden=false)
unsigned int getWidth() const
Return the number of columns in the image.
Generic class defining intrinsic camera parameters.
Class for the Video4Linux2 video device.
void acquire(vpImage< unsigned char > &I)
Class that consider the case of the Euler angle using the x-y-z convention, where are respectively ...
Class for firewire ieee1394 video devices using libdc1394-2.x api.
Class that consider the case of a translation vector.
unsigned int getHeight() const
Return the number of rows in the image.
Class for cameras video capture using OpenCV library.