rpp_const.h
Go to the documentation of this file.
00001 /* ========================================================================
00002  * PROJECT: ARToolKitPlus
00003  * ========================================================================
00004  *
00005  * The robust pose estimator algorithm has been provided by G. Schweighofer
00006  * and A. Pinz (Inst.of El.Measurement and Measurement Signal Processing,
00007  * Graz University of Technology). Details about the algorithm are given in
00008  * a Technical Report: TR-EMT-2005-01, available at:
00009  * http://www.emt.tu-graz.ac.at/publications/index.htm
00010  *
00011  * Ported from MATLAB to C by T.Pintaric (Vienna University of Technology).
00012  *
00013  * Copyright of the derived and new portions of this work
00014  *     (C) 2006 Graz University of Technology
00015  *
00016  * This framework is free software; you can redistribute it and/or modify
00017  * it under the terms of the GNU General Public License as published by
00018  * the Free Software Foundation; either version 2 of the License, or
00019  * (at your option) any later version.
00020  *
00021  * This framework is distributed in the hope that it will be useful,
00022  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00024  * GNU General Public License for more details.
00025  *
00026  * You should have received a copy of the GNU General Public License
00027  * along with this framework; if not, write to the Free Software
00028  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00029  *
00030  * For further information please contact 
00031  *   Dieter Schmalstieg
00032  *   <schmalstieg@icg.tu-graz.ac.at>
00033  *   Graz University of Technology, 
00034  *   Institut for Computer Graphics and Vision,
00035  *   Inffeldgasse 16a, 8010 Graz, Austria.
00036  * ========================================================================
00037  ** @author   Thomas Pintaric
00038  *
00039  * $Id: rpp_const.h 162 2006-04-19 21:28:10Z grabner $
00040  * @file
00041  * ======================================================================== */
00042 
00043 
00044 #ifndef __RPP_CONST_H__
00045 #define __RPP_CONST_H__
00046 
00047 #define CONST_PI_OVER_4       0.7853981633974483f
00048 #define CONST_PI_OVER_2       1.5707963267948966f
00049 #define CONST_PI              3.1415926535897932f
00050 #define CONST_2_PI            6.2331853071795865f
00051 
00052 
00053 // experimental and not working yet, do not define !
00054 //#define _USE_CUSTOMFLOAT_
00055 
00056 
00057 #ifdef _USE_CUSTOMFLOAT_
00058 #  define MAX_FLOAT        1E10
00059 #  define DEFAULT_TOL      1E-3
00060 #  define DEFAULT_EPSILON  1E-4
00061 #else
00062 #  define MAX_FLOAT        1E10
00063 #  define DEFAULT_TOL      1E-5
00064 #  define DEFAULT_EPSILON  1E-8
00065 #endif
00066 
00067 
00068 #endif


tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun May 29 2016 02:50:12