ViSP  2.8.0
vpAR.h
1 /****************************************************************************
2  *
3  * $Id: vpAR.h 4056 2013-01-05 13:04:42Z fspindle $
4  *
5  * This file is part of the ViSP software.
6  * Copyright (C) 2005 - 2013 by INRIA. All rights reserved.
7  *
8  * This software is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * ("GPL") version 2 as published by the Free Software Foundation.
11  * See the file LICENSE.txt at the root directory of this source
12  * distribution for additional information about the GNU GPL.
13  *
14  * For using ViSP with software that can not be combined with the GNU
15  * GPL, please contact INRIA about acquiring a ViSP Professional
16  * Edition License.
17  *
18  * See http://www.irisa.fr/lagadic/visp/visp.html for more information.
19  *
20  * This software was developed at:
21  * INRIA Rennes - Bretagne Atlantique
22  * Campus Universitaire de Beaulieu
23  * 35042 Rennes Cedex
24  * France
25  * http://www.irisa.fr/lagadic
26  *
27  * If you have questions regarding the use of this file, please contact
28  * INRIA at visp@inria.fr
29  *
30  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
31  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
32  *
33  *
34  * Description:
35  * Use to display an image behind the internal view of the simulator
36  * used for augmented reality application
37  *
38  * Authors:
39  * Eric Marchand
40  * Fabien Spindler
41  *
42  *****************************************************************************/
43 
44 
57 #ifndef vpAR_HH
58 #define vpAR_HH
59 
60 #include <visp/vpConfig.h>
61 
62 #ifdef VISP_HAVE_COIN_AND_GUI
63 
64 // visp
65 #include <visp/vpDebug.h>
66 #include <visp/vpHomogeneousMatrix.h>
67 #include <visp/vpCameraParameters.h>
68 
69 #include <visp/vpSimulator.h>
70 
71 #include <visp/vpViewer.h>
72 #include <visp/vpImage.h>
73 #include <visp/vpRGBa.h>
74 #include <visp/vpTime.h>
75 
145 class VISP_EXPORT vpAR : public vpSimulator
146 {
147 
148 private:
149 
150  bool background;
151 
152  public:
153 
154 
155  virtual ~vpAR() ;
156  void initInternalViewer(const unsigned int width, const unsigned int height, vpImageType type = grayImage) ;
157  void setImage(vpImage<unsigned char> &I) ;
158  void setImage(vpImage<vpRGBa> &I) ;
159 
160 } ;
161 
162 
163 #endif
164 #endif
virtual void initInternalViewer(const unsigned int nlig, const unsigned int ncol)
initialize the camera view
Implementation of an augmented reality viewer.
Definition: vpAR.h:145
Implementation of a simulator based on Coin3d (www.coin3d.org).
Definition: vpSimulator.h:102