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