[artoolkit-commits] artoolkit/include/AR param.h,1.2,1.3
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Philip L. <phi...@us...> - 2004-11-22 08:17:47
|
Update of /cvsroot/artoolkit/artoolkit/include/AR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9491 Modified Files: param.h Log Message: Add some "const" qualifiers to prototypes. Index: param.h =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/include/AR/param.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** param.h 22 Nov 2004 02:11:05 -0000 1.2 --- param.h 22 Nov 2004 08:17:34 -0000 1.3 *************** *** 1,30 **** ! /* -------------------------------------------------------------------------- ! * Copyright (C) 2004 Hitlab NZ. ! * The distribution policy is describe on the Copyright.txt furnish ! * with this library. * -------------------------------------------------------------------------*/ ! /** ! * \file param.h ! * \brief ARToolkit global structure (parameters) subroutines. ! * ! * This file contains principal routines for loading, saving, and modify ! * camera parameters for of ARToolkit library. Different structures are used ! * for modify in run-time this parameters in the library. A file structure ! * is use for input/output. ! * \remark ! * ! * History : ! * ! * \author Takeshi Mita tm...@in... ! * \author Shinsaku Hiura shi...@sy... ! * \author Hirokazu Kato ka...@sy... ! ! * \version 4.1 ! * \date 01/12/07 **/ ! /* -------------------------------------------------------------------------- ! * History : ! * Rev Date Who Changes ! * *----------------------------------------------------------------------------*/ --- 1,30 ---- ! /* -------------------------------------------------------------------------- ! * Copyright (C) 2004 Hitlab NZ. ! * The distribution policy is describe on the Copyright.txt furnish ! * with this library. * -------------------------------------------------------------------------*/ ! /** ! * \file param.h ! * \brief ARToolkit global structure (parameters) subroutines. ! * ! * This file contains principal routines for loading, saving, and modify ! * camera parameters for of ARToolkit library. Different structures are used ! * for modify in run-time this parameters in the library. A file structure ! * is use for input/output. ! * \remark ! * ! * History : ! * ! * \author Takeshi Mita tm...@in... ! * \author Shinsaku Hiura shi...@sy... ! * \author Hirokazu Kato ka...@sy... ! ! * \version 4.1 ! * \date 01/12/07 **/ ! /* -------------------------------------------------------------------------- ! * History : ! * Rev Date Who Changes ! * *----------------------------------------------------------------------------*/ *************** *** 123,128 **** int arParamDecompMat( double source[3][4], double cpara[3][4], double trans[3][4] ); ! /** \fn int arParamIdeal2Observ( double dist_factor[4], double ix, double iy, ! double *ox, double *oy ) * \brief XXXBK * --- 123,129 ---- int arParamDecompMat( double source[3][4], double cpara[3][4], double trans[3][4] ); ! /** \fn int int arParamIdeal2Observ( const double dist_factor[4], const double ix, const double iy, ! double *ox, double *oy ) ! * \brief XXXBK * *************** *** 135,143 **** * \return XXXBK */ ! int arParamIdeal2Observ( double dist_factor[4], double ix, double iy, double *ox, double *oy ); ! /** \fn int arParamObserv2Ideal( double dist_factor[4], double ox, double oy, double *ix, double *iy ) * \brief XXXBK * --- 136,145 ---- * \return XXXBK */ ! int arParamIdeal2Observ( const double dist_factor[4], const double ix, const double iy, double *ox, double *oy ); ! /** \fn int arParamObserv2Ideal( const double dist_factor[4], const double ox, const double oy, double *ix, double *iy ) + * \brief XXXBK * *************** *** 150,154 **** * \return XXXBK */ ! int arParamObserv2Ideal( double dist_factor[4], double ox, double oy, double *ix, double *iy ); --- 152,156 ---- * \return XXXBK */ ! int arParamObserv2Ideal( const double dist_factor[4], const double ox, const double oy, double *ix, double *iy ); *************** *** 176,180 **** int arParamSave( char *filename, int num, ARParam *param, ...); ! /** \fn int arParamLoad( char *filename, int num, ARParam *param, ...) * \brief load the camera intrinsic parameters. * --- 178,182 ---- int arParamSave( char *filename, int num, ARParam *param, ...); ! /** \fn int arParamLoad( const char *filename, int num, ARParam *param, ...) * \brief load the camera intrinsic parameters. * *************** *** 186,190 **** * \return 0 if success, -1 if Error (file not found, file structure problem) */ ! int arParamLoad( char *filename, int num, ARParam *param, ...); /** \fn int arParamDisp( ARParam *param ) --- 188,192 ---- * \return 0 if success, -1 if Error (file not found, file structure problem) */ ! int arParamLoad( const char *filename, int num, ARParam *param, ...); /** \fn int arParamDisp( ARParam *param ) *************** *** 213,215 **** } #endif ! #endif --- 215,217 ---- } #endif ! #endif |