Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 204 | chris | 1 | /* -------------------------------------------------------------------------- |
| 2 | * Copyright (C) 2004 Hitlab NZ. |
||
| 3 | * The distribution policy is describe on the Copyright.txt furnish |
||
| 4 | * with this library. |
||
| 5 | * -------------------------------------------------------------------------*/ |
||
| 6 | /** |
||
| 7 | * \file gsubUtil.h |
||
| 8 | * \brief ARToolkit OpenGL utilities subroutines. |
||
| 9 | * |
||
| 10 | * Complement routines of gsub module. |
||
| 11 | * \remark |
||
| 12 | * |
||
| 13 | * History : |
||
| 14 | * |
||
| 15 | * \author Hirokazu Kato kato@sys.im.hiroshima-cu.ac.jp |
||
| 16 | * \version |
||
| 17 | * \date |
||
| 18 | **/ |
||
| 19 | /* -------------------------------------------------------------------------- |
||
| 20 | * History : |
||
| 21 | * Rev Date Who Changes |
||
| 22 | * |
||
| 23 | *----------------------------------------------------------------------------*/ |
||
| 24 | #ifndef AR_GSUB_UTIL_H |
||
| 25 | #define AR_GSUB_UTIL_H |
||
| 26 | #ifdef __cplusplus |
||
| 27 | extern "C" { |
||
| 28 | #endif |
||
| 29 | |||
| 30 | // ============================================================================ |
||
| 31 | // Public includes. |
||
| 32 | // ============================================================================ |
||
| 33 | |||
| 34 | #include <AR/param.h> |
||
| 35 | |||
| 36 | // ============================================================================ |
||
| 37 | // Public types and defines. |
||
| 38 | // ============================================================================ |
||
| 39 | |||
| 40 | // ============================================================================ |
||
| 41 | // Public globals. |
||
| 42 | // ============================================================================ |
||
| 43 | |||
| 44 | // ============================================================================ |
||
| 45 | // Public functions. |
||
| 46 | // ============================================================================ |
||
| 47 | |||
| 48 | /** \fn void argUtilCalibHMD( int targetId, int thresh2, |
||
| 49 | void (*postFunc)(ARParam *lpara, ARParam *rpara) ) |
||
| 50 | * \brief utility function for calibrate an HMD. |
||
| 51 | * |
||
| 52 | * This function offers a full calibration run-time routines for an optical HMD (mono |
||
| 53 | * or stereo). |
||
| 54 | * It is useful for estimate transformation between user eye position and |
||
| 55 | * camera position. You will find more informations on the calibration routine |
||
| 56 | * on opticalcalibration.html .This function modify gsub state of left and right camera |
||
| 57 | * intrinsic parameters. |
||
| 58 | * \param targetId the target used for the calibration step. |
||
| 59 | * \param thresh2 lighting threshold value to use |
||
| 60 | * \param postFunc a callback function used to analysis computed internal camera |
||
| 61 | * parameters. if your application is mono display, only lpara contains a value. |
||
| 62 | * lpara and rpara are NULL if the calibration failed. |
||
| 63 | */ |
||
| 64 | void argUtilCalibHMD( int targetId, int thresh2, |
||
| 65 | void (*postFunc)(ARParam *lpara, ARParam *rpara) ); |
||
| 66 | |||
| 67 | #ifdef __cplusplus |
||
| 68 | } |
||
| 69 | #endif |
||
| 70 | #endif |