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>
61 #if defined(VISP_HAVE_OGRE)
62 #if defined(VISP_HAVE_V4L2) || defined(VISP_HAVE_DC1394_2) || defined(VISP_HAVE_DIRECTSHOW) || defined(VISP_HAVE_OPENCV)
65 #if defined(VISP_HAVE_V4L2)
68 #elif defined(VISP_HAVE_DC1394_2)
71 #elif defined(VISP_HAVE_DIRECTSHOW)
74 #elif defined(VISP_HAVE_OPENCV)
122 ogre.load(
"Robot",
"robot.mesh");
124 ogre.setScale(
"Robot", 0.001f,0.001f,0.001f);
129 std::cout <<
"cMo:\n" << cMo << std::endl;
132 while(ogre.continueRendering()){
145 std::cout <<
"You need an available framegrabber to run this example" << std::endl;
148 std::cout <<
"You need Ogre3D to run this example" << std::endl;
153 std::cout <<
"Catch an exception: " << e << std::endl;
157 std::cout <<
"Catch an exception " << std::endl;
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
error that can be emited by ViSP classes.
Implementation of an augmented reality viewer.
class for windows direct show devices
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.