rpp_const.h
Go to the documentation of this file.
1 /* ========================================================================
2  * PROJECT: ARToolKitPlus
3  * ========================================================================
4  *
5  * The robust pose estimator algorithm has been provided by G. Schweighofer
6  * and A. Pinz (Inst.of El.Measurement and Measurement Signal Processing,
7  * Graz University of Technology). Details about the algorithm are given in
8  * a Technical Report: TR-EMT-2005-01, available at:
9  * http://www.emt.tu-graz.ac.at/publications/index.htm
10  *
11  * Ported from MATLAB to C by T.Pintaric (Vienna University of Technology).
12  *
13  * Copyright of the derived and new portions of this work
14  * (C) 2006 Graz University of Technology
15  *
16  * This framework is free software; you can redistribute it and/or modify
17  * it under the terms of the GNU General Public License as published by
18  * the Free Software Foundation; either version 2 of the License, or
19  * (at your option) any later version.
20  *
21  * This framework is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24  * GNU General Public License for more details.
25  *
26  * You should have received a copy of the GNU General Public License
27  * along with this framework; if not, write to the Free Software
28  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29  *
30  * For further information please contact
31  * Dieter Schmalstieg
32  * <schmalstieg@icg.tu-graz.ac.at>
33  * Graz University of Technology,
34  * Institut for Computer Graphics and Vision,
35  * Inffeldgasse 16a, 8010 Graz, Austria.
36  * ========================================================================
37  ** @author Thomas Pintaric
38  *
39  * $Id: rpp_const.h 162 2006-04-19 21:28:10Z grabner $
40  * @file
41  * ======================================================================== */
42 
43 
44 #ifndef __RPP_CONST_H__
45 #define __RPP_CONST_H__
46 
47 #define CONST_PI_OVER_4 0.7853981633974483f
48 #define CONST_PI_OVER_2 1.5707963267948966f
49 #define CONST_PI 3.1415926535897932f
50 #define CONST_2_PI 6.2331853071795865f
51 
52 
53 // experimental and not working yet, do not define !
54 //#define _USE_CUSTOMFLOAT_
55 
56 
57 #ifdef _USE_CUSTOMFLOAT_
58 # define MAX_FLOAT 1E10
59 # define DEFAULT_TOL 1E-3
60 # define DEFAULT_EPSILON 1E-4
61 #else
62 # define MAX_FLOAT 1E10
63 # define DEFAULT_TOL 1E-5
64 # define DEFAULT_EPSILON 1E-8
65 #endif
66 
67 
68 #endif


tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun Sep 4 2016 03:24:33