Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
204 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<html>
3
        <head>
4
                <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5
                <title>ARToolKit API Documentation</title>
6
                <link href="doxygen.css" rel="stylesheet" type="text/css">
7
        </head>
8
        <body>
9
<!-- Generated by Doxygen 1.4.6 -->
10
<div class="tabs">
11
  <ul>
12
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
13
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
14
    <li id="current"><a href="files.html"><span>Files</span></a></li>
15
  </ul></div>
16
<div class="tabs">
17
  <ul>
18
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
19
    <li><a href="globals.html"><span>Globals</span></a></li>
20
  </ul></div>
21
<h1>gsubUtil.h File Reference</h1>ARToolkit OpenGL utilities subroutines. <a href="#_details">More...</a>
22
<p>
23
<code>#include &lt;<a class="el" href="param_8h.html">AR/param.h</a>&gt;</code><br>
24
<table border="0" cellpadding="0" cellspacing="0">
25
<tr><td></td></tr>
26
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
27
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="gsubUtil_8h.html#ed3f6b47599c694f6eb5886653e5982b">argUtilCalibHMD</a> (int targetId, int thresh2, void(*postFunc)(<a class="el" href="structARParam.html">ARParam</a> *lpara, <a class="el" href="structARParam.html">ARParam</a> *rpara))</td></tr>
28
 
29
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">utility function for calibrate an HMD.  <a href="#ed3f6b47599c694f6eb5886653e5982b"></a><br></td></tr>
30
</table>
31
<hr><a name="_details"></a><h2>Detailed Description</h2>
32
ARToolkit OpenGL utilities subroutines.
33
<p>
34
Complement routines of gsub module. <dl compact><dt><b>Remarks:</b></dt><dd></dd></dl>
35
History :<p>
36
<dl compact><dt><b>Author:</b></dt><dd>Hirokazu Kato <a href="mailto:kato@sys.im.hiroshima-cu.ac.jp">kato@sys.im.hiroshima-cu.ac.jp</a> </dd></dl>
37
<dl compact><dt><b>Version:</b></dt><dd></dd></dl>
38
<dl compact><dt><b>Date:</b></dt><dd></dd></dl>
39
<hr><h2>Function Documentation</h2>
40
<a class="anchor" name="ed3f6b47599c694f6eb5886653e5982b"></a><!-- doxytag: member="gsubUtil.h::argUtilCalibHMD" ref="ed3f6b47599c694f6eb5886653e5982b" args="(int targetId, int thresh2, void(*postFunc)(ARParam *lpara, ARParam *rpara))" --><p>
41
<table class="mdTable" cellpadding="2" cellspacing="0">
42
  <tr>
43
    <td class="mdRow">
44
      <table cellpadding="0" cellspacing="0" border="0">
45
        <tr>
46
          <td class="md" nowrap valign="top">void argUtilCalibHMD           </td>
47
          <td class="md" valign="top">(&nbsp;</td>
48
          <td class="md" nowrap valign="top">int&nbsp;</td>
49
          <td class="mdname" nowrap> <em>targetId</em>, </td>
50
        </tr>
51
        <tr>
52
          <td class="md" nowrap align="right"></td>
53
          <td class="md"></td>
54
          <td class="md" nowrap>int&nbsp;</td>
55
          <td class="mdname" nowrap> <em>thresh2</em>, </td>
56
        </tr>
57
        <tr>
58
          <td class="md" nowrap align="right"></td>
59
          <td class="md"></td>
60
          <td class="md" nowrap>void(*)(<a class="el" href="structARParam.html">ARParam</a> *lpara, <a class="el" href="structARParam.html">ARParam</a> *rpara)&nbsp;</td>
61
          <td class="mdname" nowrap> <em>postFunc</em></td>
62
        </tr>
63
        <tr>
64
          <td class="md"></td>
65
          <td class="md">)&nbsp;</td>
66
          <td class="md" colspan="2"></td>
67
        </tr>
68
      </table>
69
    </td>
70
  </tr>
71
</table>
72
<table cellspacing="5" cellpadding="0" border="0">
73
  <tr>
74
    <td>
75
      &nbsp;
76
    </td>
77
    <td>
78
 
79
<p>
80
utility function for calibrate an HMD.
81
<p>
82
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. <dl compact><dt><b>Parameters:</b></dt><dd>
83
  <table border="0" cellspacing="2" cellpadding="0">
84
    <tr><td valign="top"></td><td valign="top"><em>targetId</em>&nbsp;</td><td>the target used for the calibration step. </td></tr>
85
    <tr><td valign="top"></td><td valign="top"><em>thresh2</em>&nbsp;</td><td>lighting threshold value to use </td></tr>
86
    <tr><td valign="top"></td><td valign="top"><em>postFunc</em>&nbsp;</td><td>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. </td></tr>
87
  </table>
88
</dl>
89
    </td>
90
  </tr>
91
</table>
92
 
93
        <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br>
94
        Copyright © 2004-2006. HIT Lab NZ. All Rights Reserved.</small>
95
        </body>
96
</html>