You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(65) |
Dec
(32) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
(5) |
Mar
(15) |
Apr
(22) |
May
|
Jun
(9) |
Jul
(108) |
Aug
(42) |
Sep
(62) |
Oct
(5) |
Nov
|
Dec
(4) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
(38) |
May
(27) |
Jun
(58) |
Jul
(8) |
Aug
(11) |
Sep
(51) |
Oct
(15) |
Nov
(12) |
Dec
(3) |
2007 |
Jan
(25) |
Feb
(6) |
Mar
(8) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(13) |
Sep
(1) |
Oct
(1) |
Nov
(2) |
Dec
|
2008 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(20) |
Sep
(5) |
Oct
|
Nov
|
Dec
(2) |
2009 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: Philip L. <phi...@us...> - 2005-08-24 01:30:31
|
Update of /cvsroot/artoolkit/artoolkit/include/AR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24402 Modified Files: video.h Log Message: Documentation update. Index: video.h =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/include/AR/video.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** video.h 23 Aug 2005 18:14:41 -0000 1.3 --- video.h 24 Aug 2005 01:30:23 -0000 1.4 *************** *** 149,154 **** * but capture will not actually begin until arVideoCapStart * is called. - * More information on establishing video streams is available in the ARToolKit manual. * \param config string of the selected video configuration. * \return 0 if successful, -1 if a video path couldn't be opened */ --- 149,155 ---- * but capture will not actually begin until arVideoCapStart * is called. * \param config string of the selected video configuration. + * See the <a href="video/">video configuration documentation</a> + * for more information on this parameter. * \return 0 if successful, -1 if a video path couldn't be opened */ |
From: Philip L. <phi...@us...> - 2005-08-24 01:09:12
|
Update of /cvsroot/artoolkit/artoolkit/doc/video In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20062 Added Files: index.html Log Message: New documentation. --- NEW FILE: index.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>ARToolKit Video Library Configuration documentation</title> </head> <body> <h1>ARToolKit video configuration </h1> <p>When using ARToolKit to open a video stream, one of the following functions / code snippets is called:</p> <blockquote> <p><code>arVideoOpen(char *vconf);</code></p> </blockquote> <p>or</p> <blockquote> <p><code>AR2VideoParamT vid;<br> vid = ar2VideoOpen(char *vconf);</code></p> </blockquote> <p>These functions take a single parameter, vconf, which is a character string.</p> <p>This character string encapsulates operating-system dependent directions as to how to find, open and configure the video stream. In order to assist you in determining a set of parameters, the functions <code>arVideoDispOption();</code> or <code>ar2VideoDispOption();</code> are designed to output some help text. The text is reproduced here for your convenience.</p> <p>Select an operating system / driver for which you wish to view the help text</p> <ul> <li><a href="#VideoLinux1394Cam">VideoLinux1394Cam</a></li> <li><a href="#VideoLinuxDVCam">VideoLinuxDVCam</a></li> <li><a href="#VideoLinuxV4L">VideoLinuxV4L</a></li> <li><a href="#VideoMacOSX">VideoMacOSX</a></li> <li><a href="#VideoSGI">VideoSGI</a></li> <li><a href="#VideoWin32DirectShow">VideoWin32DirectShow</a></li> </ul> <p> </p> <a class="anchor" name="VideoLinux1394Cam"> <h2>VideoLinux1394Cam</h2> <pre> ARVideo may be configured using one or more of the following options, separated by a space: -node=N specifies detected node ID of a FireWire camera (-1: Any). -card=N specifies the FireWire adaptor id number (-1: Any). -mode=[320x240_YUV422|640x480_RGB|640x480_YUV411] specifies input image format. -rate=N specifies desired framerate of a FireWire camera. (1.875, 3.75, 7.5, 15, 30, 60) -[name]=N where name is brightness, iris, shutter, gain, saturation, gamma, sharpness (value must be a legal value for this parameter - use coriander to find what they are </pre> <a class="anchor" name="VideoLinuxDV"> <h2>VideoLinuxDV </h2> <pre> ARVideo may be configured using one or more of the following options, separated by a space: -mode=[PAL|NTSC] specifies TV signal mode. </pre> <a class="anchor" name="VideoLinuxV4L"> <h2>VideoLinuxV4L </h2> <pre> ARVideo may be configured using one or more of the following options, separated by a space: DEVICE CONTROLS: -dev=filepath specifies device file. -channel=N specifies source channel. -noadjust prevent adjusting the width/height/channel if not suitable. -width=N specifies expected width of image. -height=N specifies expected height of image. -palette=[RGB|YUV420P] specifies the camera palette (WARNING:all are not supported on each camera !!). IMAGE CONTROLS (WARNING: every options are not supported by all camera !!): -brightness=N specifies brightness. (0.0 <-> 1.0) -contrast=N specifies contrast. (0.0 <-> 1.0) -saturation=N specifies saturation (color). (0.0 <-> 1.0) (for color camera only) -hue=N specifies hue. (0.0 <-> 1.0) (for color camera only) -whiteness=N specifies whiteness. (0.0 <-> 1.0) (REMARK: gamma for some drivers, otherwise for greyscale camera only) -color=N specifies saturation (color). (0.0 <-> 1.0) (REMARK: obsolete !! use saturation control) OPTION CONTROLS: -mode=[PAL|NTSC|SECAM] specifies TV signal mode (for tv/capture card). </pre> <a class="anchor" name="VideoMacOSX"> <h2>VideoMacOSX </h2> <pre> ARVideo may be configured using one or more of the following options, separated by a space: -nodialog Don't display video settings dialog. -width=w Scale camera native image to width w. -height=h Scale camera native image to height h. -fps Overlay camera frame counter on image. -grabber=n With multiple QuickTime video grabber components installed, use component n (default n=1). N.B. It is NOT necessary to use this option if you have installed more than one video input device (e.g. two cameras) as the default QuickTime grabber can manage multiple video channels. -pixelformat=cccc Return images with pixels in format cccc, where cccc is either a numeric pixel format number or a valid 4-character-code for a pixel format. The following values are supported: 32, BGRA, RGBA, ABGR, 24, 24BG, 2vuy, yuvs. (See http://developer.apple.com/quicktime/icefloe/dispatch020.html.) </pre> <a class="anchor" name="VideoSGI"> <h2>VideoSGI </h2> <pre> ARVideo may be configured using one or more of the following options, separated by a space: -size=[FULL/HALF] specifies size of image. -device=N specifies device number. -bufsize=N specifies video buffer size. </pre> <a class="anchor" name="VideoWin32DirectShow"> <h2>VideoWin32DirectShow </h2> <pre> parameter is a file name (e.g. 'config.XML') conforming to the DSVideoLib XML Schema (DsVideoLib.xsd). </pre> <p>(You will need to use an <a href="http://www.w3.org/XML/Schema">XML Schema viewer</a> to view the file "DsVideoLib.xsd" inside the DSVL-0.0.8b package.)</p> </body> </html> |
From: Philip L. <phi...@us...> - 2005-08-24 01:07:57
|
Update of /cvsroot/artoolkit/artoolkit/doc/video In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19610/video Log Message: Directory /cvsroot/artoolkit/artoolkit/doc/video added to the repository |
From: Philip L. <phi...@us...> - 2005-08-23 22:52:09
|
Update of /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Enums In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21269/doc/gsub_lite/Enums Added Files: Enums.html Log Message: New documentation. --- NEW FILE: Enums.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> <html><head> <title>Enumerations</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="generator" content="HeaderDoc"> <style type="text/css"><!--a:link {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:active {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}h4 {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: tiny; font-weight: bold;}body {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: 10pt;}--></style></head><body bgcolor="#ffffff"> <h1><font face="Geneva,Arial,Helvtica">Enumerations</font></h1><br> <hr><!-- headerDoc=tag; uid=//apple_ref/c/tag/AR_PIX_RGBA; name=AR_PIX_RGBA --> <a name="//apple_ref/c/tag/AR_PIX_RGBA"></a> <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="AR_PIX_RGBA">AR_PIX_RGBA</a></h3> </td></tr></table><hr><dl></dl><p>ARToolKit pixel-format specifiers. </p> <blockquote><pre><font class="keyword">enum</font> { <font class="var">AR_PIX_RGBA</font>, <font class="var">AR_PIX_ABGR</font>, <font class="var">AR_PIX_BGRA</font>, <font class="var">AR_PIX_ARGB</font>, <font class="var">AR_PIX_RGB</font>, <font class="var">AR_PIX_BGR</font>, <font class="var">AR_PIX_2vuy</font>, <font class="var">AR_PIX_yuvs</font>, }; </pre></blockquote> <h5><font face="Lucida Grande,Helvetica,Arial">Constants</font></h5> <blockquote> <dl> <dt><a name="//apple_ref/c/econst/AR_PIX_RGBA"><code>AR_PIX_RGBA</code></a></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Red, Green, Blue, and Alpha component.</dd> <dt><a name="//apple_ref/c/econst/AR_PIX_ABGR"><code>AR_PIX_ABGR</code></a></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Alpha, Blue, Green, and Red component. This is the native 32 bit format for the SGI platform.</dd> <dt><a name="//apple_ref/c/econst/AR_PIX_BGRA"><code>AR_PIX_BGRA</code></a></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Blue, Green, Red, and Alpha component. This is the native 32 bit format for the Win32 platform.</dd> <dt><a name="//apple_ref/c/econst/AR_PIX_ARGB"><code>AR_PIX_ARGB</code></a></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Alpha, Red, Green, and Blue component. This is the native 32 bit format for the Mac platform.</dd> <dt><a name="//apple_ref/c/econst/AR_PIX_RGB"><code>AR_PIX_RGB</code></a></dt><dd>Each pixel is represented by 24 bits. Eight bits per each Red, Green, and Blue component. This is the native 24 bit format for the Mac platform.</dd> <dt><a name="//apple_ref/c/econst/AR_PIX_BGR"><code>AR_PIX_BGR</code></a></dt><dd>Each pixel is represented by 24 bits. Eight bits per each Blue, Red, and Green component. This is the native 24 bit format for the Win32 platform.</dd> <dt><a name="//apple_ref/c/econst/AR_PIX_2vuy"><code>AR_PIX_2vuy</code></a></dt><dd>8-bit 4:2:2 Component Y'CbCr format. Each 16 bit pixel is represented by an unsigned eight bit luminance component and two unsigned eight bit chroma components. Each pair of pixels shares a common set of chroma values. The components are ordered in memory; Cb, Y0, Cr, Y1. The luminance components have a range of [16, 235], while the chroma value has a range of [16, 240]. This is consistent with the CCIR601 spec. This format is fairly prevalent on both Mac and Win32 platforms. The equivalent Microsoft fourCC is 'UYVY'.</dd> <dt><a name="//apple_ref/c/econst/AR_PIX_yuvs"><code>AR_PIX_yuvs</code></a></dt><dd>8-bit 4:2:2 Component Y'CbCr format. Identical to the AR_PIX_2vuy except each 16 bit word has been byte swapped. This results in a component ordering of; Y0, Cb, Y1, Cr. This is most prevalent yuv 4:2:2 format on both Mac and Win32 platforms. The equivalent Microsoft fourCC is 'YUY2'.</dd> </dl> </blockquote> <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>ARToolKit functions can accept pixel data in a variety of formats. This enumerations provides a set of constants you can use to request data in a particular pixel format from an ARToolKit function that returns data to you, or to specify that data you are providing to an ARToolKit function is in a particular pixel format. pixel </p> </dl> <p><p>© 2003-2005 Philip Lamb (Last Updated August 29, 2005) </p></body></html> |
From: Philip L. <phi...@us...> - 2005-08-23 22:40:06
|
Update of /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Enums In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18350/Enums Log Message: Directory /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Enums added to the repository |
Update of /cvsroot/artoolkit/artoolkit/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27936 Added Files: files.html functions_rela.html matrix_8h.html structARVec.html globals_func.html globals_defs.html structARMarkerInfo2.html globals_enum.html doxygen_config.dox structARMarkerInfo.html structarPrevInfo.html structARParam.html video_8h.html structARMultiEachMarkerInfoT.html globals_vars.html globals_type.html annotated.html gsub_8h.html structARMultiMarkerInfoT.html param_8h.html index.html doxygen.css globals.html gsubUtil_8h.html ar_8h.html arMulti_8h.html structARMat.html Log Message: Add doxygen-generated API documentation. --- NEW FILE: structARMultiMarkerInfoT.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div> <h1>ARMultiMarkerInfoT Struct Reference</h1><!-- doxytag: class=<ARMultiMarkerInfoT> -->global multi-marker structure <a href="#_details">More...</a> <p> <code>#include <arMulti.h></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o0"></a><!-- doxytag: member=<ARMultiMarkerInfoT::marker> ref=<o0> args=<> --> <a class="el" href="structARMultiEachMarkerInfoT.html">ARMultiEachMarkerInfoT</a> * </td><td class="memItemRight" valign="bottom"><b>marker</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o1"></a><!-- doxytag: member=<ARMultiMarkerInfoT::marker_num> ref=<o1> args=<> --> int </td><td class="memItemRight" valign="bottom"><b>marker_num</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o2"></a><!-- doxytag: member=<ARMultiMarkerInfoT::trans> ref=<o2> args=<[3][4]> --> double </td><td class="memItemRight" valign="bottom"><b>trans</b> [3][4]</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o3"></a><!-- doxytag: member=<ARMultiMarkerInfoT::prevF> ref=<o3> args=<> --> int </td><td class="memItemRight" valign="bottom"><b>prevF</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o4"></a><!-- doxytag: member=<ARMultiMarkerInfoT::transR> ref=<o4> args=<[3][4]> --> double </td><td class="memItemRight" valign="bottom"><b>transR</b> [3][4]</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> global multi-marker structure <p> Main structure for multi-marker tracking.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>marker</em> </td><td>list of markers of the multi-marker pattern </td></tr> <tr><td valign="top"></td><td valign="top"><em>marker_num</em> </td><td>number of markers used </td></tr> <tr><td valign="top"></td><td valign="top"><em>trans</em> </td><td>position of the multi-marker pattern (more precisely, the camera position in the multi-marker CS) </td></tr> <tr><td valign="top"></td><td valign="top"><em>prevF</em> </td><td>boolean flag for visibility </td></tr> <tr><td valign="top"></td><td valign="top"><em>transR</em> </td><td>last position</td></tr> </table> </dl> <p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="arMulti_8h.html">arMulti.h</a></ul> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: structARParam.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div> <h1>ARParam Struct Reference</h1><!-- doxytag: class=<ARParam> -->camera intrinsic parameters. <a href="#_details">More...</a> <p> <code>#include <param.h></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o0"></a><!-- doxytag: member=<ARParam::xsize> ref=<o0> args=<> --> int </td><td class="memItemRight" valign="bottom"><b>xsize</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o1"></a><!-- doxytag: member=<ARParam::ysize> ref=<o1> args=<> --> int </td><td class="memItemRight" valign="bottom"><b>ysize</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o2"></a><!-- doxytag: member=<ARParam::mat> ref=<o2> args=<[3][4]> --> double </td><td class="memItemRight" valign="bottom"><b>mat</b> [3][4]</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o3"></a><!-- doxytag: member=<ARParam::dist_factor> ref=<o3> args=<[4]> --> double </td><td class="memItemRight" valign="bottom"><b>dist_factor</b> [4]</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> camera intrinsic parameters. <p> This structure contains the main parameters for the intrinsic parameters of the camera representation. The camera used is a pinhole camera with standard parameters. User should consult a computer vision reference for more information. (e.g. Three-Dimensional Computer Vision (Artificial Intelligence) by Olivier Faugeras). <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>xsize</em> </td><td>length of the image (in pixels). </td></tr> <tr><td valign="top"></td><td valign="top"><em>ysize</em> </td><td>height of the image (in pixels). </td></tr> <tr><td valign="top"></td><td valign="top"><em>mat</em> </td><td>perspective matrix (K). </td></tr> <tr><td valign="top"></td><td valign="top"><em>dist_factor</em> </td><td>radial distortions factor dist_factor[0]=x center of distortion dist_factor[1]=y center of distortion dist_factor[2]=distortion factor dist_factor[3]=scale factor</td></tr> </table> </dl> <p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="param_8h.html">param.h</a></ul> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: globals_vars.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindexHL" href="globals.html">Globals</a></div> <div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindexHL" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> <p> <ul> <li>arDebug : <a class="el" href="ar_8h.html#a7">ar.h</a><li>arFittingMode : <a class="el" href="ar_8h.html#a9">ar.h</a><li>argDrawMode : <a class="el" href="gsub_8h.html#a0">gsub.h</a><li>arglDrawMode : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>arglTexmapMode : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>arglTexRectangle : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>argTexmapMode : <a class="el" href="gsub_8h.html#a1">gsub.h</a><li>arImage : <a class="el" href="ar_8h.html#a8">ar.h</a><li>arImageProcMode : <a class="el" href="ar_8h.html#a10">ar.h</a><li>arImXsize : <a class="el" href="ar_8h.html#a12">ar.h</a><li>arImYsize : <a class="el" href="ar_8h.html#a13">ar.h</a><li>arMatchingPCAMode : <a class="el" href="ar_8h.html#a15">ar.h</a><li>arParam : <a class="el" href="ar_8h.html#a11">ar.h</a><li>arTemplateMatchingMode : <a class="el" href="ar_8h.html#a14">ar.h</a></ul> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: files.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindexHL" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div> <h1>ARToolKit File List</h1>Here is a list of all documented files with brief descriptions:<table> <tr><td class="indexkey"><a class="el" href="ar_8h.html">ar.h</a></td><td class="indexvalue">ARToolKit subroutines </td></tr> <tr><td class="indexkey"><a class="el" href="arMulti_8h.html">arMulti.h</a></td><td class="indexvalue">ARToolkit multi pattern subroutines </td></tr> <tr><td class="indexkey"><a class="el" href="gsub_8h.html">gsub.h</a></td><td class="indexvalue">ARToolkit OpenGL subroutines </td></tr> <tr><td class="indexkey"><a class="el" href="gsub_lite/index.html">gsub_lite.h</a></td><td class="indexvalue">A collection of useful OpenGL routines for ARToolKit </td></tr> <tr><td class="indexkey"><a class="el" href="gsubUtil_8h.html">gsubUtil.h</a></td><td class="indexvalue">ARToolkit OpenGL utilities subroutines </td></tr> <tr><td class="indexkey"><a class="el" href="matrix_8h.html">matrix.h</a></td><td class="indexvalue">ARToolkit algebric mathematics subroutines </td></tr> <tr><td class="indexkey"><a class="el" href="param_8h.html">param.h</a></td><td class="indexvalue">ARToolkit global structure (parameters) subroutines </td></tr> <tr><td class="indexkey"><a class="el" href="video_8h.html">video.h</a></td><td class="indexvalue">ARToolkit video subroutines </td></tr> </table> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: functions_rela.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div> <div class="qindex"><a class="qindex" href="functions.html">All</a></div> <div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_t">t</a></div> <p> <p> </ul> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: doxygen_config.dox --- # Doxyfile 1.4.4 #--------------------------------------------------------------------------- # Project related configuration options #--------------------------------------------------------------------------- PROJECT_NAME = ARToolKit PROJECT_NUMBER = OUTPUT_DIRECTORY = /home/plamb/Documents/Development/Projects/ARToolKit/artoolkit/doc CREATE_SUBDIRS = NO OUTPUT_LANGUAGE = English USE_WINDOWS_ENCODING = NO BRIEF_MEMBER_DESC = YES REPEAT_BRIEF = YES ABBREVIATE_BRIEF = ALWAYS_DETAILED_SEC = NO INLINE_INHERITED_MEMB = NO FULL_PATH_NAMES = NO STRIP_FROM_PATH = STRIP_FROM_INC_PATH = SHORT_NAMES = NO JAVADOC_AUTOBRIEF = NO MULTILINE_CPP_IS_BRIEF = NO DETAILS_AT_TOP = NO INHERIT_DOCS = YES DISTRIBUTE_GROUP_DOC = NO SEPARATE_MEMBER_PAGES = NO TAB_SIZE = 8 ALIASES = OPTIMIZE_OUTPUT_FOR_C = YES OPTIMIZE_OUTPUT_JAVA = NO SUBGROUPING = YES #--------------------------------------------------------------------------- # Build related configuration options #--------------------------------------------------------------------------- EXTRACT_ALL = NO EXTRACT_PRIVATE = NO EXTRACT_STATIC = NO EXTRACT_LOCAL_CLASSES = NO EXTRACT_LOCAL_METHODS = NO HIDE_UNDOC_MEMBERS = NO HIDE_UNDOC_CLASSES = NO HIDE_FRIEND_COMPOUNDS = NO HIDE_IN_BODY_DOCS = NO INTERNAL_DOCS = NO CASE_SENSE_NAMES = YES HIDE_SCOPE_NAMES = NO SHOW_INCLUDE_FILES = YES INLINE_INFO = YES SORT_MEMBER_DOCS = YES SORT_BRIEF_DOCS = NO SORT_BY_SCOPE_NAME = NO GENERATE_TODOLIST = YES GENERATE_TESTLIST = YES GENERATE_BUGLIST = YES GENERATE_DEPRECATEDLIST= YES ENABLED_SECTIONS = GSUB_LITE MAX_INITIALIZER_LINES = 30 SHOW_USED_FILES = YES SHOW_DIRECTORIES = NO FILE_VERSION_FILTER = #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- QUIET = NO WARNINGS = YES WARN_IF_UNDOCUMENTED = YES WARN_IF_DOC_ERROR = YES WARN_NO_PARAMDOC = NO WARN_FORMAT = "$file:$line: $text" WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- INPUT = /home/plamb/Documents/Development/Projects/ARToolKit/artoolkit/include/AR FILE_PATTERNS = *.h RECURSIVE = NO EXCLUDE = EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = EXAMPLE_PATH = /home/plamb/Documents/Development/Projects/ARToolKit/artoolkit/doc EXAMPLE_PATTERNS = EXAMPLE_RECURSIVE = YES IMAGE_PATH = INPUT_FILTER = FILTER_PATTERNS = FILTER_SOURCE_FILES = NO #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- SOURCE_BROWSER = NO INLINE_SOURCES = NO STRIP_CODE_COMMENTS = YES REFERENCED_BY_RELATION = YES REFERENCES_RELATION = YES USE_HTAGS = NO VERBATIM_HEADERS = NO #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- ALPHABETICAL_INDEX = NO COLS_IN_ALPHA_INDEX = 5 IGNORE_PREFIX = #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- GENERATE_HTML = YES HTML_OUTPUT = . HTML_FILE_EXTENSION = .html HTML_HEADER = /home/plamb/Desktop/Ressources/header.html HTML_FOOTER = /home/plamb/Desktop/Ressources/footer.html HTML_STYLESHEET = HTML_ALIGN_MEMBERS = YES GENERATE_HTMLHELP = NO CHM_FILE = HHC_LOCATION = GENERATE_CHI = NO BINARY_TOC = NO TOC_EXPAND = NO DISABLE_INDEX = NO ENUM_VALUES_PER_LINE = 4 GENERATE_TREEVIEW = NO TREEVIEW_WIDTH = 250 #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- GENERATE_LATEX = NO LATEX_OUTPUT = latex LATEX_CMD_NAME = latex MAKEINDEX_CMD_NAME = makeindex COMPACT_LATEX = NO PAPER_TYPE = a4wide EXTRA_PACKAGES = LATEX_HEADER = PDF_HYPERLINKS = NO USE_PDFLATEX = NO LATEX_BATCHMODE = NO LATEX_HIDE_INDICES = NO #--------------------------------------------------------------------------- # configuration options related to the RTF output #--------------------------------------------------------------------------- GENERATE_RTF = NO RTF_OUTPUT = rtf COMPACT_RTF = NO RTF_HYPERLINKS = NO RTF_STYLESHEET_FILE = RTF_EXTENSIONS_FILE = #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- GENERATE_MAN = NO MAN_OUTPUT = man MAN_EXTENSION = .3 MAN_LINKS = NO #--------------------------------------------------------------------------- # configuration options related to the XML output #--------------------------------------------------------------------------- GENERATE_XML = NO XML_OUTPUT = xml XML_SCHEMA = XML_DTD = XML_PROGRAMLISTING = YES #--------------------------------------------------------------------------- # configuration options for the AutoGen Definitions output #--------------------------------------------------------------------------- GENERATE_AUTOGEN_DEF = NO #--------------------------------------------------------------------------- # configuration options related to the Perl module output #--------------------------------------------------------------------------- GENERATE_PERLMOD = NO PERLMOD_LATEX = NO PERLMOD_PRETTY = YES PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- # Configuration options related to the preprocessor #--------------------------------------------------------------------------- ENABLE_PREPROCESSING = YES MACRO_EXPANSION = NO EXPAND_ONLY_PREDEF = NO SEARCH_INCLUDES = YES INCLUDE_PATH = INCLUDE_FILE_PATTERNS = PREDEFINED = EXPAND_AS_DEFINED = SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- # Configuration::additions related to external references #--------------------------------------------------------------------------- TAGFILES = GENERATE_TAGFILE = ALLEXTERNALS = NO EXTERNAL_GROUPS = YES PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- CLASS_DIAGRAMS = NO HIDE_UNDOC_RELATIONS = YES HAVE_DOT = NO CLASS_GRAPH = YES COLLABORATION_GRAPH = YES GROUP_GRAPHS = YES UML_LOOK = NO TEMPLATE_RELATIONS = NO INCLUDE_GRAPH = YES INCLUDED_BY_GRAPH = YES CALL_GRAPH = NO GRAPHICAL_HIERARCHY = YES DIRECTORY_GRAPH = YES DOT_IMAGE_FORMAT = png DOT_PATH = DOTFILE_DIRS = MAX_DOT_GRAPH_WIDTH = 1024 MAX_DOT_GRAPH_HEIGHT = 1024 MAX_DOT_GRAPH_DEPTH = 0 DOT_TRANSPARENT = NO DOT_MULTI_TARGETS = NO GENERATE_LEGEND = YES DOT_CLEANUP = YES #--------------------------------------------------------------------------- # Configuration::additions related to the search engine #--------------------------------------------------------------------------- SEARCHENGINE = NO --- NEW FILE: structARMat.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div> <h1>ARMat Struct Reference</h1><!-- doxytag: class=<ARMat> -->matrix structure. <a href="#_details">More...</a> <p> <code>#include <matrix.h></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o0"></a><!-- doxytag: member=<ARMat::m> ref=<o0> args=<> --> double * </td><td class="memItemRight" valign="bottom"><b>m</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o1"></a><!-- doxytag: member=<ARMat::row> ref=<o1> args=<> --> int </td><td class="memItemRight" valign="bottom"><b>row</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o2"></a><!-- doxytag: member=<ARMat::clm> ref=<o2> args=<> --> int </td><td class="memItemRight" valign="bottom"><b>clm</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> matrix structure. <p> Defined the structure of the matrix type based on a dynamic allocation. The matrix format is :<br> <---- clm ---><br> [ 10 20 30 ] ^<br> [ 20 10 15 ] |<br> [ 12 23 13 ] row<br> [ 20 10 15 ] |<br> [ 13 14 15 ] v<br> <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td>content of matrix </td></tr> <tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>number of lines in matrix </td></tr> <tr><td valign="top"></td><td valign="top"><em>clm</em> </td><td>number of column in matrix</td></tr> </table> </dl> <p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="matrix_8h.html">matrix.h</a></ul> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: matrix_8h.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div> <h1>matrix.h File Reference</h1>ARToolkit algebric mathematics subroutines. <a href="#_details">More...</a> <p> <code>#include <math.h></code><br> <code>#include <AR/config.h></code><br> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structARMat.html">ARMat</a></td></tr> [...1042 lines suppressed...] <p> XXXBK. <p> XXXBK <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>a</em> </td><td>XXXBK </td></tr> <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td>XXXBK </td></tr> <tr><td valign="top"></td><td valign="top"><em>e</em> </td><td>XXXBK </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>XXXBK</dd></dl> </td> </tr> </table> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: globals_type.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindexHL" href="globals.html">Globals</a></div> <div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindexHL" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> <p> <ul> <li>ARGL_CONTEXT_SETTINGS_REF : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a></ul> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: doxygen.css --- BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { font-family: Geneva, Arial, Helvetica, sans-serif; } BODY,TD { font-size: 90%; } H1 { text-align: center; font-size: 160%; } H2 { font-size: 120%; } H3 { font-size: 100%; } CAPTION { font-weight: bold } DIV.qindex { width: 100%; background-color: #eeeeff; border: 1px solid #b0b0b0; text-align: center; margin: 2px; padding: 2px; line-height: 140%; } DIV.nav { width: 100%; background-color: #eeeeff; border: 1px solid #b0b0b0; text-align: center; margin: 2px; padding: 2px; line-height: 140%; } DIV.navtab { background-color: #eeeeff; border: 1px solid #b0b0b0; text-align: center; margin: 2px; margin-right: 15px; padding: 2px; } TD.navtab { font-size: 70%; } A.qindex { text-decoration: none; font-weight: bold; color: #1A419D; } A.qindex:visited { text-decoration: none; font-weight: bold; color: #1A419D } A.qindex:hover { text-decoration: none; background-color: #ddddff; } A.qindexHL { text-decoration: none; font-weight: bold; background-color: #6666cc; color: #ffffff; border: 1px double #9295C2; } A.qindexHL:hover { text-decoration: none; background-color: #6666cc; color: #ffffff; } A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } A.el { text-decoration: none; font-weight: bold } A.elRef { font-weight: bold } A.code:link { text-decoration: none; font-weight: normal; color: #0000FF} A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} A.codeRef:link { font-weight: normal; color: #0000FF} A.codeRef:visited { font-weight: normal; color: #0000FF} A:hover { text-decoration: none; background-color: #f2f2ff } DL.el { margin-left: -1cm } .fragment { font-family: Fixed, monospace; font-size: 95%; } PRE.fragment { border: 1px solid #CCCCCC; background-color: #f5f5f5; margin-top: 4px; margin-bottom: 4px; margin-left: 2px; margin-right: 8px; padding-left: 6px; padding-right: 6px; padding-top: 4px; padding-bottom: 4px; } DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } TD.md { background-color: #F4F4FB; font-weight: bold; } TD.mdPrefix { background-color: #F4F4FB; color: #606060; font-size: 80%; } TD.mdname1 { background-color: #F4F4FB; font-weight: bold; color: #602020; } TD.mdname { background-color: #F4F4FB; font-weight: bold; color: #602020; width: 600px; } DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold; } DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } BODY { background: white; color: black; margin-right: 20px; margin-left: 20px; } TD.indexkey { background-color: #eeeeff; font-weight: bold; padding-right : 10px; padding-top : 2px; padding-left : 10px; padding-bottom : 2px; margin-left : 0px; margin-right : 0px; margin-top : 2px; margin-bottom : 2px; border: 1px solid #CCCCCC; } TD.indexvalue { background-color: #eeeeff; font-style: italic; padding-right : 10px; padding-top : 2px; padding-left : 10px; padding-bottom : 2px; margin-left : 0px; margin-right : 0px; margin-top : 2px; margin-bottom : 2px; border: 1px solid #CCCCCC; } TR.memlist { background-color: #f0f0f0; } P.formulaDsp { text-align: center; } IMG.formulaDsp { } IMG.formulaInl { vertical-align: middle; } SPAN.keyword { color: #008000 } SPAN.keywordtype { color: #604020 } SPAN.keywordflow { color: #e08000 } SPAN.comment { color: #800000 } SPAN.preprocessor { color: #806020 } SPAN.stringliteral { color: #002080 } SPAN.charliteral { color: #008080 } .mdTable { border: 1px solid #868686; background-color: #F4F4FB; } .mdRow { padding: 8px 10px; } .mdescLeft { padding: 0px 8px 4px 8px; font-size: 80%; font-style: italic; background-color: #FAFAFA; border-top: 1px none #E0E0E0; border-right: 1px none #E0E0E0; border-bottom: 1px none #E0E0E0; border-left: 1px none #E0E0E0; margin: 0px; } .mdescRight { padding: 0px 8px 4px 8px; font-size: 80%; font-style: italic; background-color: #FAFAFA; border-top: 1px none #E0E0E0; border-right: 1px none #E0E0E0; border-bottom: 1px none #E0E0E0; border-left: 1px none #E0E0E0; margin: 0px; } .memItemLeft { padding: 1px 0px 0px 8px; margin: 4px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #E0E0E0; border-right-color: #E0E0E0; border-bottom-color: #E0E0E0; border-left-color: #E0E0E0; border-top-style: solid; border-right-style: none; border-bottom-style: none; border-left-style: none; background-color: #FAFAFA; font-size: 80%; } .memItemRight { padding: 1px 8px 0px 8px; margin: 4px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #E0E0E0; border-right-color: #E0E0E0; border-bottom-color: #E0E0E0; border-left-color: #E0E0E0; border-top-style: solid; border-right-style: none; border-bottom-style: none; border-left-style: none; background-color: #FAFAFA; font-size: 80%; } .memTemplItemLeft { padding: 1px 0px 0px 8px; margin: 4px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #E0E0E0; border-right-color: #E0E0E0; border-bottom-color: #E0E0E0; border-left-color: #E0E0E0; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; background-color: #FAFAFA; font-size: 80%; } .memTemplItemRight { padding: 1px 8px 0px 8px; margin: 4px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #E0E0E0; border-right-color: #E0E0E0; border-bottom-color: #E0E0E0; border-left-color: #E0E0E0; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; background-color: #FAFAFA; font-size: 80%; } .memTemplParams { padding: 1px 0px 0px 8px; margin: 4px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #E0E0E0; border-right-color: #E0E0E0; border-bottom-color: #E0E0E0; border-left-color: #E0E0E0; border-top-style: solid; border-right-style: none; border-bottom-style: none; border-left-style: none; color: #606060; background-color: #FAFAFA; font-size: 80%; } .search { color: #003399; font-weight: bold; } FORM.search { margin-bottom: 0px; margin-top: 0px; } INPUT.search { font-size: 75%; color: #000080; font-weight: normal; background-color: #eeeeff; } TD.tiny { font-size: 75%; } a { color: #252E78; } a:visited { color: #3D2185; } .dirtab { padding: 4px; border-collapse: collapse; border: 1px solid #b0b0b0; } TH.dirtab { background: #eeeeff; font-weight: bold; } HR { height: 1px; border: none; border-top: 1px solid black; } --- NEW FILE: structARMarkerInfo2.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div> <h1>ARMarkerInfo2 Struct Reference</h1><!-- doxytag: class=<ARMarkerInfo2> -->internal structure use for marker detection. <a href="#_details">More...</a> <p> <code>#include <ar.h></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o0"></a><!-- doxytag: member=<ARMarkerInfo2::area> ref=<o0> args=<> --> int </td><td class="memItemRight" valign="bottom"><b>area</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o1"></a><!-- doxytag: member=<ARMarkerInfo2::pos> ref=<o1> args=<[2]> --> double </td><td class="memItemRight" valign="bottom"><b>pos</b> [2]</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o2"></a><!-- doxytag: member=<ARMarkerInfo2::coord_num> ref=<o2> args=<> --> int </td><td class="memItemRight" valign="bottom"><b>coord_num</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o3"></a><!-- doxytag: member=<ARMarkerInfo2::x_coord> ref=<o3> args=<[AR_CHAIN_MAX]> --> int </td><td class="memItemRight" valign="bottom"><b>x_coord</b> [AR_CHAIN_MAX]</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o4"></a><!-- doxytag: member=<ARMarkerInfo2::y_coord> ref=<o4> args=<[AR_CHAIN_MAX]> --> int </td><td class="memItemRight" valign="bottom"><b>y_coord</b> [AR_CHAIN_MAX]</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o5"></a><!-- doxytag: member=<ARMarkerInfo2::vertex> ref=<o5> args=<[5]> --> int </td><td class="memItemRight" valign="bottom"><b>vertex</b> [5]</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> internal structure use for marker detection. <p> Store information after contour detection (in observed screen coordinate, before distorsion correction). <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>area</em> </td><td>number of pixels in the labeled region </td></tr> <tr><td valign="top"></td><td valign="top"><em>pos</em> </td><td>position of the center of the marker (in observed screen coordinates) </td></tr> <tr><td valign="top"></td><td valign="top"><em>coord_num</em> </td><td>numer of pixels in the contour. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x_coord</em> </td><td>x coordinate of the pixels of contours (size limited by AR_CHAIN_MAX). </td></tr> <tr><td valign="top"></td><td valign="top"><em>y_coord</em> </td><td>y coordinate of the pixels of contours (size limited by AR_CHAIN_MAX). </td></tr> <tr><td valign="top"></td><td valign="top"><em>vertex</em> </td><td>position of the vertices of the marker. (in observed screen coordinates) rem:the first vertex is stored again as the 5th entry in the array for convenience of drawing a line-strip easier.</td></tr> </table> </dl> <p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="ar_8h.html">ar.h</a></ul> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: structarPrevInfo.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div> <h1>arPrevInfo Struct Reference</h1><!-- doxytag: class=<arPrevInfo> -->structure for temporal continuity of tracking <a href="#_details">More...</a> <p> <code>#include <ar.h></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o0"></a><!-- doxytag: member=<arPrevInfo::marker> ref=<o0> args=<> --> <a class="el" href="structARMarkerInfo.html">ARMarkerInfo</a> </td><td class="memItemRight" valign="bottom"><b>marker</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o1"></a><!-- doxytag: member=<arPrevInfo::count> ref=<o1> args=<> --> int </td><td class="memItemRight" valign="bottom"><b>count</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> structure for temporal continuity of tracking <p> History structure for arDetectMarkerLite and arGetTransMatCont <p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="ar_8h.html">ar.h</a></ul> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: globals_func.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindexHL" href="globals.html">Globals</a></div> <div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindexHL" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> <div class="qindex"><a class="qindex" href="#index_a">a</a></div> <p> <p> <h3><a class="anchor" name="index_a">- a -</a></h3><ul> <li>ar2VideoCapNext() : <a class="el" href="video_8h.html#a13">video.h</a><li>ar2VideoCapStart() : <a class="el" href="video_8h.html#a12">video.h</a><li>ar2VideoCapStop() : <a class="el" href="video_8h.html#a14">video.h</a><li>ar2VideoClose() : <a class="el" href="video_8h.html#a11">video.h</a><li>ar2VideoDispOption() : <a class="el" href="video_8h.html#a9">video.h</a><li>ar2VideoGetImage() : <a class="el" href="video_8h.html#a15">video.h</a><li>ar2VideoInqSize() : <a class="el" href="video_8h.html#a16">video.h</a><li>ar2VideoOpen() : <a class="el" href="video_8h.html#a10">video.h</a><li>arActivatePatt() : <a class="el" href="ar_8h.html#a31">ar.h</a><li>arDeactivatePatt() : <a class="el" href="ar_8h.html#a32">ar.h</a><li>arDetectMarker() : <a class="el" href="ar_8h.html#a22">ar.h</a><li>arDetectMarker2() : <a class="el" href="ar_8h.html#a43">ar.h</a><li>arDetectMarkerLite() : <a class="el" href="ar_8h.html#a23">ar.h</a><li>arFreePatt() : <a class="el" href="ar_8h.html#a30">ar.h</a><li>argCleanup() : <a class="el" href="gsub_8h.html#a4">gsub.h</a><li>argConvGLcpara() : <a class="el" href="gsub_8h.html#a15">gsub.h</a><li>argConvGlpara() : <a class="el" href="gsub_8h.html#a14">gsub.h</a><li>argDispHalfImage() : <a class="el" href="gsub_8h.html#a17">gsub.h</a><li>argDispImage() : <a class="el" href="gsub_8h.html#a16">gsub.h</a><li>argDraw2dLeft() : <a class="el" href="gsub_8h.html#a8">gsub.h</a><li>argDraw2dRight() : <a class="el" href="gsub_8h.html#a9">gsub.h</a><li>argDraw3dCamera() : <a class="el" href="gsub_8h.html#a13">gsub.h</a><li>argDraw3dLeft() : <a class="el" href="gsub_8h.html#a11">gsub.h</a><li>argDraw3dRight() : <a class="el" href="gsub_8h.html#a12">gsub.h</a><li>argDrawMode2D() : <a class="el" href="gsub_8h.html#a7">gsub.h</a><li>argDrawMode3D() : <a class="el" href="gsub_8h.html#a10">gsub.h</a><li>argDrawSquare() : <a class="el" href="gsub_8h.html#a18">gsub.h</a><li>arGetAngle() : <a class="el" href="ar_8h.html#a50">ar.h</a><li>arGetCode() : <a class="el" href="ar_8h.html#a45">ar.h</a><li>arGetContour() : <a class="el" href="ar_8h.html#a48">ar.h</a><li>arGetImgFeature() : <a class="el" href="ar_8h.html#a42">ar.h</a><li>arGetInitRot() : <a class="el" href="ar_8h.html#a53">ar.h</a><li>arGetLine() : <a class="el" href="ar_8h.html#a47">ar.h</a><li>arGetMarkerInfo() : <a class="el" href="ar_8h.html#a44">ar.h</a><li>arGetNewMatrix() : <a class="el" href="ar_8h.html#a52">ar.h</a><li>arGetPatt() : <a class="el" href="ar_8h.html#a46">ar.h</a><li>arGetRot() : <a class="el" href="ar_8h.html#a51">ar.h</a><li>arGetTransMat() : <a class="el" href="ar_8h.html#a24">ar.h</a><li>arGetTransMatCont() : <a class="el" href="ar_8h.html#a25">ar.h</a><li>argInit() : <a class="el" href="gsub_8h.html#a2">gsub.h</a><li>arglCameraFrustum() : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>arglCameraView() : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>arglCleanup() : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>arglDispImage() : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>arglDispImageStateful() : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>arglDistortionCompensationGet() : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>arglDistortionCompensationSet() : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>argLineSeg() : <a class="el" href="gsub_8h.html#a19">gsub.h</a><li>argLineSegHMD() : <a class="el" href="gsub_8h.html#a20">gsub.h</a><li>argLoadHMDparam() : <a class="el" href="gsub_8h.html#a3">gsub.h</a><li>arglPixelFormatGet() : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>arglPixelFormatSet() : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>arglSetupForCurrentContext() : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a><li>argSwapBuffers() : <a class="el" href="gsub_8h.html#a5">gsub.h</a><li>arInitCparam() : <a class="el" href="ar_8h.html#a20">ar.h</a><li>arLabeling() : <a class="el" href="ar_8h.html#a41">ar.h</a><li>arLoadPatt() : <a class="el" href="ar_8h.html#a21">ar.h</a><li>arMatrixAlloc() : <a class="el" href="matrix_8h.html#a2">matrix.h</a><li>arMatrixAllocDup() : <a class="el" href="matrix_8h.html#a5">matrix.h</a><li>arMatrixAllocInv() : <a class="el" href="matrix_8h.html#a14">matrix.h</a><li>arMatrixAllocMul() : <a class="el" href="matrix_8h.html#a9">matrix.h</a><li>arMatrixAllocTrans() : <a class="el" href="matrix_8h.html#a11">matrix.h</a><li>arMatrixAllocUnit() : <a class="el" href="matrix_8h.html#a7">matrix.h</a><li>arMatrixDet() : <a class="el" href="matrix_8h.html#a15">matrix.h</a><li>arMatrixDisp() : <a class="el" href="matrix_8h.html#a18">matrix.h</a><li>arMatrixDup() : <a class="el" href="matrix_8h.html#a4">matrix.h</a><li>arMatrixFree() : <a class="el" href="matrix_8h.html#a3">matrix.h</a><li>arMatrixInv() : <a class="el" href="matrix_8h.html#a12">matrix.h</a><li>arMatrixMul() : <a class="el" href="matrix_8h.html#a8">matrix.h</a><li>arMatrixPCA() : <a class="el" href="matrix_8h.html#a16">matrix.h</a><li>arMatrixPCA2() : <a class="el" href="matrix_8h.html#a17">matrix.h</a><li>arMatrixSelfInv() : <a class="el" href="matrix_8h.html#a13">matrix.h</a><li>arMatrixTrans() : <a class="el" href="matrix_8h.html#a10">matrix.h</a><li>arMatrixUnit() : <a class="el" href="matrix_8h.html#a6">matrix.h</a><li>arModifyMatrix() : <a class="el" href="ar_8h.html#a49">ar.h</a><li>arMultiActivate() : <a class="el" href="arMulti_8h.html#a2">arMulti.h</a><li>arMultiDeactivate() : <a class="el" href="arMulti_8h.html#a3">arMulti.h</a><li>arMultiFreeConfig() : <a class="el" href="arMulti_8h.html#a4">arMulti.h</a><li>arMultiGetTransMat() : <a class="el" href="arMulti_8h.html#a1">arMulti.h</a><li>arMultiReadConfigFile() : <a class="el" href="arMulti_8h.html#a0">arMulti.h</a><li>arParamChangeSize() : <a class="el" href="param_8h.html#a5">param.h</a><li>arParamDecomp() : <a class="el" href="param_8h.html#a1">param.h</a><li>arParamDecompMat() : <a class="el" href="param_8h.html#a2">param.h</a><li>arParamDisp() : <a class="el" href="param_8h.html#a8">param.h</a><li>arParamLoad() : <a class="el" href="param_8h.html#a7">param.h</a><li>arParamSave() : <a class="el" href="param_8h.html#a6">param.h</a><li>arSavePatt() : <a class="el" href="ar_8h.html#a33">ar.h</a><li>arUtilMat2QuatPos() : <a class="el" href="ar_8h.html#a36">ar.h</a><li>arUtilMatInv() : <a class="el" href="ar_8h.html#a34">ar.h</a><li>arUtilMatMul() : <a class="el" href="ar_8h.html#a35">ar.h</a><li>arUtilQuatPos2Mat() : <a class="el" href="ar_8h.html#a37">ar.h</a><li>arUtilSleep() : <a class="el" href="ar_8h.html#a40">ar.h</a><li>arUtilTimer() : <a class="el" href="ar_8h.html#a38">ar.h</a><li>arUtilTimerReset() : <a class="el" href="ar_8h.html#a39">ar.h</a><li>arVecAlloc() : <a class="el" href="matrix_8h.html#a19">matrix.h</a><li>arVecDisp() : <a class="el" href="matrix_8h.html#a21">matrix.h</a><li>arVecFree() : <a class="el" href="matrix_8h.html#a20">matrix.h</a><li>arVecHousehold() : <a class="el" href="matrix_8h.html#a22">matrix.h</a><li>arVecInnerproduct() : <a class="el" href="matrix_8h.html#a23">matrix.h</a><li>arVecTridiagonalize() : <a class="el" href="matrix_8h.html#a24">matrix.h</a><li>arVideoCapNext() : <a class="el" href="video_8h.html#a6">video.h</a><li>arVideoCapStart() : <a class="el" href="video_8h.html#a4">video.h</a><li>arVideoCapStop() : <a class="el" href="video_8h.html#a5">video.h</a><li>arVideoClose() : <a class="el" href="video_8h.html#a3">video.h</a><li>arVideoDispOption() : <a class="el" href="video_8h.html#a1">video.h</a><li>arVideoGetImage() : <a class="el" href="video_8h.html#a7">video.h</a><li>arVideoInqSize() : <a class="el" href="video_8h.html#a8">video.h</a><li>arVideoOpen() : <a class="el" href="video_8h.html#a2">video.h</a></ul> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: globals_defs.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindexHL" href="globals.html">Globals</a></div> <div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindexHL" href="globals_defs.html">Defines</a></div> <p> <ul> <li>ARELEM0 : <a class="el" href="matrix_8h.html#a0">matrix.h</a><li>ARELEM1 : <a class="el" href="matrix_8h.html#a1">matrix.h</a><li>arMalloc : <a class="el" href="ar_8h.html#a0">ar.h</a><li>TRUE : <a class="el" href="gsub_lite/index.html">gsub_lite.h</a></ul> <small>Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a><br> Copyright © 2004-2005. HIT Lab NZ. All Rights Reserved.</small> </body> </html> --- NEW FILE: gsub_8h.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ARToolKit API Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a></div> <h1>gsub.h File Reference</h1>ARToolkit OpenGL subroutines. <a href="#_details">More...</a> <p> <code>#include <AR/config.h></code><br> <code>#include <<a class="el" href="param_8h.html">AR/param.h</a>></code><br> <code>#include <<a class="el" href="ar_8h.html">AR/ar.h</a>></code><br> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a2">argInit</a> (<a class="el" href="structARParam.html">ARParam</a> *cparam, double zoom, int fullFlag, int xwin, int ywin, int hmd_flag)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialise the gsub library. <a href="#a2"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a3">argLoadHMDparam</a> (<a class="el" href="structARParam.html">ARParam</a> *lparam, <a class="el" href="structARParam.html">ARParam</a> *rparam)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">initialize camera for HMD. <a href="#a3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a4">argCleanup</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Close the gsub library. <a href="#a4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a5">argSwapBuffers</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">swap the rendering buffer. <a href="#a5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6"></a><!-- doxytag: member=<gsub.h::argMainLoop> ref=<a6> args=<(void(*mouseFunc)(int button, int state, int x, int y), void(*keyFunc)(unsigned char key, int x, int y), void(*mainFunc)(void))> --> void </td><td class="memItemRight" valign="bottom"><b>argMainLoop</b> (void(*mouseFunc)(int button, int state, int x, int y), void(*keyFunc)(unsigned char key, int x, int y), void(*mainFunc)(void))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a7">argDrawMode2D</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">switch the rendering context for 2D rendering mode. <a href="#a7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a8">argDraw2dLeft</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">switch the rendering view to left eye (in 2D space) <a href="#a8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a9">argDraw2dRight</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">switch the rendering view to right eye (in 2D space) <a href="#a9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a10">argDrawMode3D</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">switch the rendering context for 3D rendering mode. <a href="#a10"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a11">argDraw3dLeft</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">switch the rendering view to left eye (in 3D space) <a href="#a11"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a12">argDraw3dRight</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">switch the rendering view to right eye (in 3D space) <a href="#a12"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a13">argDraw3dCamera</a> (int xwin, int ywin)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">switch the rendering view for 3D rendering mode. <a href="#a13"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a14">argConvGlpara</a> (double para[3][4], double gl_para[16])</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">transform ARToolKit matrix format to an openGL matrix format. <a href="#a14"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a15">argConvGLcpara</a> (<a class="el" href="structARParam.html">ARParam</a> *param, double gnear, double gfar, double m[16])</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">transform ARToolKit intrinsic camera parameters matrix format to an openGL matrix format. <a href="#a15"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a16">argDispImage</a> (ARUint8 *image, int xwin, int ywin)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">display the video image. <a href="#a16"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a17">argDispHalfImage</a> (ARUint8 *image, int xwin, int ywin)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">display half of the video image. <a href="#a17"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a18">argDrawSquare</a> (double vertex[4][2], int xwin, int ywin)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">draw a 2D square. <a href="#a18"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a19">argLineSeg</a> (double x1, double y1, double x2, double y2, int xwin, int ywin)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a line. <a href="#a19"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gsub_8h.html#a20">argLineSegHMD</a> (double x1, double y1, double x2, double y2)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw a line with HMD mode. <a href="#a20"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a21"></a><!-- doxytag: member=<gsub.h::argInqSetting> ref=<a21> args=<(int *hmdMode, int *gMiniXnum2, int *gMiniYnum2, void(**mouseFunc)(int button, int state, int x, int y), void(**keyFunc)(unsigned char key, int x, int y), void(**mainFunc)(void))> --> void </td><td class="memItemRight" valign="bottom"><b>argInqSetting</b> (int *hmdMode, int *gMiniXnum2, int *gMiniYnum2, void(**mouseFunc)(int button, int state, int x, int y), void(**keyFunc)(unsigned char key, int x, int y), void(**mainFunc)(void))</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a22"></a><!-- doxytag: member=<gsub.h::argsInit> ref=<a22> args=<(ARSParam *scparam, double zoom, int twinFlag, int fullFlag, int xwin, int ywin)> --> void </td><td class="memItemRight" valign="bottom"><b>argsInit</b> (ARSParam *scparam, double zoom, int twinFlag, int fullFlag, int xwin, int ywin)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a23"></a><!-- doxytag: member=<gsub.h::argsDraw3dCamera> ref=<a23> args=<(int xwin, int ywin, int LorR, int stencil_flag)> --> void </td><td class="memItemRight" valign="bottom"><b>argsDraw3dCamera</b> (int xwin, int ywin, int LorR, int stencil_flag)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a24"></a><!-- doxytag: member=<gsub.h::argsConvGLcpara> ref=<a24> args=<(ARSParam *sparam, double gnear, double gfar, double mL[16], double mR[16])> --> void </td><td class="memItemRight" valign="bottom"><b>argsConvGLcpara</b> (ARSParam *sparam, double gnear, double gfar, double mL[16], double mR[16])</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a25"></a><!-- doxytag: member=<gsub.h::argsDispImage> ref=<a25> args=<(ARUint8 *image, int LorR, int xwin, int ywin)> --> void </td><td class="memItemRight" valign="bottom"><b>argsDispImage</... [truncated message content] |
From: Philip L. <phi...@us...> - 2005-08-23 19:14:32
|
Update of /cvsroot/artoolkit/artoolkit/include/AR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26955 Modified Files: gsub_lite.h Log Message: Documentation fixes. Index: gsub_lite.h =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/include/AR/gsub_lite.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** gsub_lite.h 16 Aug 2005 00:50:18 -0000 1.4 --- gsub_lite.h 23 Aug 2005 19:14:20 -0000 1.5 *************** *** 40,43 **** --- 40,50 ---- */ + /** + \file gsub_lite.h + \brief A collection of useful OpenGL routines for ARToolKit. + \cond GSUB_LITE + \htmlinclude gsub_lite/index.html + */ + /*! @header gsub_lite *************** *** 538,540 **** --- 545,551 ---- #endif + /** + \endcond + */ + #endif /* !__gsub_lite_h__ */ |
From: Philip L. <phi...@us...> - 2005-08-23 18:21:27
|
Update of /cvsroot/artoolkit/artoolkit/include/AR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11265 Modified Files: arMulti.h Log Message: Documentation fixes. Index: arMulti.h =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/include/AR/arMulti.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** arMulti.h 22 Nov 2004 02:11:05 -0000 1.2 --- arMulti.h 23 Aug 2005 18:21:15 -0000 1.3 *************** *** 25,29 **** * Rev Date Who Changes * ! *----------------------------------------------------------------------------*/ #ifndef AR_MULTI_H --- 25,29 ---- * Rev Date Who Changes * ! *----------------------------------------------------------------------------*/ #ifndef AR_MULTI_H *************** *** 33,39 **** #endif ! // ============================================================================ ! // Public includes. ! // ============================================================================ #include <stdio.h> --- 33,39 ---- #endif ! // ============================================================================ ! // Public includes. ! // ============================================================================ #include <stdio.h> *************** *** 42,62 **** #include <AR/ar.h> ! // ============================================================================ ! // Public types and defines. ! // ============================================================================ ! ! /** \struct ARMultiEachMarkerInfoT ! * \brief multi-marker structure ! * ! * Structure for multi-marker tracking ! * really similar to ARMarkerInfo ! * \param patt_id identification of the pattern ! * \param width width of the pattern (in mm) ! * \param center center of the pattern (in mm) ! * \param trans estimated position of the pattern ! * \param itrans relative position of the pattern ! * \param pos3d final position of the pattern ! * \param visible boolean flag for visibility ! * \param visibleR last state visibility */ typedef struct { --- 42,62 ---- #include <AR/ar.h> ! // ============================================================================ ! // Public types and defines. ! // ============================================================================ ! ! /** \struct ARMultiEachMarkerInfoT ! * \brief multi-marker structure ! * ! * Structure for multi-marker tracking ! * really similar to ARMarkerInfo ! * \param patt_id identification of the pattern ! * \param width width of the pattern (in mm) ! * \param center center of the pattern (in mm) ! * \param trans estimated position of the pattern ! * \param itrans relative position of the pattern ! * \param pos3d final position of the pattern ! * \param visible boolean flag for visibility ! * \param visibleR last state visibility */ typedef struct { *************** *** 72,85 **** } ARMultiEachMarkerInfoT; ! /** \struct ARMultiMarkerInfoT ! * \brief global multi-marker structure ! * ! * Main structure for multi-marker tracking. ! * ! * \param marker list of markers of the multi-marker pattern ! * \param marker_num number of markers used ! * \param trans position of the multi-marker pattern (more precisely, the camera position in the multi-marker CS) ! * \param prevF boolean flag for visibility ! * \param transR last position */ typedef struct { --- 72,85 ---- } ARMultiEachMarkerInfoT; ! /** \struct ARMultiMarkerInfoT ! * \brief global multi-marker structure ! * ! * Main structure for multi-marker tracking. ! * ! * \param marker list of markers of the multi-marker pattern ! * \param marker_num number of markers used ! * \param trans position of the multi-marker pattern (more precisely, the camera position in the multi-marker CS) ! * \param prevF boolean flag for visibility ! * \param transR last position */ typedef struct { *************** *** 92,155 **** } ARMultiMarkerInfoT; ! // ============================================================================ ! // Public globals. ! // ============================================================================ ! ! // ============================================================================ ! // Public functions. ! // ============================================================================ ! ! /** \fn ARMultiMarkerInfoT *arMultiReadConfigFile( char *filename ) ! * \brief loading multi-markers description from a file ! * ! * Load a configuration file for multi-markers tracking. The configuration ! * file furnishs pointer to each pattern description. ! * ! * \param filename name of the pattern file ! * \return a pattern structure, NULL if error */ ARMultiMarkerInfoT *arMultiReadConfigFile( const char *filename ); ! /** \fn double arMultiGetTransMat(ARMarkerInfo *marker_info, int marker_num, ! ARMultiMarkerInfoT *config) ! * \brief compute camera position in function of the multi-marker patterns (based on detected markers) ! * ! * calculate the transformation between the multi-marker patterns and the real camera. Based on ! * confident values of detected markers in the multi-markers patterns, a global position is return. ! * ! * \param marker_info list of detected markers (from arDetectMarker) ! * \param marker_num number of detected markers ! * \param config ! * \return */ double arMultiGetTransMat(ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config); ! /** \fn int arMultiActivate( ARMultiMarkerInfoT *config ) ! * \brief activate a multi-marker pattern on the recognition procedure. ! * ! * Activate a multi-marker for be checking during the template matching ! * operation. ! * \param config pointer to the multi-marker ! * \return 0 if success, -1 if error */ int arMultiActivate( ARMultiMarkerInfoT *config ); ! /** \fn int arMultiDeactivate( ARMultiMarkerInfoT *config ) ! * \brief Desactivate a multi-marker pattern on the recognition procedure. ! * ! * Desactivate a multi-marker for not be checking during the template matching ! * operation. ! * \param config pointer to the multi-marker ! * \return 0 if success, -1 if error */ int arMultiDeactivate( ARMultiMarkerInfoT *config ); ! /** \fn arMultiFreeConfig( ARMultiMarkerInfoT *config ) ! * \brief remove a multi-marker pattern from memory. ! * ! * desactivate a pattern and remove it from memory. Post-condition ! * of this function is unavailability of the multi-marker pattern. ! * \param config pointer to the multi-marker ! * \return 0 if success, -1 if error */ int arMultiFreeConfig( ARMultiMarkerInfoT *config ); --- 92,155 ---- } ARMultiMarkerInfoT; ! // ============================================================================ ! // Public globals. ! // ============================================================================ ! ! // ============================================================================ ! // Public functions. ! // ============================================================================ ! ! /** ! * \brief loading multi-markers description from a file ! * ! * Load a configuration file for multi-markers tracking. The configuration ! * file furnishs pointer to each pattern description. ! * ! * \param filename name of the pattern file ! * \return a pattern structure, NULL if error */ ARMultiMarkerInfoT *arMultiReadConfigFile( const char *filename ); ! /** ! * \brief compute camera position in function of the multi-marker patterns (based on detected markers) ! * ! * calculate the transformation between the multi-marker patterns and the real camera. Based on ! * confident values of detected markers in the multi-markers patterns, a global position is return. ! * ! * \param marker_info list of detected markers (from arDetectMarker) ! * \param marker_num number of detected markers ! * \param config ! * \return */ double arMultiGetTransMat(ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config); ! /** ! * \brief activate a multi-marker pattern on the recognition procedure. ! * ! * Activate a multi-marker for be checking during the template matching ! * operation. ! * \param config pointer to the multi-marker ! * \return 0 if success, -1 if error */ int arMultiActivate( ARMultiMarkerInfoT *config ); ! /** ! * \brief Desactivate a multi-marker pattern on the recognition procedure. ! * ! * Desactivate a multi-marker for not be checking during the template matching ! * operation. ! * \param config pointer to the multi-marker ! * \return 0 if success, -1 if error */ int arMultiDeactivate( ARMultiMarkerInfoT *config ); ! ! /** ! * \brief remove a multi-marker pattern from memory. ! * ! * desactivate a pattern and remove it from memory. Post-condition ! * of this function is unavailability of the multi-marker pattern. ! * \param config pointer to the multi-marker ! * \return 0 if success, -1 if error */ int arMultiFreeConfig( ARMultiMarkerInfoT *config ); |
From: Philip L. <phi...@us...> - 2005-08-23 18:20:48
|
Update of /cvsroot/artoolkit/artoolkit/include/AR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11034 Modified Files: ar.h Log Message: Documentation fixes. Index: ar.h =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/include/AR/ar.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ar.h 23 Jul 2005 00:00:49 -0000 1.5 --- ar.h 23 Aug 2005 18:20:40 -0000 1.6 *************** *** 1,720 **** ! /* -------------------------------------------------------------------------- ! * Copyright (c) 20042-2005 HIT Lab NZ. ! * The distribution policy is described in the file COPYING.txt furnished ! * with this library. ! * -------------------------------------------------------------------------*/ ! /** ! * \file ar.h ! * \brief ARToolKit subroutines. ! * ! * Core of the ARToolKit Library. This file provides image analysis and marker [...1394 lines suppressed...] ! double prev_conv[3][4], ! double center[2], double width, ! double transL[3][4], double transR[3][4] ); ! double arsGetTransMat2 ( double rot[3][3], ! double ppos2dL[][2], double ppos3dL[][3], int numL, ! double ppos2dR[][2], double ppos3dR[][3], int numR, ! double transL[3][4], double transR[3][4] ); ! double arsGetPosErr( double pos2dL[2], double pos2dR[2] ); ! int arsCheckPosition ( double pos2dL[2], double pos2dR[2], double thresh ); ! int arsCheckMarkerPosition( ARMarkerInfo *marker_infoL, ARMarkerInfo *marker_infoR, ! double thresh ); ! ! double arsModifyMatrix( double rot[3][3], double trans[3], ARSParam *arsParam, ! double pos3dL[][3], double pos2dL[][2], int numL, ! double pos3dR[][3], double pos2dR[][2], int numR ); ! ! #ifdef __cplusplus ! } ! #endif ! #endif |
From: Philip L. <phi...@us...> - 2005-08-23 18:14:50
|
Update of /cvsroot/artoolkit/artoolkit/include/AR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9266 Modified Files: video.h Log Message: Documentation fixes. Index: video.h =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/include/AR/video.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** video.h 22 Nov 2004 02:11:05 -0000 1.2 --- video.h 23 Aug 2005 18:14:41 -0000 1.3 *************** *** 1,118 **** ! /* -------------------------------------------------------------------------- ! * Copyright (c) 2004-2004 Philip Lamb (PRL) ph...@ed.... All rights reserved. ! * This file is part of ARToolKit. ! * ! * ARToolKit is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * ARToolKit is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with ARToolKit; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * -------------------------------------------------------------------------*/ ! /** ! * \file video.h ! * \brief ARToolkit video subroutines. ! * ! * This component furnishs a multi-platform video support for ARToolkit. ! * It provides access to hardware video input available on different machines, OS. ! * For each platform a specific sub-component have been implemented, unified in the ! * same interface (with the prefix function name arVideoXXX). ! * ! * The actual supported platforms (and the driver/library used) are: ! * - Windows: with DirectShow (VFW obsolete). ! * - Linux: with V4L, IEEE1394 Library. ! * - Macintosh: with QuickTime 6. ! * - SGI: with VL. ! * ! * This component have two separated interfaces according to your videos input ! * number: ! * - one single alone camera: used the <b>arXXX</b> functions (XXX template name). ! * - multiple camera: used the <b>ar2XXX</b> functions (XXX template name). ! * ! * More information are available on <a href="video.html">the video page</a>. ! * ! * \remark ! * the arXXX uses a global variable and wrap all calls to ar2XXX functions ! * - WINDOWS: only one camera is supported. ! * ! * History : ! * modified by Thomas Pintaric (pin...@im...) for adding ! * a fully transparent DirectShow Driver. ! * ! * \author Hirokazu Kato ka...@sy... ! * \author Atsishi Nakazawa nak...@in... ! * \author Thomas Pintaric pin...@im... ! * \version 4.3b ! * \date 03/02/02 ! * ! * ! **/ ! /* -------------------------------------------------------------------------- ! * History : ! * Rev Date Who Changes ! * 2.6.8 2004-07-20 PRL Rewrite for ARToolKit 2.68.2 ! * ! *----------------------------------------------------------------------------*/ ! ! #ifndef AR_VIDEO_H ! #define AR_VIDEO_H ! ! #ifdef __cplusplus ! extern "C" { ! #endif ! // ============================================================================ // Public includes. // ============================================================================ ! ! #include <AR/config.h> ! #include <AR/ar.h> ! // ============================================================================ // Public types and defines. // ============================================================================ ! ! #ifdef _WIN32 ! # include <AR/sys/videoWin32DirectShow.h> ! # ifdef LIBARVIDEO_EXPORTS ! # define AR_DLL_API __declspec(dllexport) ! # else ! # ifdef _DLL ! # define AR_DLL_API __declspec(dllimport) ! # else ! # define AR_DLL_API extern ! # endif ! # endif ! #else ! # define AR_DLL_API ! #endif ! ! #ifdef __linux ! # ifdef AR_INPUT_V4L ! # include <AR/sys/videoLinuxV4L.h> ! # endif ! # ifdef AR_INPUT_DV ! # include <AR/sys/videoLinuxDV.h> ! # endif ! # ifdef AR_INPUT_1394CAM ! # include <AR/sys/videoLinux1394Cam.h> ! # endif ! #endif ! ! #ifdef __sgi ! # include <AR/sys/videoSGI.h> ! #endif ! ! #ifdef __APPLE__ ! # include <AR/sys/videoMacOSX.h> ! #endif ! // ============================================================================ // Public globals. --- 1,119 ---- ! /* -------------------------------------------------------------------------- ! * Copyright (c) 2004-2004 Philip Lamb (PRL) ph...@ed.... All rights reserved. ! * This file is part of ARToolKit. ! * ! * ARToolKit is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * ARToolKit is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with ARToolKit; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * -------------------------------------------------------------------------*/ ! /** ! * \file video.h ! * \brief ARToolkit video subroutines. ! * ! * This library provides multi-platform video input support for ARToolKit. ! * It abstracts access to hardware video input available on different machines and ! * operating systems. ! * ! * The actual supported platforms (and the driver/library used) are: ! * - Windows: with Microsoft DirectShow (VFW obsolete). ! * - Linux: with Video4Linux library, IEEE1394 camera library, and DV camera library. ! * - Macintosh: with QuickTime. ! * - SGI: with VL. ! * ! * This library provides two sets of functions, depending on whether your program ! * needs to use only one video stream, or more than one video stream. These ! * two sets are functionally identical. ! * - one camera: use the <b>arVideo*</b> functions. ! * - multiple cameras: use the <b>ar2Video*</b> functions. ! * ! * More information on establishing video streams is available in the ARToolKit manual. ! * ! * \remark The arVideo* functions maintain the current video stream in a global variable ! * and internally call the ar2Video* functions. ! * ! * History : ! * modified by Thomas Pintaric (pin...@im...) to add ! * a fully transparent DirectShow Driver. ! * ! * \author Hirokazu Kato ka...@sy... ! * \author Atsishi Nakazawa nak...@in... ! * \author Thomas Pintaric pin...@im... (Windows DirectShow video support). ! * \author Philip Lamb ph...@ed... (Macintosh Quicktime video support). ! * \version 4.3b ! * \date 03/02/02 ! * ! * ! */ ! /* -------------------------------------------------------------------------- ! * History : ! * Rev Date Who Changes ! * 2.6.8 2004-07-20 PRL Rewrite for ARToolKit 2.68.2 ! * ! *---------------------------------------------------------------------------- ! */ ! ! #ifndef AR_VIDEO_H ! #define AR_VIDEO_H ! ! #ifdef __cplusplus ! extern "C" { ! #endif ! // ============================================================================ // Public includes. // ============================================================================ ! ! #include <AR/config.h> ! #include <AR/ar.h> ! // ============================================================================ // Public types and defines. // ============================================================================ ! ! #ifdef _WIN32 ! # include <AR/sys/videoWin32DirectShow.h> ! # ifdef LIBARVIDEO_EXPORTS ! # define AR_DLL_API __declspec(dllexport) ! # else ! # ifdef _DLL ! # define AR_DLL_API __declspec(dllimport) ! # else ! # define AR_DLL_API extern ! # endif ! # endif ! #else ! # define AR_DLL_API ! #endif ! ! #ifdef __linux ! # ifdef AR_INPUT_V4L ! # include <AR/sys/videoLinuxV4L.h> ! # endif ! # ifdef AR_INPUT_DV ! # include <AR/sys/videoLinuxDV.h> ! # endif ! # ifdef AR_INPUT_1394CAM ! # include <AR/sys/videoLinux1394Cam.h> ! # endif ! #endif ! ! #ifdef __sgi ! # include <AR/sys/videoSGI.h> ! #endif ! ! #ifdef __APPLE__ ! # include <AR/sys/videoMacOSX.h> ! #endif ! // ============================================================================ // Public globals. *************** *** 122,327 **** // Public functions. // ============================================================================ ! ! /* ! mono-camera ! */ ! ! /** \fn int arVideoDispOption( void ) ! * \brief display the video option. ! * ! * According to your platform, output in the ! * standard console the video option available. ! * \return 0 ! */ ! AR_DLL_API int arVideoDispOption(void); ! ! /** \fn int arVideoOpen( char *config ) ! * \brief open a video source. ! * ! * this function open a video input path with the ! * driver (and device) present on your platform. ! * According to your operating system and the ! * hardware the initialization will be different : a ! * generic string structure is used for this issue. ! * You can find all details in this <a href="videoconfig.html"> ! * webpage</a> ! * \param config string of the selected video configuration. ! * \return 0 if successful, -1 if a video path couldnt be opened ! */ ! AR_DLL_API int arVideoOpen(char *config); ! ! /** \fn int arVideoClose( void ) ! * \brief close the video source. ! * a function that needs to be called in order to shut down the video capture ! * \return 0 if shut down successfully, otherwise 1. ! */ ! AR_DLL_API int arVideoClose(void); ! ! /** \fn int arVideoCapStart( void ) ! * \brief start the capture of video. ! * ! * This function start the video capture routine. According ! * to the architecture can start a video thread, call a specific ! * run-time function in the driver. ! * \remark this function coupled with arVideoCapStop, can ! * be call many times in your program (reduce the CPU load ! * when they stop for long and critical operations) ! * \return 0 if successful, -1 if the capture can't be start ! */ ! AR_DLL_API int arVideoCapStart(void); ! ! /** \fn int arVideoCapStop( void ) ! * \brief stop the capture of video. ! * ! * This function stop the video capture routine. According ! * to the architecture can stop a video thread, call a specific ! * run-time function in the driver. ! * \remark this function coupled with arVideoCapStart, can ! * be call many times in your program (reduce the CPU load ! * when they stop for long and critical operations) ! * \return 0 if successful, -1 if the capture can't be stop ! */ ! AR_DLL_API int arVideoCapStop(void); ! ! /** \fn int arVideoCapNext( void ) ! * \brief call for the next grabbed video frame. ! * ! * According to your platform, this function can ! * be have different effects. A call to the function ! * indicates that a new frame can be grabbed. The outcome ! * is you can't use more the last video frame. You need to ! * call this function after analysis the video image and ! * display it. ! * ! * \remark if your video grabber is multithread, this ! * function do nothing since a buffer is still available. ! * \return 0 if successful, -1 if the next grabbed frame can't be start ! */ ! AR_DLL_API int arVideoCapNext(void); ! ! /** \fn ARUint8 *arVideoGetImage( void ) ! * \brief get the video image. ! * ! * This function return a buffer with a captured video image. ! * XXXBK : do we need to delete the pointed area ? ! * is the area still available in the next call ? ! * \return a pointer to the captured video frame, or NULL if a frame isnt captured. ! */ ! AR_DLL_API ARUint8* arVideoGetImage(void); ! ! /** \fn int arVideoInqSize( int *x, int *y ) ! * \brief get the video image size. ! * ! * a function that returns the size of the captured video frame. ! * \param x a pointer to the length of the captured image ! * \param y a pointer to the width of the captured image ! * \return 0 if the dimensions are found successfully, otherwise 1 ! */ ! AR_DLL_API int arVideoInqSize(int *x, int *y); ! ! /* ! multiple cameras ! */ ! ! /** \fn int ar2VideoDispOption ( void ) ! * \brief display the video option (multiple video inputs) ! * ! * idem of arVideoDispOption for multiple video sources. ! * \return 0 ! */ ! AR_DLL_API int ar2VideoDispOption(void); ! ! /** \fn AR2VideoParamT *ar2VideoOpen ( char *config ) ! * \brief open a video source (multiple video inputs) ! * ! * idem of arVideoOpen for multiple video sources (the selected ! * source in argument). ! * \param config string of the selected video configuration. ! * \return 0 if successful, -1 if a video path couldnt be opened ! */ ! AR_DLL_API AR2VideoParamT *ar2VideoOpen(char *config); ! ! /** \fn int ar2VideoClose ( AR2VideoParamT *vid ) ! * \brief close a video source (multiple video inputs) ! * ! * idem of arVideoClose for multiple video sources (the selected ! * source in argument). ! * \param vid a video handle structure for multi-camera grabbing ! * \return 0 if shut down successfully, otherwise 1. ! */ ! AR_DLL_API int ar2VideoClose(AR2VideoParamT *vid); ! ! /** \fn int ar2VideoCapStart (AR2VideoParamT *vid ) ! * \brief start the capture of a video source (multiple video inputs) ! * ! * idem of arVideoCapStart for multiple video sources (the selected ! * source in argument). ! * \param vid a video handle structure for multi-camera grabbing ! * \return 0 if successful, -1 if the capture can't be start ! */ ! AR_DLL_API int ar2VideoCapStart(AR2VideoParamT *vid); ! ! /** \fn int ar2VideoCapNext ( AR2VideoParamT *vid ) ! * \brief call for the next grabbed video frame of a video source (multiple video inputs) ! * ! * idem of arVideoCapNext for multiple video sources (the selected ! * source in argument). ! * \param vid a video handle structure for multi-camera grabbing ! * \return 0 if successful, -1 if the next grabbed frame can't be start ! */ ! AR_DLL_API int ar2VideoCapNext(AR2VideoParamT *vid); ! ! /** \fn int ar2VideoCapStop ( AR2VideoParamT *vid ) ! * \brief stop the capture of a video source (multiple video inputs) ! * ! * idem of arVideoCapStop for multiple video sources (the selected ! * source in argument). ! * \param vid a video handle structure for multi-camera grabbing ! * \return 0 if successful, -1 if the next grabbed frame can't be stop ! */ ! AR_DLL_API int ar2VideoCapStop(AR2VideoParamT *vid); ! ! /** \fn int ar2VideoGetImage ( AR2VideoParamT *vid ) ! * \brief get a video image from a video source (multiple video inputs) ! * ! * idem of arVideoGetImage for multiple video sources (the selected ! * source in argument). ! * \param vid a video handle structure for multi-camera grabbing ! * \return a pointer to the captured video frame, or NULL if a frame isnt captured. ! */ ! AR_DLL_API ARUint8 *ar2VideoGetImage(AR2VideoParamT *vid); ! ! /** \fn int ar2VideoInqSize ( AR2VideoParamT *vid, int *x,int *y ) ! * \brief get the video image size of a video source (multiple video inputs) ! * ! * idem of arVideoInqSize for multiple video sources (the selected ! * source in argument). ! * \param vid a video handle structure for multi-camera grabbing ! * \param x a pointer to the length of the captured image ! * \param y a pointer to the width of the captured image ! * \return 0 if the dimensions are found successfully, otherwise 1 ! */ ! AR_DLL_API int ar2VideoInqSize(AR2VideoParamT *vid, int *x, int *y); ! ! // Functions added for Studierstube/OpenTracker. ! #ifdef _WIN32 ! # ifndef __MEMORY_BUFFER_HANDLE__ ! # define __MEMORY_BUFFER_HANDLE__ ! # define DEFAULT_NUMBER_OF_ALLOCATOR_BUFFERS 3 ! typedef struct _MemoryBufferHandle ! { ! unsigned long n; // sample number ! __int64 t; // timestamp ! } MemoryBufferHandle; ! # endif // __MEMORY_BUFFER_HANDLE__ ! AR_DLL_API int ar2VideoInqFreq(AR2VideoParamT *vid, float *fps); ! AR_DLL_API int ar2VideoInqFlipping(AR2VideoParamT *vid, int *flipH, int *flipV); ! AR_DLL_API unsigned char *ar2VideoLockBuffer(AR2VideoParamT *vid, MemoryBufferHandle *pHandle); ! AR_DLL_API int ar2VideoUnlockBuffer(AR2VideoParamT *vid, MemoryBufferHandle Handle); ! #endif // _WIN32 ! ! #ifdef __cplusplus ! } ! #endif ! ! #endif // AR_VIDEO_H --- 123,350 ---- // Public functions. // ============================================================================ ! ! /* ! mono-camera ! */ ! ! /** ! * \brief display the video option. ! * ! * The video configuration options vary by operating system and platform. ! * This function outputs to the standard output the options available ! * on the current OS and platform. ! * \return 0 ! */ ! AR_DLL_API int arVideoDispOption(void); ! ! /** ! * \brief open a video source. ! * ! * This function opens a video input path with the ! * driver (and device) present on your platform. ! * According to your operating system and the ! * hardware the initialization will be different : a ! * generic string structure is used for this issue. ! * This function prepares the video stream for capture, ! * but capture will not actually begin until arVideoCapStart ! * is called. ! * More information on establishing video streams is available in the ARToolKit manual. ! * \param config string of the selected video configuration. ! * \return 0 if successful, -1 if a video path couldn't be opened ! */ ! AR_DLL_API int arVideoOpen(char *config); ! ! /** ! * \brief close the video source. ! * After your application has finished using a video stream, ! * this function must be called to close the link to the ! * input source, and free resources associated with the ! * capture operation. ! * \return 0 if shut down successfully, otherwise -1. ! */ ! AR_DLL_API int arVideoClose(void); ! ! /** ! * \brief start the capture of video. ! * ! * This function starts the video capture routine. ! * \remark On some operating systems, capture operations ! * may run in a separate execution thread. This call starts that thread. ! * \remark this function coupled with arVideoCapStop, can ! * be call many times in your program (this may reduce the CPU load ! * when video processing is stopped or for long and critical operations). ! * \return 0 if successful, -1 if the capture couldn't be started. ! */ ! AR_DLL_API int arVideoCapStart(void); ! ! /** ! * \brief stop the capture of video. ! * ! * This function stops the video capture routine. ! * \remark On some operating systems, capture operations ! * may run in a separate execution thread. This call stops that thread. ! * \remark this function coupled with arVideoCapStart, can ! * be call many times in your program (this may reduce the CPU load ! * when video processing is stopped or for long and critical operations). ! * \return 0 if successful, -1 if the capture couldn't be stopped. ! */ ! AR_DLL_API int arVideoCapStop(void); ! ! /** ! * \brief call for the next grabbed video frame. ! * ! * This function should be called at least once per frame. ! * It has several purposes, depending on the operating system. ! * It allows the video driver to perform housekeeping tasks ! * and also signals to the video grabber that your code ! * has finished using the most recent video frame returned by ! * arVideoGetImage(), and that the video driver may re-use the ! * memory occupied by the frame. ! * The effect of this call is operating-system dependent. ! * The best place to call this function is immediately after ! * you have finished displaying the current video frame, i.e. ! * after calling arglDispImage() or argDispImage(). ! * ! * \remark On some operating systems, this function is a no-op. ! * \return 0 if successful, -1 if the video driver encountered an error. ! */ ! AR_DLL_API int arVideoCapNext(void); ! ! /** ! * \brief get the video image. ! * ! * This function returns a buffer with a captured video image. ! * The returned data consists of a tightly-packed array of ! * pixels, beginning with the first component of the leftmost ! * pixel of the topmost row, and continuing with the remaining ! * components of that pixel, followed by the remaining pixels ! * in the topmost row, followed by the leftmost pixel of the ! * second row, and so on. ! * The arrangement of components of the pixels in the buffer is ! * determined by the configuration string passed in to the driver ! * at the time the video stream was opened. If no pixel format ! * was specified in the configuration string, then an operating- ! * system dependent default, defined in <AR/config.h> is used. ! * The memory occupied by the pixel data is owned by the video ! * driver and should not be freed by your program. ! * The pixels in the buffer remain valid until the next call to ! * arVideoCapNext, or the next call to arVideoGetImage which ! * returns a non-NULL pointer, or any call to arVideoCapStop or ! * arVideoClose. ! * \return A pointer to the pixel data of the captured video frame, ! * or NULL if no new pixel data was available at the time of calling. ! */ ! AR_DLL_API ARUint8* arVideoGetImage(void); ! ! /** ! * \brief get the video image size, in pixels. ! * ! * This function returns the size of the captured video frame, in ! * pixels. ! * \param x a pointer to the length of the captured image ! * \param y a pointer to the width of the captured image ! * \return 0 if the dimensions are found successfully, otherwise -1 ! */ ! AR_DLL_API int arVideoInqSize(int *x, int *y); ! ! /* ! multiple cameras ! */ ! ! /** ! * \brief display the video option (multiple video inputs) ! * ! * Companion function to arVideoDispOption, for multiple video sources. ! */ ! AR_DLL_API int ar2VideoDispOption(void); ! ! /** ! * \brief open a video source (multiple video inputs) ! * ! * Companion function to arVideoOpen for multiple video sources. ! * This function can be called multiple times to open multiple ! * video streams. The maximum number of streams is dependent on ! * the operating system and the performance characteristics of ! * the host CPU and video capture infrastructure. ! * ! * \param config string of the selected video configuration. ! * \return If the video path was successfully opened, this ! * function returns a pointer to an AR2VideoParamT structure, ! * an opaque structure which holds information and configuration ! * for the video stream. This paramater should then be passed ! * to other ar2Video* functions to specify which video stream ! * is being operated upon. If the video path was not successfully ! * opened, NULL will be returned. ! s*/ ! AR_DLL_API AR2VideoParamT *ar2VideoOpen(char *config); ! ! /** ! * \brief close a video source (multiple video inputs) ! * ! * Companion function to arVideoClose for multiple video sources. ! * \param vid a video handle structure for multi-camera grabbing. ! */ ! AR_DLL_API int ar2VideoClose(AR2VideoParamT *vid); ! ! /** ! * \brief start the capture of a video source (multiple video inputs) ! * ! * Companion function to arVideoCapStart for multiple video sources. ! * \param vid a video handle structure for multi-camera grabbing ! */ ! AR_DLL_API int ar2VideoCapStart(AR2VideoParamT *vid); ! ! /** ! * \brief call for the next grabbed video frame of a video source (multiple video inputs) ! * ! * Companion function to arVideoCapNext for multiple video sources. ! * \param vid a video handle structure for multi-camera grabbing ! */ ! AR_DLL_API int ar2VideoCapNext(AR2VideoParamT *vid); ! ! /** ! * \brief stop the capture of a video source (multiple video inputs) ! * ! * Companion function to arVideoCapStop for multiple video sources. ! * \param vid a video handle structure for multi-camera grabbing ! */ ! AR_DLL_API int ar2VideoCapStop(AR2VideoParamT *vid); ! ! /** ! * \brief get a video image from a video source (multiple video inputs) ! * ! * Companion function to arVideoGetImage for multiple video sources. ! * \param vid a video handle structure for multi-camera grabbing ! */ ! AR_DLL_API ARUint8 *ar2VideoGetImage(AR2VideoParamT *vid); ! ! /** ! * \brief get the video image size of a video source (multiple video inputs) ! * ! * Companion function to arVideoInqSize for multiple video sources. ! * \param vid a video handle structure for multi-camera grabbing ! */ ! AR_DLL_API int ar2VideoInqSize(AR2VideoParamT *vid, int *x, int *y); ! ! // Functions added for Studierstube/OpenTracker. ! #ifdef _WIN32 ! # ifndef __MEMORY_BUFFER_HANDLE__ ! # define __MEMORY_BUFFER_HANDLE__ ! # define DEFAULT_NUMBER_OF_ALLOCATOR_BUFFERS 3 ! typedef struct _MemoryBufferHandle ! { ! unsigned long n; // sample number ! __int64 t; // timestamp ! } MemoryBufferHandle; ! # endif // __MEMORY_BUFFER_HANDLE__ ! AR_DLL_API int ar2VideoInqFreq(AR2VideoParamT *vid, float *fps); ! AR_DLL_API int ar2VideoInqFlipping(AR2VideoParamT *vid, int *flipH, int *flipV); ! AR_DLL_API unsigned char *ar2VideoLockBuffer(AR2VideoParamT *vid, MemoryBufferHandle *pHandle); ! AR_DLL_API int ar2VideoUnlockBuffer(AR2VideoParamT *vid, MemoryBufferHandle Handle); ! #endif // _WIN32 ! ! #ifdef __cplusplus ! } ! #endif ! ! #endif // AR_VIDEO_H |
From: Philip L. <phi...@us...> - 2005-08-19 20:49:47
|
Update of /cvsroot/artoolkit/artoolkit/examples/simpleLite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2027 Modified Files: simpleLite.c Log Message: Grammar. Index: simpleLite.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/simpleLite/simpleLite.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** simpleLite.c 29 Jul 2005 23:23:08 -0000 1.7 --- simpleLite.c 19 Aug 2005 20:49:37 -0000 1.8 *************** *** 341,345 **** // ! // The function is called on events when the visibility of the // GLUT window changes (including when it first becomes visible). // --- 341,345 ---- // ! // This function is called on events when the visibility of the // GLUT window changes (including when it first becomes visible). // *************** *** 354,358 **** // ! // The function is called when the // GLUT window is resized. // --- 354,358 ---- // ! // This function is called when the // GLUT window is resized. // *************** *** 371,375 **** // ! // The function is called when the window needs redrawing. // static void Display(void) --- 371,375 ---- // ! // This function is called when the window needs redrawing. // static void Display(void) |
From: Philip L. <phi...@us...> - 2005-08-18 19:24:12
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4743 Modified Files: ARVideoSettingsController.m Log Message: Cast pointer to fix gcc warning. Index: ARVideoSettingsController.m =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX/ARVideoSettingsController.m,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ARVideoSettingsController.m 23 Jun 2005 06:49:18 -0000 1.3 --- ARVideoSettingsController.m 18 Aug 2005 19:23:57 -0000 1.4 *************** *** 119,123 **** GetComponentInfo(c, &compInfo, hName, NULL, NULL); ! if (PLstrcmp(*hName, "\pCompression") != 0) { *cPtr++ = c; PanelCount++; --- 119,123 ---- GetComponentInfo(c, &compInfo, hName, NULL, NULL); ! if (PLstrcmp(*(unsigned char **)hName, "\pCompression") != 0) { *cPtr++ = c; PanelCount++; |
From: Philip L. <phi...@us...> - 2005-08-18 18:25:28
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19579 Modified Files: video.c Log Message: PTHREAD_CANCELED now available. Index: video.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX/video.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** video.c 16 Aug 2005 00:50:07 -0000 1.10 --- video.c 18 Aug 2005 18:23:00 -0000 1.11 *************** *** 101,104 **** --- 101,111 ---- #define AR_VIDEO_STATUS_BIT_BUFFER 0x02 // Clear when buffer 1 is valid for writes, set when buffer 2 is valid for writes. + // Early Mac OS X implementations of pthreads failed to define PTHREAD_CANCELED. + #ifdef PTHREAD_CANCELED + # define AR_PTHREAD_CANCELLED PTHREAD_CANCELED + #else + # define AR_PTHREAD_CANCELLED ((void *) 1); + #endif + // ============================================================================ // Private types *************** *** 1669,1674 **** } vid->threadRunning = 0; ! // Exit status should be ((exit_status_p == PTHREAD_CANCELED) ? 0 : *(ERROR_t *)(exit_status_p)) ! // except Apple's pthread's implementation doesn't appear to provide PTHREAD_CANCELED. } --- 1676,1681 ---- } vid->threadRunning = 0; ! ! // Exit status is ((exit_status_p == AR_PTHREAD_CANCELLED) ? 0 : *(ERROR_t *)(exit_status_p)) } |
From: Philip L. <phi...@us...> - 2005-08-16 21:18:13
|
Update of /cvsroot/artoolkit/artoolkit/examples/paddleDemo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3393 Modified Files: paddleDemo.c Log Message: Adjust windows vconf (again). Index: paddleDemo.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/paddleDemo/paddleDemo.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** paddleDemo.c 28 Jul 2005 21:58:02 -0000 1.6 --- paddleDemo.c 16 Aug 2005 21:18:03 -0000 1.7 *************** *** 22,26 **** #ifdef _WIN32 ! char *vconf = "Data\\WDM_camera_flipV.xml" #else char *vconf = ""; --- 22,26 ---- #ifdef _WIN32 ! char *vconf = "Data\\WDM_camera_flipV.xml"; #else char *vconf = ""; |
From: Philip L. <phi...@us...> - 2005-08-16 00:51:00
|
Update of /cvsroot/artoolkit/artoolkit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31982 Modified Files: README.txt Log Message: Update for run-time pixel format specification. Index: README.txt =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/README.txt,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** README.txt 10 Aug 2005 18:11:00 -0000 1.15 --- README.txt 16 Aug 2005 00:50:52 -0000 1.16 *************** *** 125,128 **** --- 125,129 ---- - Linux V4L video driver: Apply patch by Wayne Piekarski to auto-adjust video resolution. - Windows video driver: Uses updated (0.0.8b) DSVideoLib. Install of DirectX SDK, registering of filter no longer required. + - gsub_lite: Added complete support for runtime selection of pixel format and rectangle/power-of-2 textures. Changes in earlier releases. |
From: Philip L. <phi...@us...> - 2005-08-16 00:50:33
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/Gl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31871 Modified Files: gsub_lite.c Log Message: Update for run-time pixel format specification. Index: gsub_lite.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/Gl/gsub_lite.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** gsub_lite.c 12 Aug 2005 22:52:20 -0000 1.5 --- gsub_lite.c 16 Aug 2005 00:50:24 -0000 1.6 *************** *** 1,838 **** ! /* ! * gsub_lite.c ! * ! * Graphics Subroutines (Lite) for ARToolKit. ! * ! * Copyright (c) 2003-2005 Philip Lamb (PRL) ph...@ed.... All rights reserved. ! * ! * Rev Date Who Changes ! * 2.6.5 ????-??-?? MB/HK Original from ARToolKit-2.65DS gsub.c ! * 2.7.0 2003-08-13 PRL Lipo'ed and whipped into shape. [...1747 lines suppressed...] ! break; ! case GL_RGB: ! *format = ARGL_PIX_FORMAT_RGB; ! *size = 3; ! break; ! case GL_BGR: ! *format = ARGL_PIX_FORMAT_BGR; ! *size = 3; ! break; ! case GL_YCBCR_422_APPLE: ! if (contextSettings->pixType == GL_UNSIGNED_SHORT_8_8_REV_APPLE) *format = ARGL_PIX_FORMAT_2vuy; ! else *format = ARGL_PIX_FORMAT_yuvs; ! *size = 2; ! break; ! default: ! return (FALSE); ! break; ! } ! return (TRUE); ! } |
From: Philip L. <phi...@us...> - 2005-08-16 00:50:27
|
Update of /cvsroot/artoolkit/artoolkit/include/AR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31832 Modified Files: gsub_lite.h Log Message: Update for run-time pixel format specification. Index: gsub_lite.h =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/include/AR/gsub_lite.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** gsub_lite.h 30 Jul 2005 01:05:52 -0000 1.3 --- gsub_lite.h 16 Aug 2005 00:50:18 -0000 1.4 *************** *** 7,12 **** * * Rev Date Who Changes ! * 2.6.5 ????-??-?? MB/HK Original from ARToolKit-2.65DS gsub.c ! * 2.7.0 2003-08-13 PRL Lipo'ed and whipped into shape. * 2.7.1 2004-03-03 PRL Avoid defining BOOL if already defined * 2.7.1 2004-03-03 PRL Don't enable lighting if it was not enabled. --- 7,11 ---- * * Rev Date Who Changes ! * 2.7.0 2003-08-13 PRL Complete rewrite to ARToolKit-2.65 gsub.c API. * 2.7.1 2004-03-03 PRL Avoid defining BOOL if already defined * 2.7.1 2004-03-03 PRL Don't enable lighting if it was not enabled. *************** *** 18,21 **** --- 17,21 ---- * 2.7.7 2005-07-26 PRL Added cleanup routines for texture stuff. * 2.7.8 2005-07-29 PRL Added distortion compensation enabling/disabling. + * 2.7.9 2005-08-15 PRL Added complete support for runtime selection of pixel format and rectangle/power-of-2 textures. * */ *************** *** 47,67 **** ARToolKit, in the directory <AR/examples/simpleLite>. ! gsub_lite v2.7 was designed as a replacement for the original gsub from ! ARToolKit, by Mark Billinghurst (MB) & Hirokazu Kato (HK), with the ! following functionality removed: <br> ! - GLUT event handling. <br> ! - Sub-window ("MINIWIN") and half-size drawing. <br> ! - HMD support for stereo via stencil. <br> ! and the following functionality added or improved: <br> ! + Support for true stereo and multiple displays through removal ! of most dependencies on global variables. <br> ! + Prepared library for thread-safety by removing global variables. <br> ! + Optimised texturing, particularly for Mac OS X platform. <br> ! + Added arglCameraFrustum to replace argDraw3dCamera() function. <br> ! + Renamed argConvGlpara() to arglCameraView() to more accurately ! represent its functionality. <br> ! + Correctly handle textures with ARGB and ABGR byte ordering. <br> ! + Library setup and cleanup functions. <br> ! + Version numbering. <br> This file is part of ARToolKit. --- 47,86 ---- ARToolKit, in the directory <AR/examples/simpleLite>. ! gsub_lite is the preferred means for drawing camera video ! images acquired from ARToolKit's video libraries. It includes ! optimized texture handling, and a variety of flexible drawing ! options. ! ! gsub_lite also provides utility functions for setting the ! OpenGL viewing frustum and camera position based on ARToolKit- ! camera parameters and marker positions. ! ! gsub_lite does not depend on GLUT, or indeed, any particular ! window or event handling system. It is therefore well suited ! to use in applications which have their own window and event ! handling code. ! ! gsub_lite v2.7 is intended as a replacement for gsub from ! ARToolKit 2.65, by Mark Billinghurst (MB) & Hirokazu Kato (HK), ! with the following additional functionality: ! <ul> ! <li> Support for true stereo and multiple displays through removal ! of most dependencies on global variables. ! <li> Prepared library for thread-safety by removing global variables. ! <li> Optimised texturing, particularly for Mac OS X platform. ! <li> Added arglCameraFrustum to replace argDraw3dCamera() function. ! <li> Renamed argConvGlpara() to arglCameraView() to more accurately ! represent its functionality. ! <li> Correctly handle textures with non-RGBA handling. ! <li> Library setup and cleanup functions. ! <li> Version numbering. ! </ul> ! It does however lack the following functionality from the original gsub ! library: ! <ul> ! <li> GLUT event handling. ! <li> Sub-window ("MINIWIN") and half-size drawing. ! <li> HMD support for stereo via stencil. ! </ul> This file is part of ARToolKit. *************** *** 145,148 **** --- 164,228 ---- typedef struct _ARGL_CONTEXT_SETTINGS *ARGL_CONTEXT_SETTINGS_REF; + /*! + @typedef ARGL_PIX_FORMAT + @abstract ARToolKit pixel-format specifiers. + @discussion + ARToolKit functions can accept pixel data in a variety of formats. + This enumerations provides a set of constants you can use to request + data in a particular pixel format from an ARToolKit function that + returns data to you, or to specify that data you are providing to an + ARToolKit function is in a particular pixel format. + @constant ARGL_PIX_FORMAT_RGBA + Each pixel is represented by 32 bits. Eight bits per each Red, Green, + Blue, and Alpha component. + @constant ARGL_PIX_FORMAT_ABGR + Each pixel is represented by 32 bits. Eight bits per each Alpha, Blue, + Green, and Red component. This is the native 32 bit format for the SGI + platform. + @constant ARGL_PIX_FORMAT_BGRA + Each pixel is represented by 32 bits. Eight bits per each Blue, Green, + Red, and Alpha component. This is the native 32 bit format for the Win32 + platform. + @constant ARGL_PIX_FORMAT_ARGB + Each pixel is represented by 32 bits. Eight bits per each Alpha, Red, + Green, and Blue component. This is the native 32 bit format for the Mac + platform. + @constant ARGL_PIX_FORMAT_RGB + Each pixel is represented by 24 bits. Eight bits per each Red, Green, + and Blue component. This is the native 24 bit format for the Mac platform. + @constant ARGL_PIX_FORMAT_BGR + Each pixel is represented by 24 bits. Eight bits per each Blue, Red, and + Green component. This is the native 24 bit format for the Win32 platform. + @constant ARGL_PIX_FORMAT_2vuy + 8-bit 4:2:2 Component Y'CbCr format. Each 16 bit pixel is represented + by an unsigned eight bit luminance component and two unsigned eight bit + chroma components. Each pair of pixels shares a common set of chroma + values. The components are ordered in memory; Cb, Y0, Cr, Y1. The + luminance components have a range of [16, 235], while the chroma value + has a range of [16, 240]. This is consistent with the CCIR601 spec. + This format is fairly prevalent on both Mac and Win32 platforms. + '2vuy' is the Apple QuickTime four-character code for this pixel format. + The equivalent Microsoft fourCC is 'UYVY'. + @constant ARGL_PIX_FORMAT_yuvs + 8-bit 4:2:2 Component Y'CbCr format. Identical to the ARGL_PIX_FORMAT_2vuy except + each 16 bit word has been byte swapped. This results in a component + ordering of; Y0, Cb, Y1, Cr. + This is most prevalent yuv 4:2:2 format on both Mac and Win32 platforms. + 'yuvs' is the Apple QuickTime four-character code for this pixel format. + The equivalent Microsoft fourCC is 'YUY2'. + */ + typedef enum { + ARGL_PIX_FORMAT_RGBA = 1, + ARGL_PIX_FORMAT_ABGR = 2, + ARGL_PIX_FORMAT_BGRA = 3, + ARGL_PIX_FORMAT_ARGB = 4, + ARGL_PIX_FORMAT_RGB = 5, + ARGL_PIX_FORMAT_BGR = 6, + ARGL_PIX_FORMAT_2vuy = 7, + ARGL_PIX_FORMAT_UYVY = ARGL_PIX_FORMAT_2vuy, + ARGL_PIX_FORMAT_yuvs = 8, + ARGL_PIX_FORMAT_YUY2 = ARGL_PIX_FORMAT_yuvs, + } ARGL_PIX_FORMAT; + // ============================================================================ // Public globals. *************** *** 199,208 **** use of rectangluar textures. A value of FALSE specifies the use of ordinary textures. ! If gsub_lite was not built without support for rectangular textures, changing the ! value of this variable will have no effect, and ordinary textures will always be ! used. Support for rectangular textures is only available when gsub_lite is built ! with AR_OPENGL_TEXTURE_RECTANGLE defined in <AR/config.h> and with either ! GL_EXT_texture_rectangle or GL_NV_texture_rectangle defined in <GL/glext.h> ! or <GL/gl.h> @availability First appeared in ARToolKit 2.68. */ --- 279,285 ---- use of rectangluar textures. A value of FALSE specifies the use of ordinary textures. ! If the OpenGL driver available at runtime does not support for rectangular textures, ! changing the value of this variable to TRUE will result calls to arglDispImage ! performing no drawing. @availability First appeared in ARToolKit 2.68. */ *************** *** 341,352 **** row, and so on to the last byte of the image data, which corresponds to the last component of the bottom-right-most pixel. - - In the current version of gsub_lite, the format of the pixels (i.e. the - arrangement of components within each pixel) is fixed at the time the - library is built, and cannot be changed at runtime. (It is determined by - which of the possible AR_PIXEL_FORMAT_xxxx symbols was defined at the - time the library was built.) Usually, image data is passed in directly - from images generated by ARVideo, and so you should ensure that ARVideo - is generating pixels of the same format. @param cparam Pointer to a set of ARToolKit camera parameters for the current video source. The size of the source image is taken from the --- 418,421 ---- *************** *** 422,430 **** @param enable Pointer to an integer value which will be set to TRUE if distortion compensation is enabled in the specified context, or FALSE if it is disabled. ! @result TRUE if the distortion value was set, FALSE if an error occurred. @availability First appeared in ARToolKit 2.71. */ int arglDistortionCompensationGet(ARGL_CONTEXT_SETTINGS_REF contextSettings, int *enable); #ifdef __cplusplus } --- 491,537 ---- @param enable Pointer to an integer value which will be set to TRUE if distortion compensation is enabled in the specified context, or FALSE if it is disabled. ! @result TRUE if the distortion value was retreived, FALSE if an error occurred. @availability First appeared in ARToolKit 2.71. */ int arglDistortionCompensationGet(ARGL_CONTEXT_SETTINGS_REF contextSettings, int *enable); + /*! + @function arglPixelFormatSet + @abstract Set the format of pixel data which will be passed to arglDispImage*() + @discussion (description) + In gsub_lite, the format of the pixels (i.e. the arrangement of components + within each pixel) can be changed at runtime. Use this function to inform + gsub_lite the format the pixels being passed to arglDispImage*() functions + are in. This setting applies only to the context passed in parameter + contextSettings. The default format is determined by which of the possible + AR_PIXEL_FORMAT_xxxx symbols was defined at the time the library was built. + Usually, image data is passed in directly from images generated by ARVideo, + and so you should ensure that ARVideo is generating pixels of the same format. + @param contextSettings A reference to ARGL's settings for the current OpenGL + context, as returned by arglSetupForCurrentContext() for this context. + @param format A symbolic constant for the pixel format being set. See + @link ARGL_PIX_FORMAT ARGL_PIX_FORMAT @/link for a list of all possible formats. + @result TRUE if the pixel format value was set, FALSE if an error occurred. + @availability First appeared in ARToolKit 2.71. + */ + int arglPixelFormatSet(ARGL_CONTEXT_SETTINGS_REF contextSettings, ARGL_PIX_FORMAT format); + + /*! + @function arglPixelFormatGet + @abstract Get the format of pixel data in which arglDispImage*() is expecting data to be passed. + @discussion This function enquires as to the current format of pixel data being + expected by the arglDispImage*() functions. The default format is determined by + which of the possible AR_PIXEL_FORMAT_xxxx symbols was defined at the time the + library was built. + @param contextSettings A reference to ARGL's settings for the current OpenGL + context, as returned by arglSetupForCurrentContext() for this context. + @param format A symbolic constant for the pixel format in use. See + @link ARGL_PIX_FORMAT ARGL_PIX_FORMAT @/link for a list of all possible formats. + @param size The number of bytes of memory occupied per pixel, for the given format. + @result TRUE if the pixel format and size values were retreived, FALSE if an error occurred. + @availability First appeared in ARToolKit 2.71. + */ + int arglPixelFormatGet(ARGL_CONTEXT_SETTINGS_REF contextSettings, ARGL_PIX_FORMAT *format, int *size); + #ifdef __cplusplus } |
From: Philip L. <phi...@us...> - 2005-08-16 00:50:17
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31724 Modified Files: video.c Log Message: Update for run-time pixel format specification. Index: video.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX/video.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** video.c 23 Jun 2005 06:57:25 -0000 1.9 --- video.c 16 Aug 2005 00:50:07 -0000 1.10 *************** *** 356,360 **** { VideoDigitizerError err; ! Str255 vdName; // Pascal string (first byte is string length. UInt32 vdFlags; --- 356,360 ---- { VideoDigitizerError err; ! Str255 vdName; // Pascal string (first byte is string length). UInt32 vdFlags; *************** *** 376,380 **** int copyLen = (*pBuffSize-1 < vdName[0] ? *pBuffSize-1 : vdName[0]); ! strncpy(szName, vdName+1, copyLen); szName[copyLen] = '\0'; --- 376,380 ---- int copyLen = (*pBuffSize-1 < vdName[0] ? *pBuffSize-1 : vdName[0]); ! strncpy(szName, (char *)vdName+1, copyLen); szName[copyLen] = '\0'; *************** *** 1145,1149 **** printf(" pixel format. The following values are supported: \n"); printf(" 32, BGRA, RGBA, ABGR, 24, 24BG, 2vuy, yuvs.\n"); ! printf(" (See definitions in <QuickDraw.h> and QuickTime API reference IV-2862.)\n"); printf("\n"); --- 1145,1149 ---- printf(" pixel format. The following values are supported: \n"); printf(" 32, BGRA, RGBA, ABGR, 24, 24BG, 2vuy, yuvs.\n"); ! printf(" (See http://developer.apple.com/quicktime/icefloe/dispatch020.html.)\n"); printf("\n"); |
From: Philip L. <phi...@us...> - 2005-08-16 00:49:57
|
Update of /cvsroot/artoolkit/artoolkit/doc/gsub_lite/DataTypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31681 Modified Files: DataTypes.html Log Message: Update for run-time pixel format specification. Index: DataTypes.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/DataTypes/DataTypes.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DataTypes.html 30 Jul 2005 01:10:29 -0000 1.3 --- DataTypes.html 16 Aug 2005 00:49:49 -0000 1.4 *************** *** 34,37 **** --- 34,96 ---- </dd> </dl> + <hr><!-- headerDoc=tdef; uid=//apple_ref/c/tdef/ARGL_PIX_FORMAT; name=ARGL_PIX_FORMAT --> + <a name="//apple_ref/c/tdef/ARGL_PIX_FORMAT"></a> + <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="ARGL_PIX_FORMAT">ARGL_PIX_FORMAT</a></h3> + </td></tr></table><hr><dl></dl><p>ARToolKit pixel-format specifiers. + </p> + <blockquote><pre><font class="keyword">typedef</font> <font class="keyword">enum</font> { + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_RGBA //apple_ref/c/cl/ARGL_PIX_FORMAT_RGBA //apple_ref/c/tdef/ARGL_PIX_FORMAT_RGBA //apple_ref/c/tag/ARGL_PIX_FORMAT_RGBA //apple_ref/c/econst/ARGL_PIX_FORMAT_RGBA //apple_ref/c/struct/ARGL_PIX_FORMAT_RGBA //apple_ref/c/clconst/ARGL_PIX_FORMAT_RGBA" --><font class="type">ARGL_PIX_FORMAT_RGBA</font><!-- /a --> = <font class="number">1</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_ABGR //apple_ref/c/cl/ARGL_PIX_FORMAT_ABGR //apple_ref/c/tdef/ARGL_PIX_FORMAT_ABGR //apple_ref/c/tag/ARGL_PIX_FORMAT_ABGR //apple_ref/c/econst/ARGL_PIX_FORMAT_ABGR //apple_ref/c/struct/ARGL_PIX_FORMAT_ABGR //apple_ref/c/clconst/ARGL_PIX_FORMAT_ABGR" --><font class="type">ARGL_PIX_FORMAT_ABGR</font><!-- /a --> = <font class="number">2</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_BGRA //apple_ref/c/cl/ARGL_PIX_FORMAT_BGRA //apple_ref/c/tdef/ARGL_PIX_FORMAT_BGRA //apple_ref/c/tag/ARGL_PIX_FORMAT_BGRA //apple_ref/c/econst/ARGL_PIX_FORMAT_BGRA //apple_ref/c/struct/ARGL_PIX_FORMAT_BGRA //apple_ref/c/clconst/ARGL_PIX_FORMAT_BGRA" --><font class="type">ARGL_PIX_FORMAT_BGRA</font><!-- /a --> = <font class="number">3</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_ARGB //apple_ref/c/cl/ARGL_PIX_FORMAT_ARGB //apple_ref/c/tdef/ARGL_PIX_FORMAT_ARGB //apple_ref/c/tag/ARGL_PIX_FORMAT_ARGB //apple_ref/c/econst/ARGL_PIX_FORMAT_ARGB //apple_ref/c/struct/ARGL_PIX_FORMAT_ARGB //apple_ref/c/clconst/ARGL_PIX_FORMAT_ARGB" --><font class="type">ARGL_PIX_FORMAT_ARGB</font><!-- /a --> = <font class="number">4</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_RGB //apple_ref/c/cl/ARGL_PIX_FORMAT_RGB //apple_ref/c/tdef/ARGL_PIX_FORMAT_RGB //apple_ref/c/tag/ARGL_PIX_FORMAT_RGB //apple_ref/c/econst/ARGL_PIX_FORMAT_RGB //apple_ref/c/struct/ARGL_PIX_FORMAT_RGB //apple_ref/c/clconst/ARGL_PIX_FORMAT_RGB" --><font class="type">ARGL_PIX_FORMAT_RGB</font><!-- /a --> = <font class="number">5</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_BGR //apple_ref/c/cl/ARGL_PIX_FORMAT_BGR //apple_ref/c/tdef/ARGL_PIX_FORMAT_BGR //apple_ref/c/tag/ARGL_PIX_FORMAT_BGR //apple_ref/c/econst/ARGL_PIX_FORMAT_BGR //apple_ref/c/struct/ARGL_PIX_FORMAT_BGR //apple_ref/c/clconst/ARGL_PIX_FORMAT_BGR" --><font class="type">ARGL_PIX_FORMAT_BGR</font><!-- /a --> = <font class="number">6</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_2vuy //apple_ref/c/cl/ARGL_PIX_FORMAT_2vuy //apple_ref/c/tdef/ARGL_PIX_FORMAT_2vuy //apple_ref/c/tag/ARGL_PIX_FORMAT_2vuy //apple_ref/c/econst/ARGL_PIX_FORMAT_2vuy //apple_ref/c/struct/ARGL_PIX_FORMAT_2vuy //apple_ref/c/clconst/ARGL_PIX_FORMAT_2vuy" --><font class="type">ARGL_PIX_FORMAT_2vuy</font><!-- /a --> = <font class="number">7</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_UYVY //apple_ref/c/cl/ARGL_PIX_FORMAT_UYVY //apple_ref/c/tdef/ARGL_PIX_FORMAT_UYVY //apple_ref/c/tag/ARGL_PIX_FORMAT_UYVY //apple_ref/c/econst/ARGL_PIX_FORMAT_UYVY //apple_ref/c/struct/ARGL_PIX_FORMAT_UYVY //apple_ref/c/clconst/ARGL_PIX_FORMAT_UYVY" --><font class="type">ARGL_PIX_FORMAT_UYVY</font><!-- /a --> = <font class="var">ARGL_PIX_FORMAT_2vuy</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_yuvs //apple_ref/c/cl/ARGL_PIX_FORMAT_yuvs //apple_ref/c/tdef/ARGL_PIX_FORMAT_yuvs //apple_ref/c/tag/ARGL_PIX_FORMAT_yuvs //apple_ref/c/econst/ARGL_PIX_FORMAT_yuvs //apple_ref/c/struct/ARGL_PIX_FORMAT_yuvs //apple_ref/c/clconst/ARGL_PIX_FORMAT_yuvs" --><font class="type">ARGL_PIX_FORMAT_yuvs</font><!-- /a --> = <font class="number">8</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/cl/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/tdef/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/tag/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/econst/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/struct/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/clconst/ARGL_PIX_FORMAT_YUY2" --><font class="type">ARGL_PIX_FORMAT_YUY2</font><!-- /a --> = <font class="var">ARGL_PIX_FORMAT_yuvs</font>, + } <font class="var">ARGL_PIX_FORMAT</font>; </pre></blockquote> + <h5><font face="Lucida Grande,Helvetica,Arial">Constants</font></h5> + <blockquote> + <dl> + <dt><a name="//apple_ref/c/econst/ARGL_PIX_FORMAT_RGBA"><code>ARGL_PIX_FORMAT_RGBA</code></a></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Red, Green, + Blue, and Alpha component.</dd> + <dt><a name="//apple_ref/c/econst/ARGL_PIX_FORMAT_ABGR"><code>ARGL_PIX_FORMAT_ABGR</code></a></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Alpha, Blue, + Green, and Red component. This is the native 32 bit format for the SGI + platform.</dd> + <dt><a name="//apple_ref/c/econst/ARGL_PIX_FORMAT_BGRA"><code>ARGL_PIX_FORMAT_BGRA</code></a></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Blue, Green, + Red, and Alpha component. This is the native 32 bit format for the Win32 + platform.</dd> + <dt><a name="//apple_ref/c/econst/ARGL_PIX_FORMAT_ARGB"><code>ARGL_PIX_FORMAT_ARGB</code></a></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Alpha, Red, + Green, and Blue component. This is the native 32 bit format for the Mac + platform.</dd> + <dt><a name="//apple_ref/c/econst/ARGL_PIX_FORMAT_RGB"><code>ARGL_PIX_FORMAT_RGB</code></a></dt><dd>Each pixel is represented by 24 bits. Eight bits per each Red, Green, + and Blue component. This is the native 24 bit format for the Mac platform.</dd> + <dt><a name="//apple_ref/c/econst/ARGL_PIX_FORMAT_BGR"><code>ARGL_PIX_FORMAT_BGR</code></a></dt><dd>Each pixel is represented by 24 bits. Eight bits per each Blue, Red, and + Green component. This is the native 24 bit format for the Win32 platform.</dd> + <dt><a name="//apple_ref/c/econst/ARGL_PIX_FORMAT_2vuy"><code>ARGL_PIX_FORMAT_2vuy</code></a></dt><dd>8-bit 4:2:2 Component Y'CbCr format. Each 16 bit pixel is represented + by an unsigned eight bit luminance component and two unsigned eight bit + chroma components. Each pair of pixels shares a common set of chroma + values. The components are ordered in memory; Cb, Y0, Cr, Y1. The + luminance components have a range of [16, 235], while the chroma value + has a range of [16, 240]. This is consistent with the CCIR601 spec. + This format is fairly prevalent on both Mac and Win32 platforms. + '2vuy' is the Apple QuickTime four-character code for this pixel format. + The equivalent Microsoft fourCC is 'UYVY'.</dd> + <dt><a name="//apple_ref/c/econst/ARGL_PIX_FORMAT_yuvs"><code>ARGL_PIX_FORMAT_yuvs</code></a></dt><dd>8-bit 4:2:2 Component Y'CbCr format. Identical to the ARGL_PIX_FORMAT_2vuy except + each 16 bit word has been byte swapped. This results in a component + ordering of; Y0, Cb, Y1, Cr. + This is most prevalent yuv 4:2:2 format on both Mac and Win32 platforms. + 'yuvs' is the Apple QuickTime four-character code for this pixel format. + The equivalent Microsoft fourCC is 'YUY2'.</dd> + </dl> + </blockquote> + <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>ARToolKit functions can accept pixel data in a variety of formats. + This enumerations provides a set of constants you can use to request + data in a particular pixel format from an ARToolKit function that + returns data to you, or to specify that data you are providing to an + ARToolKit function is in a particular pixel format. + </p> + </dl> <p><p>© 2003-2005 Philip Lamb (Last Updated August 29, 2005) |
From: Philip L. <phi...@us...> - 2005-08-16 00:49:53
|
Update of /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Vars In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31660 Modified Files: Vars.html Log Message: Update for run-time pixel format specification. Index: Vars.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Vars/Vars.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Vars.html 30 Jul 2005 01:10:25 -0000 1.3 --- Vars.html 16 Aug 2005 00:49:45 -0000 1.4 *************** *** 61,70 **** use of rectangluar textures. A value of FALSE specifies the use of ordinary textures. <br><br> ! If gsub_lite was not built without support for rectangular textures, changing the ! value of this variable will have no effect, and ordinary textures will always be ! used. Support for rectangular textures is only available when gsub_lite is built ! with AR_OPENGL_TEXTURE_RECTANGLE defined in <AR/config.h> and with either ! GL_EXT_texture_rectangle or GL_NV_texture_rectangle defined in <GL/glext.h> ! or <GL/gl.h> </p> <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. --- 61,67 ---- use of rectangluar textures. A value of FALSE specifies the use of ordinary textures. <br><br> ! If the OpenGL driver available at runtime does not support for rectangular textures, ! changing the value of this variable to TRUE will result calls to arglDispImage ! performing no drawing. </p> <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. |
From: Philip L. <phi...@us...> - 2005-08-16 00:49:49
|
Update of /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31636 Modified Files: Functions.html Log Message: Update for run-time pixel format specification. Index: Functions.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Functions/Functions.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Functions.html 30 Jul 2005 01:10:20 -0000 1.3 --- Functions.html 16 Aug 2005 00:49:40 -0000 1.4 *************** *** 30,33 **** --- 30,39 ---- <dd>Set compensation for camera lens distortion in arglDispImage to off or on. </dd> + <dt><tt><a href="Functions.html#//apple_ref/c/func/arglPixelFormatGet" target="doc">arglPixelFormatGet</a></tt></dt> + <dd>Get the format of pixel data in which arglDispImage*() is expecting data to be passed. + </dd> + <dt><tt><a href="Functions.html#//apple_ref/c/func/arglPixelFormatSet" target="doc">arglPixelFormatSet</a></tt></dt> + <dd>Set the format of pixel data which will be passed to arglDispImage*() + </dd> <dt><tt><a href="Functions.html#//apple_ref/c/func/arglSetupForCurrentContext" target="doc">arglSetupForCurrentContext</a></tt></dt> <dd>Initialise the gsub_lite library for the current OpenGL context. *************** *** 150,162 **** pixels of the first row, followed immediately by the pixels of the second row, and so on to the last byte of the image data, which corresponds to ! the last component of the bottom-right-most pixel. ! <br><br> ! In the current version of gsub_lite, the format of the pixels (i.e. the ! arrangement of components within each pixel) is fixed at the time the ! library is built, and cannot be changed at runtime. (It is determined by ! which of the possible AR_PIXEL_FORMAT_xxxx symbols was defined at the ! time the library was built.) Usually, image data is passed in directly ! from images generated by ARVideo, and so you should ensure that ARVideo ! is generating pixels of the same format.</dd> <dt><code><i>cparam</i></code></dt><dd>Pointer to a set of ARToolKit camera parameters for the current video source. The size of the source image is taken from the --- 156,160 ---- pixels of the first row, followed immediately by the pixels of the second row, and so on to the last byte of the image data, which corresponds to ! the last component of the bottom-right-most pixel.</dd> <dt><code><i>cparam</i></code></dt><dd>Pointer to a set of ARToolKit camera parameters for the current video source. The size of the source image is taken from the *************** *** 245,249 **** </dl> </blockquote> ! <dl><dt><i>function result</i></dt><dd>TRUE if the distortion value was set, FALSE if an error occurred. </dd> <h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>By default, arglDispImage compensates for the distortion of the camera's --- 243,247 ---- </dl> </blockquote> ! <dl><dt><i>function result</i></dt><dd>TRUE if the distortion value was retreived, FALSE if an error occurred. </dd> <h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>By default, arglDispImage compensates for the distortion of the camera's *************** *** 285,288 **** --- 283,347 ---- </dd> </dl> + <hr><!-- headerDoc=func; uid=//apple_ref/c/func/arglPixelFormatGet; name=arglPixelFormatGet --> + <a name="//apple_ref/c/func/arglPixelFormatGet"></a> + <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglPixelFormatGet">arglPixelFormatGet</a></h3> + </td></tr></table><hr><dl></dl><p>Get the format of pixel data in which arglDispImage*() is expecting data to be passed. + </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/int //apple_ref/c/cl/int //apple_ref/c/tdef/int //apple_ref/c/tag/int //apple_ref/c/econst/int //apple_ref/c/struct/int //apple_ref/c/clconst/int" --><font class="type">int</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglPixelFormatGet //apple_ref/c/clm/arglPixelFormatGet //apple_ref/c/intfcm/arglPixelFormatGet //apple_ref/c/func/arglPixelFormatGet //apple_ref/c/ftmplt/arglPixelFormatGet //apple_ref/c/defn/arglPixelFormatGet //apple_ref/c/macro/arglPixelFormatGet" --><font class="function">arglPixelFormatGet</font><!-- /a -->( + <!-- a logicalPath="//apple_ref/c/cl/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/cl/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/tdef/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/tag/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/econst/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/struct/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/clconst/ARGL_CONTEXT_SETTINGS_REF" --><font class="type">ARGL_CONTEXT_SETTINGS_REF</font><!-- /a --> <font class="param">contextSettings</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT //apple_ref/c/cl/ARGL_PIX_FORMAT //apple_ref/c/tdef/ARGL_PIX_FORMAT //apple_ref/c/tag/ARGL_PIX_FORMAT //apple_ref/c/econst/ARGL_PIX_FORMAT //apple_ref/c/struct/ARGL_PIX_FORMAT //apple_ref/c/clconst/ARGL_PIX_FORMAT" --><font class="type">ARGL_PIX_FORMAT</font><!-- /a --> *<font class="param">format</font>, + <!-- a logicalPath="//apple_ref/c/cl/int //apple_ref/c/cl/int //apple_ref/c/tdef/int //apple_ref/c/tag/int //apple_ref/c/econst/int //apple_ref/c/struct/int //apple_ref/c/clconst/int" --><font class="type">int</font><!-- /a --> *<font class="param">size</font>); </pre></blockquote> + <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> + <blockquote> + <dl> + <dt><code><i>contextSettings</i></code></dt><dd>A reference to ARGL's settings for the current OpenGL + context, as returned by arglSetupForCurrentContext() for this context.</dd> + <dt><code><i>format</i></code></dt><dd>A symbolic constant for the pixel format in use. See + <!-- a logicalPath="//apple_ref/c/tdef/ARGL_PIX_FORMAT" -->ARGL_PIX_FORMAT <!-- /a --> for a list of all possible formats.</dd> + <dt><code><i>size</i></code></dt><dd>The number of bytes of memory occupied per pixel, for the given format.</dd> + </dl> + </blockquote> + <dl><dt><i>function result</i></dt><dd>TRUE if the pixel format and size values were retreived, FALSE if an error occurred. + </dd> + <h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>This function enquires as to the current format of pixel data being + expected by the arglDispImage*() functions. The default format is determined by + which of the possible AR_PIXEL_FORMAT_xxxx symbols was defined at the time the + library was built. + </p> + <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.71. + </dd> + </dl> + <hr><!-- headerDoc=func; uid=//apple_ref/c/func/arglPixelFormatSet; name=arglPixelFormatSet --> + <a name="//apple_ref/c/func/arglPixelFormatSet"></a> + <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglPixelFormatSet">arglPixelFormatSet</a></h3> + </td></tr></table><hr><dl></dl><p>Set the format of pixel data which will be passed to arglDispImage*() + </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/int //apple_ref/c/cl/int //apple_ref/c/tdef/int //apple_ref/c/tag/int //apple_ref/c/econst/int //apple_ref/c/struct/int //apple_ref/c/clconst/int" --><font class="type">int</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglPixelFormatSet //apple_ref/c/clm/arglPixelFormatSet //apple_ref/c/intfcm/arglPixelFormatSet //apple_ref/c/func/arglPixelFormatSet //apple_ref/c/ftmplt/arglPixelFormatSet //apple_ref/c/defn/arglPixelFormatSet //apple_ref/c/macro/arglPixelFormatSet" --><font class="function">arglPixelFormatSet</font><!-- /a -->( + <!-- a logicalPath="//apple_ref/c/cl/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/cl/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/tdef/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/tag/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/econst/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/struct/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/clconst/ARGL_CONTEXT_SETTINGS_REF" --><font class="type">ARGL_CONTEXT_SETTINGS_REF</font><!-- /a --> <font class="param">contextSettings</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT //apple_ref/c/cl/ARGL_PIX_FORMAT //apple_ref/c/tdef/ARGL_PIX_FORMAT //apple_ref/c/tag/ARGL_PIX_FORMAT //apple_ref/c/econst/ARGL_PIX_FORMAT //apple_ref/c/struct/ARGL_PIX_FORMAT //apple_ref/c/clconst/ARGL_PIX_FORMAT" --><font class="type">ARGL_PIX_FORMAT</font><!-- /a --> <font class="param">format</font>); </pre></blockquote> + <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> + <blockquote> + <dl> + <dt><code><i>contextSettings</i></code></dt><dd>A reference to ARGL's settings for the current OpenGL + context, as returned by arglSetupForCurrentContext() for this context.</dd> + <dt><code><i>format</i></code></dt><dd>A symbolic constant for the pixel format being set. See + <!-- a logicalPath="//apple_ref/c/tdef/ARGL_PIX_FORMAT" -->ARGL_PIX_FORMAT <!-- /a --> for a list of all possible formats.</dd> + </dl> + </blockquote> + <dl><dt><i>function result</i></dt><dd>TRUE if the pixel format value was set, FALSE if an error occurred. + </dd> + <h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>(description) + In gsub_lite, the format of the pixels (i.e. the arrangement of components + within each pixel) can be changed at runtime. Use this function to inform + gsub_lite the format the pixels being passed to arglDispImage*() functions + are in. This setting applies only to the context passed in parameter + contextSettings. The default format is determined by which of the possible + AR_PIXEL_FORMAT_xxxx symbols was defined at the time the library was built. + Usually, image data is passed in directly from images generated by ARVideo, + and so you should ensure that ARVideo is generating pixels of the same format. + </p> + <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.71. + </dd> + </dl> <hr><!-- headerDoc=func; uid=//apple_ref/c/func/arglSetupForCurrentContext; name=arglSetupForCurrentContext --> <a name="//apple_ref/c/func/arglSetupForCurrentContext"></a> |
From: Philip L. <phi...@us...> - 2005-08-16 00:49:42
|
Update of /cvsroot/artoolkit/artoolkit/doc/gsub_lite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31612 Modified Files: toc.html CompositePage.html gsub_lite.html Log Message: Update for run-time pixel format specification. Index: toc.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/toc.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** toc.html 30 Jul 2005 01:10:16 -0000 1.3 --- toc.html 16 Aug 2005 00:49:33 -0000 1.4 *************** *** 24,27 **** --- 24,29 ---- <nobr> <a href="Functions/Functions.html#//apple_ref/c/func/arglDistortionCompensationGet" target="doc">arglDistortionCompensationGet</a></nobr><br> <nobr> <a href="Functions/Functions.html#//apple_ref/c/func/arglDistortionCompensationSet" target="doc">arglDistortionCompensationSet</a></nobr><br> + <nobr> <a href="Functions/Functions.html#//apple_ref/c/func/arglPixelFormatGet" target="doc">arglPixelFormatGet</a></nobr><br> + <nobr> <a href="Functions/Functions.html#//apple_ref/c/func/arglPixelFormatSet" target="doc">arglPixelFormatSet</a></nobr><br> <nobr> <a href="Functions/Functions.html#//apple_ref/c/func/arglSetupForCurrentContext" target="doc">arglSetupForCurrentContext</a></nobr><br> <h4><a href="DataTypes/DataTypes.html" target="doc">Defined Types *************** *** 29,32 **** --- 31,35 ---- <nobr> <a href="DataTypes/DataTypes.html#//apple_ref/c/tdef/ARGL_CONTEXT_SETTINGS_REF" target="doc">ARGL_CONTEXT_SETTINGS_REF</a></nobr><br> + <nobr> <a href="DataTypes/DataTypes.html#//apple_ref/c/tdef/ARGL_PIX_FORMAT" target="doc">ARGL_PIX_FORMAT</a></nobr><br> <h4><a href="Vars/Vars.html" target="doc">Globals</a></h4> Index: gsub_lite.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/gsub_lite.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** gsub_lite.html 30 Jul 2005 01:10:16 -0000 1.3 --- gsub_lite.html 16 Aug 2005 00:49:34 -0000 1.4 *************** *** 21,41 **** ARToolKit, in the directory <AR/examples/simpleLite>. <br><br> ! gsub_lite v2.7 was designed as a replacement for the original gsub from ! ARToolKit, by Mark Billinghurst (MB) & Hirokazu Kato (HK), with the ! following functionality removed: <br> ! - GLUT event handling. <br> ! - Sub-window ("MINIWIN") and half-size drawing. <br> ! - HMD support for stereo via stencil. <br> ! and the following functionality added or improved: <br> ! + Support for true stereo and multiple displays through removal ! of most dependencies on global variables. <br> ! + Prepared library for thread-safety by removing global variables. <br> ! + Optimised texturing, particularly for Mac OS X platform. <br> ! + Added arglCameraFrustum to replace argDraw3dCamera() function. <br> ! + Renamed argConvGlpara() to arglCameraView() to more accurately ! represent its functionality. <br> ! + Correctly handle textures with ARGB and ABGR byte ordering. <br> ! + Library setup and cleanup functions. <br> ! + Version numbering. <br> <br><br> This file is part of ARToolKit. --- 21,60 ---- ARToolKit, in the directory <AR/examples/simpleLite>. <br><br> ! gsub_lite is the preferred means for drawing camera video ! images acquired from ARToolKit's video libraries. It includes ! optimized texture handling, and a variety of flexible drawing ! options. ! <br><br> ! gsub_lite also provides utility functions for setting the ! OpenGL viewing frustum and camera position based on ARToolKit- ! camera parameters and marker positions. ! <br><br> ! gsub_lite does not depend on GLUT, or indeed, any particular ! window or event handling system. It is therefore well suited ! to use in applications which have their own window and event ! handling code. ! <br><br> ! gsub_lite v2.7 is intended as a replacement for gsub from ! ARToolKit 2.65, by Mark Billinghurst (MB) & Hirokazu Kato (HK), ! with the following additional functionality: ! <ul> ! <li> Support for true stereo and multiple displays through removal ! of most dependencies on global variables. ! <li> Prepared library for thread-safety by removing global variables. ! <li> Optimised texturing, particularly for Mac OS X platform. ! <li> Added arglCameraFrustum to replace argDraw3dCamera() function. ! <li> Renamed argConvGlpara() to arglCameraView() to more accurately ! represent its functionality. ! <li> Correctly handle textures with non-RGBA handling. ! <li> Library setup and cleanup functions. ! <li> Version numbering. ! </ul> ! It does however lack the following functionality from the original gsub ! library: ! <ul> ! <li> GLUT event handling. ! <li> Sub-window ("MINIWIN") and half-size drawing. ! <li> HMD support for stereo via stencil. ! </ul> <br><br> This file is part of ARToolKit. Index: CompositePage.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/CompositePage.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CompositePage.html 30 Jul 2005 01:09:48 -0000 1.3 --- CompositePage.html 16 Aug 2005 00:49:34 -0000 1.4 *************** *** 14,34 **** ARToolKit, in the directory <AR/examples/simpleLite>. <br><br> ! gsub_lite v2.7 was designed as a replacement for the original gsub from ! ARToolKit, by Mark Billinghurst (MB) & Hirokazu Kato (HK), with the ! following functionality removed: <br> ! - GLUT event handling. <br> ! - Sub-window ("MINIWIN") and half-size drawing. <br> ! - HMD support for stereo via stencil. <br> ! and the following functionality added or improved: <br> ! + Support for true stereo and multiple displays through removal ! of most dependencies on global variables. <br> ! + Prepared library for thread-safety by removing global variables. <br> ! + Optimised texturing, particularly for Mac OS X platform. <br> ! + Added arglCameraFrustum to replace argDraw3dCamera() function. <br> ! + Renamed argConvGlpara() to arglCameraView() to more accurately ! represent its functionality. <br> ! + Correctly handle textures with ARGB and ABGR byte ordering. <br> ! + Library setup and cleanup functions. <br> ! + Version numbering. <br> <br><br> This file is part of ARToolKit. --- 14,53 ---- ARToolKit, in the directory <AR/examples/simpleLite>. <br><br> ! gsub_lite is the preferred means for drawing camera video ! images acquired from ARToolKit's video libraries. It includes ! optimized texture handling, and a variety of flexible drawing ! options. ! <br><br> ! gsub_lite also provides utility functions for setting the ! OpenGL viewing frustum and camera position based on ARToolKit- ! camera parameters and marker positions. ! <br><br> ! gsub_lite does not depend on GLUT, or indeed, any particular ! window or event handling system. It is therefore well suited ! to use in applications which have their own window and event ! handling code. ! <br><br> ! gsub_lite v2.7 is intended as a replacement for gsub from ! ARToolKit 2.65, by Mark Billinghurst (MB) & Hirokazu Kato (HK), ! with the following additional functionality: ! <ul> ! <li> Support for true stereo and multiple displays through removal ! of most dependencies on global variables. ! <li> Prepared library for thread-safety by removing global variables. ! <li> Optimised texturing, particularly for Mac OS X platform. ! <li> Added arglCameraFrustum to replace argDraw3dCamera() function. ! <li> Renamed argConvGlpara() to arglCameraView() to more accurately ! represent its functionality. ! <li> Correctly handle textures with non-RGBA handling. ! <li> Library setup and cleanup functions. ! <li> Version numbering. ! </ul> ! It does however lack the following functionality from the original gsub ! library: ! <ul> ! <li> GLUT event handling. ! <li> Sub-window ("MINIWIN") and half-size drawing. ! <li> HMD support for stereo via stencil. ! </ul> <br><br> This file is part of ARToolKit. *************** *** 72,75 **** --- 91,100 ---- <dd>Set compensation for camera lens distortion in arglDispImage to off or on. </dd> + <dt><tt><a href="CompositePage.html#//apple_ref/doc/compositePage/c/func/arglPixelFormatGet" target="_top">arglPixelFormatGet</a></tt></dt> + <dd>Get the format of pixel data in which arglDispImage*() is expecting data to be passed. + </dd> + <dt><tt><a href="CompositePage.html#//apple_ref/doc/compositePage/c/func/arglPixelFormatSet" target="_top">arglPixelFormatSet</a></tt></dt> + <dd>Set the format of pixel data which will be passed to arglDispImage*() + </dd> <dt><tt><a href="CompositePage.html#//apple_ref/doc/compositePage/c/func/arglSetupForCurrentContext" target="_top">arglSetupForCurrentContext</a></tt></dt> <dd>Initialise the gsub_lite library for the current OpenGL context. *************** *** 192,204 **** pixels of the first row, followed immediately by the pixels of the second row, and so on to the last byte of the image data, which corresponds to ! the last component of the bottom-right-most pixel. ! <br><br> ! In the current version of gsub_lite, the format of the pixels (i.e. the ! arrangement of components within each pixel) is fixed at the time the ! library is built, and cannot be changed at runtime. (It is determined by ! which of the possible AR_PIXEL_FORMAT_xxxx symbols was defined at the ! time the library was built.) Usually, image data is passed in directly ! from images generated by ARVideo, and so you should ensure that ARVideo ! is generating pixels of the same format.</dd> <dt><code><i>cparam</i></code></dt><dd>Pointer to a set of ARToolKit camera parameters for the current video source. The size of the source image is taken from the --- 217,221 ---- pixels of the first row, followed immediately by the pixels of the second row, and so on to the last byte of the image data, which corresponds to ! the last component of the bottom-right-most pixel.</dd> <dt><code><i>cparam</i></code></dt><dd>Pointer to a set of ARToolKit camera parameters for the current video source. The size of the source image is taken from the *************** *** 287,291 **** </dl> </blockquote> ! <dl><dt><i>function result</i></dt><dd>TRUE if the distortion value was set, FALSE if an error occurred. </dd> <h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>By default, arglDispImage compensates for the distortion of the camera's --- 304,308 ---- </dl> </blockquote> ! <dl><dt><i>function result</i></dt><dd>TRUE if the distortion value was retreived, FALSE if an error occurred. </dd> <h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>By default, arglDispImage compensates for the distortion of the camera's *************** *** 327,330 **** --- 344,408 ---- </dd> </dl> + <hr><!-- headerDoc=func; uid=//apple_ref/doc/compositePage/c/func/arglPixelFormatGet; name=arglPixelFormatGet --> + <a name="//apple_ref/doc/compositePage/c/func/arglPixelFormatGet"></a> + <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglPixelFormatGet">arglPixelFormatGet</a></h3> + </td></tr></table><hr><dl></dl><p>Get the format of pixel data in which arglDispImage*() is expecting data to be passed. + </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/int //apple_ref/c/cl/int //apple_ref/c/tdef/int //apple_ref/c/tag/int //apple_ref/c/econst/int //apple_ref/c/struct/int //apple_ref/c/clconst/int" --><font class="type">int</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglPixelFormatGet //apple_ref/c/clm/arglPixelFormatGet //apple_ref/c/intfcm/arglPixelFormatGet //apple_ref/c/func/arglPixelFormatGet //apple_ref/c/ftmplt/arglPixelFormatGet //apple_ref/c/defn/arglPixelFormatGet //apple_ref/c/macro/arglPixelFormatGet" --><font class="function">arglPixelFormatGet</font><!-- /a -->( + <!-- a logicalPath="//apple_ref/c/cl/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/cl/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/tdef/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/tag/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/econst/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/struct/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/clconst/ARGL_CONTEXT_SETTINGS_REF" --><font class="type">ARGL_CONTEXT_SETTINGS_REF</font><!-- /a --> <font class="param">contextSettings</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT //apple_ref/c/cl/ARGL_PIX_FORMAT //apple_ref/c/tdef/ARGL_PIX_FORMAT //apple_ref/c/tag/ARGL_PIX_FORMAT //apple_ref/c/econst/ARGL_PIX_FORMAT //apple_ref/c/struct/ARGL_PIX_FORMAT //apple_ref/c/clconst/ARGL_PIX_FORMAT" --><font class="type">ARGL_PIX_FORMAT</font><!-- /a --> *<font class="param">format</font>, + <!-- a logicalPath="//apple_ref/c/cl/int //apple_ref/c/cl/int //apple_ref/c/tdef/int //apple_ref/c/tag/int //apple_ref/c/econst/int //apple_ref/c/struct/int //apple_ref/c/clconst/int" --><font class="type">int</font><!-- /a --> *<font class="param">size</font>); </pre></blockquote> + <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> + <blockquote> + <dl> + <dt><code><i>contextSettings</i></code></dt><dd>A reference to ARGL's settings for the current OpenGL + context, as returned by arglSetupForCurrentContext() for this context.</dd> + <dt><code><i>format</i></code></dt><dd>A symbolic constant for the pixel format in use. See + <!-- a logicalPath="//apple_ref/c/tdef/ARGL_PIX_FORMAT" -->ARGL_PIX_FORMAT <!-- /a --> for a list of all possible formats.</dd> + <dt><code><i>size</i></code></dt><dd>The number of bytes of memory occupied per pixel, for the given format.</dd> + </dl> + </blockquote> + <dl><dt><i>function result</i></dt><dd>TRUE if the pixel format and size values were retreived, FALSE if an error occurred. + </dd> + <h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>This function enquires as to the current format of pixel data being + expected by the arglDispImage*() functions. The default format is determined by + which of the possible AR_PIXEL_FORMAT_xxxx symbols was defined at the time the + library was built. + </p> + <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.71. + </dd> + </dl> + <hr><!-- headerDoc=func; uid=//apple_ref/doc/compositePage/c/func/arglPixelFormatSet; name=arglPixelFormatSet --> + <a name="//apple_ref/doc/compositePage/c/func/arglPixelFormatSet"></a> + <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglPixelFormatSet">arglPixelFormatSet</a></h3> + </td></tr></table><hr><dl></dl><p>Set the format of pixel data which will be passed to arglDispImage*() + </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/int //apple_ref/c/cl/int //apple_ref/c/tdef/int //apple_ref/c/tag/int //apple_ref/c/econst/int //apple_ref/c/struct/int //apple_ref/c/clconst/int" --><font class="type">int</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglPixelFormatSet //apple_ref/c/clm/arglPixelFormatSet //apple_ref/c/intfcm/arglPixelFormatSet //apple_ref/c/func/arglPixelFormatSet //apple_ref/c/ftmplt/arglPixelFormatSet //apple_ref/c/defn/arglPixelFormatSet //apple_ref/c/macro/arglPixelFormatSet" --><font class="function">arglPixelFormatSet</font><!-- /a -->( + <!-- a logicalPath="//apple_ref/c/cl/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/cl/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/tdef/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/tag/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/econst/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/struct/ARGL_CONTEXT_SETTINGS_REF //apple_ref/c/clconst/ARGL_CONTEXT_SETTINGS_REF" --><font class="type">ARGL_CONTEXT_SETTINGS_REF</font><!-- /a --> <font class="param">contextSettings</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT //apple_ref/c/cl/ARGL_PIX_FORMAT //apple_ref/c/tdef/ARGL_PIX_FORMAT //apple_ref/c/tag/ARGL_PIX_FORMAT //apple_ref/c/econst/ARGL_PIX_FORMAT //apple_ref/c/struct/ARGL_PIX_FORMAT //apple_ref/c/clconst/ARGL_PIX_FORMAT" --><font class="type">ARGL_PIX_FORMAT</font><!-- /a --> <font class="param">format</font>); </pre></blockquote> + <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> + <blockquote> + <dl> + <dt><code><i>contextSettings</i></code></dt><dd>A reference to ARGL's settings for the current OpenGL + context, as returned by arglSetupForCurrentContext() for this context.</dd> + <dt><code><i>format</i></code></dt><dd>A symbolic constant for the pixel format being set. See + <!-- a logicalPath="//apple_ref/c/tdef/ARGL_PIX_FORMAT" -->ARGL_PIX_FORMAT <!-- /a --> for a list of all possible formats.</dd> + </dl> + </blockquote> + <dl><dt><i>function result</i></dt><dd>TRUE if the pixel format value was set, FALSE if an error occurred. + </dd> + <h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>(description) + In gsub_lite, the format of the pixels (i.e. the arrangement of components + within each pixel) can be changed at runtime. Use this function to inform + gsub_lite the format the pixels being passed to arglDispImage*() functions + are in. This setting applies only to the context passed in parameter + contextSettings. The default format is determined by which of the possible + AR_PIXEL_FORMAT_xxxx symbols was defined at the time the library was built. + Usually, image data is passed in directly from images generated by ARVideo, + and so you should ensure that ARVideo is generating pixels of the same format. + </p> + <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.71. + </dd> + </dl> <hr><!-- headerDoc=func; uid=//apple_ref/doc/compositePage/c/func/arglSetupForCurrentContext; name=arglSetupForCurrentContext --> <a name="//apple_ref/doc/compositePage/c/func/arglSetupForCurrentContext"></a> *************** *** 382,385 **** --- 460,522 ---- </dd> </dl> + <hr><!-- headerDoc=tdef; uid=//apple_ref/doc/compositePage/c/tdef/ARGL_PIX_FORMAT; name=ARGL_PIX_FORMAT --> + <a name="//apple_ref/doc/compositePage/c/tdef/ARGL_PIX_FORMAT"></a> + <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="ARGL_PIX_FORMAT">ARGL_PIX_FORMAT</a></h3> + </td></tr></table><hr><dl></dl><p>ARToolKit pixel-format specifiers. + </p> + <blockquote><pre><font class="keyword">typedef</font> <font class="keyword">enum</font> { + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_RGBA //apple_ref/c/cl/ARGL_PIX_FORMAT_RGBA //apple_ref/c/tdef/ARGL_PIX_FORMAT_RGBA //apple_ref/c/tag/ARGL_PIX_FORMAT_RGBA //apple_ref/c/econst/ARGL_PIX_FORMAT_RGBA //apple_ref/c/struct/ARGL_PIX_FORMAT_RGBA //apple_ref/c/clconst/ARGL_PIX_FORMAT_RGBA" --><font class="type">ARGL_PIX_FORMAT_RGBA</font><!-- /a --> = <font class="number">1</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_ABGR //apple_ref/c/cl/ARGL_PIX_FORMAT_ABGR //apple_ref/c/tdef/ARGL_PIX_FORMAT_ABGR //apple_ref/c/tag/ARGL_PIX_FORMAT_ABGR //apple_ref/c/econst/ARGL_PIX_FORMAT_ABGR //apple_ref/c/struct/ARGL_PIX_FORMAT_ABGR //apple_ref/c/clconst/ARGL_PIX_FORMAT_ABGR" --><font class="type">ARGL_PIX_FORMAT_ABGR</font><!-- /a --> = <font class="number">2</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_BGRA //apple_ref/c/cl/ARGL_PIX_FORMAT_BGRA //apple_ref/c/tdef/ARGL_PIX_FORMAT_BGRA //apple_ref/c/tag/ARGL_PIX_FORMAT_BGRA //apple_ref/c/econst/ARGL_PIX_FORMAT_BGRA //apple_ref/c/struct/ARGL_PIX_FORMAT_BGRA //apple_ref/c/clconst/ARGL_PIX_FORMAT_BGRA" --><font class="type">ARGL_PIX_FORMAT_BGRA</font><!-- /a --> = <font class="number">3</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_ARGB //apple_ref/c/cl/ARGL_PIX_FORMAT_ARGB //apple_ref/c/tdef/ARGL_PIX_FORMAT_ARGB //apple_ref/c/tag/ARGL_PIX_FORMAT_ARGB //apple_ref/c/econst/ARGL_PIX_FORMAT_ARGB //apple_ref/c/struct/ARGL_PIX_FORMAT_ARGB //apple_ref/c/clconst/ARGL_PIX_FORMAT_ARGB" --><font class="type">ARGL_PIX_FORMAT_ARGB</font><!-- /a --> = <font class="number">4</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_RGB //apple_ref/c/cl/ARGL_PIX_FORMAT_RGB //apple_ref/c/tdef/ARGL_PIX_FORMAT_RGB //apple_ref/c/tag/ARGL_PIX_FORMAT_RGB //apple_ref/c/econst/ARGL_PIX_FORMAT_RGB //apple_ref/c/struct/ARGL_PIX_FORMAT_RGB //apple_ref/c/clconst/ARGL_PIX_FORMAT_RGB" --><font class="type">ARGL_PIX_FORMAT_RGB</font><!-- /a --> = <font class="number">5</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_BGR //apple_ref/c/cl/ARGL_PIX_FORMAT_BGR //apple_ref/c/tdef/ARGL_PIX_FORMAT_BGR //apple_ref/c/tag/ARGL_PIX_FORMAT_BGR //apple_ref/c/econst/ARGL_PIX_FORMAT_BGR //apple_ref/c/struct/ARGL_PIX_FORMAT_BGR //apple_ref/c/clconst/ARGL_PIX_FORMAT_BGR" --><font class="type">ARGL_PIX_FORMAT_BGR</font><!-- /a --> = <font class="number">6</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_2vuy //apple_ref/c/cl/ARGL_PIX_FORMAT_2vuy //apple_ref/c/tdef/ARGL_PIX_FORMAT_2vuy //apple_ref/c/tag/ARGL_PIX_FORMAT_2vuy //apple_ref/c/econst/ARGL_PIX_FORMAT_2vuy //apple_ref/c/struct/ARGL_PIX_FORMAT_2vuy //apple_ref/c/clconst/ARGL_PIX_FORMAT_2vuy" --><font class="type">ARGL_PIX_FORMAT_2vuy</font><!-- /a --> = <font class="number">7</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_UYVY //apple_ref/c/cl/ARGL_PIX_FORMAT_UYVY //apple_ref/c/tdef/ARGL_PIX_FORMAT_UYVY //apple_ref/c/tag/ARGL_PIX_FORMAT_UYVY //apple_ref/c/econst/ARGL_PIX_FORMAT_UYVY //apple_ref/c/struct/ARGL_PIX_FORMAT_UYVY //apple_ref/c/clconst/ARGL_PIX_FORMAT_UYVY" --><font class="type">ARGL_PIX_FORMAT_UYVY</font><!-- /a --> = <font class="var">ARGL_PIX_FORMAT_2vuy</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_yuvs //apple_ref/c/cl/ARGL_PIX_FORMAT_yuvs //apple_ref/c/tdef/ARGL_PIX_FORMAT_yuvs //apple_ref/c/tag/ARGL_PIX_FORMAT_yuvs //apple_ref/c/econst/ARGL_PIX_FORMAT_yuvs //apple_ref/c/struct/ARGL_PIX_FORMAT_yuvs //apple_ref/c/clconst/ARGL_PIX_FORMAT_yuvs" --><font class="type">ARGL_PIX_FORMAT_yuvs</font><!-- /a --> = <font class="number">8</font>, + <!-- a logicalPath="//apple_ref/c/cl/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/cl/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/tdef/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/tag/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/econst/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/struct/ARGL_PIX_FORMAT_YUY2 //apple_ref/c/clconst/ARGL_PIX_FORMAT_YUY2" --><font class="type">ARGL_PIX_FORMAT_YUY2</font><!-- /a --> = <font class="var">ARGL_PIX_FORMAT_yuvs</font>, + } <font class="var">ARGL_PIX_FORMAT</font>; </pre></blockquote> + <h5><font face="Lucida Grande,Helvetica,Arial">Constants</font></h5> + <blockquote> + <dl> + <dt><code>ARGL_PIX_FORMAT_RGBA</code></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Red, Green, + Blue, and Alpha component.</dd> + <dt><code>ARGL_PIX_FORMAT_ABGR</code></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Alpha, Blue, + Green, and Red component. This is the native 32 bit format for the SGI + platform.</dd> + <dt><code>ARGL_PIX_FORMAT_BGRA</code></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Blue, Green, + Red, and Alpha component. This is the native 32 bit format for the Win32 + platform.</dd> + <dt><code>ARGL_PIX_FORMAT_ARGB</code></dt><dd>Each pixel is represented by 32 bits. Eight bits per each Alpha, Red, + Green, and Blue component. This is the native 32 bit format for the Mac + platform.</dd> + <dt><code>ARGL_PIX_FORMAT_RGB</code></dt><dd>Each pixel is represented by 24 bits. Eight bits per each Red, Green, + and Blue component. This is the native 24 bit format for the Mac platform.</dd> + <dt><code>ARGL_PIX_FORMAT_BGR</code></dt><dd>Each pixel is represented by 24 bits. Eight bits per each Blue, Red, and + Green component. This is the native 24 bit format for the Win32 platform.</dd> + <dt><code>ARGL_PIX_FORMAT_2vuy</code></dt><dd>8-bit 4:2:2 Component Y'CbCr format. Each 16 bit pixel is represented + by an unsigned eight bit luminance component and two unsigned eight bit + chroma components. Each pair of pixels shares a common set of chroma + values. The components are ordered in memory; Cb, Y0, Cr, Y1. The + luminance components have a range of [16, 235], while the chroma value + has a range of [16, 240]. This is consistent with the CCIR601 spec. + This format is fairly prevalent on both Mac and Win32 platforms. + '2vuy' is the Apple QuickTime four-character code for this pixel format. + The equivalent Microsoft fourCC is 'UYVY'.</dd> + <dt><code>ARGL_PIX_FORMAT_yuvs</code></dt><dd>8-bit 4:2:2 Component Y'CbCr format. Identical to the ARGL_PIX_FORMAT_2vuy except + each 16 bit word has been byte swapped. This results in a component + ordering of; Y0, Cb, Y1, Cr. + This is most prevalent yuv 4:2:2 format on both Mac and Win32 platforms. + 'yuvs' is the Apple QuickTime four-character code for this pixel format. + The equivalent Microsoft fourCC is 'YUY2'.</dd> + </dl> + </blockquote> + <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>ARToolKit functions can accept pixel data in a variety of formats. + This enumerations provides a set of constants you can use to request + data in a particular pixel format from an ARToolKit function that + returns data to you, or to specify that data you are providing to an + ARToolKit function is in a particular pixel format. + </p> + </dl> <h2>Globals</h2> <hr><!-- headerDoc=data; uid=//apple_ref/doc/compositePage/c/data/arglDrawMode; name=arglDrawMode --> *************** *** 437,446 **** use of rectangluar textures. A value of FALSE specifies the use of ordinary textures. <br><br> ! If gsub_lite was not built without support for rectangular textures, changing the ! value of this variable will have no effect, and ordinary textures will always be ! used. Support for rectangular textures is only available when gsub_lite is built ! with AR_OPENGL_TEXTURE_RECTANGLE defined in <AR/config.h> and with either ! GL_EXT_texture_rectangle or GL_NV_texture_rectangle defined in <GL/glext.h> ! or <GL/gl.h> </p> <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. --- 574,580 ---- use of rectangluar textures. A value of FALSE specifies the use of ordinary textures. <br><br> ! If the OpenGL driver available at runtime does not support for rectangular textures, ! changing the value of this variable to TRUE will result calls to arglDispImage ! performing no drawing. </p> <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. |
From: Philip L. <phi...@us...> - 2005-08-12 23:17:22
|
Update of /cvsroot/artoolkit/artoolkit/util/calib_camera2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4393 Added Files: calib_camera2-Info.plist Log Message: Necessary file for Mac application bundle. --- NEW FILE: calib_camera2-Info.plist --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>calib_camera2</string> <key>CFBundleIdentifier</key> <string>org.hitlabnz.calib_camera2</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>2.71</string> </dict> </plist> |
From: Philip L. <phi...@us...> - 2005-08-12 23:11:37
|
Update of /cvsroot/artoolkit/artoolkit/util/calib_cparam In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2290 Added Files: calib_cparam-Info.plist Log Message: Necessary file for Mac application bundle. --- NEW FILE: calib_cparam-Info.plist --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>calib_cparam</string> <key>CFBundleIdentifier</key> <string>org.hitlabnz.calib_cparam</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>2.71</string> </dict> </plist> |
From: Philip L. <phi...@us...> - 2005-08-12 22:52:33
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/Gl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29708 Modified Files: gsub_lite.c Log Message: Change to DOS line endings. Index: gsub_lite.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/Gl/gsub_lite.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** gsub_lite.c 30 Jul 2005 01:06:06 -0000 1.4 --- gsub_lite.c 12 Aug 2005 22:52:20 -0000 1.5 *************** *** 1,838 **** ! /* ! * gsub_lite.c ! * ! * Graphics Subroutines (Lite) for ARToolKit. ! * ! * Copyright (c) 2003-2005 Philip Lamb (PRL) ph...@ed.... All rights reserved. ! * ! * Rev Date Who Changes ! * 2.6.5 ????-??-?? MB/HK Original from ARToolKit-2.65DS gsub.c ! * 2.7.0 2003-08-13 PRL Lipo'ed and whipped into shape. [...1647 lines suppressed...] ! arglDispImageTexRectangle(image, cparam, zoomf, contextSettings, texmapScaleFactor); ! } ! #endif // AR_OPENGL_TEXTURE_RECTANGLE ! } ! } ! ! int arglDistortionCompensationSet(ARGL_CONTEXT_SETTINGS_REF contextSettings, int enable) ! { ! if (!contextSettings) return (FALSE); ! contextSettings->disableDistortionCompensation = !enable; ! contextSettings->initPlease = TRUE; ! return (TRUE); ! } ! ! int arglDistortionCompensationGet(ARGL_CONTEXT_SETTINGS_REF contextSettings, int *enable) ! { ! if (!contextSettings) return (FALSE); ! *enable = !contextSettings->disableDistortionCompensation; ! return (TRUE); ! } |