artoolkit-commits Mailing List for ARToolKit (Page 22)
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
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-07-20 22:41:21
|
Update of /cvsroot/artoolkit/artoolkit/examples/collide In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3916 Modified Files: collideTest.c Log Message: All platforms should call glutInit, actually. Index: collideTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/collide/collideTest.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** collideTest.c 13 Apr 2005 06:13:53 -0000 1.3 --- collideTest.c 20 Jul 2005 22:41:08 -0000 1.4 *************** *** 52,58 **** { //initialize applications - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init(); --- 52,56 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:41:14
|
Update of /cvsroot/artoolkit/artoolkit/examples/modeTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3888 Modified Files: modeTest.c Log Message: All platforms should call glutInit, actually. Index: modeTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/modeTest/modeTest.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** modeTest.c 13 Apr 2005 06:12:14 -0000 1.2 --- modeTest.c 20 Jul 2005 22:41:03 -0000 1.3 *************** *** 69,75 **** int main(int argc, char **argv) { - #ifdef __APPLE__ glutInit(&argc, argv); - #endif if( init( argc, argv ) < 0 ) exit(0); --- 69,73 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:41:06
|
Update of /cvsroot/artoolkit/artoolkit/examples/multi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3867 Modified Files: multiTest.c Log Message: All platforms should call glutInit, actually. Index: multiTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/multi/multiTest.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** multiTest.c 13 Apr 2005 06:12:07 -0000 1.2 --- multiTest.c 20 Jul 2005 22:40:55 -0000 1.3 *************** *** 45,51 **** int main(int argc, char **argv) { - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init(); --- 45,49 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:39:10
|
Update of /cvsroot/artoolkit/artoolkit/util/calib_camera2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3122 Modified Files: main.c Log Message: All platforms should call glutInit, actually. Index: main.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/util/calib_camera2/main.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** main.c 13 Apr 2005 06:11:53 -0000 1.2 --- main.c 20 Jul 2005 22:38:59 -0000 1.3 *************** *** 126,132 **** int main(int argc, char *argv[]) { - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init( argc, argv ); --- 126,130 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:38:46
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/Gl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2999 Modified Files: gsub.c Log Message: All platforms should call glutInit, actually. Index: gsub.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/Gl/gsub.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** gsub.c 7 Nov 2004 23:42:20 -0000 1.2 --- gsub.c 20 Jul 2005 22:38:35 -0000 1.3 *************** *** 122,134 **** int i; - #ifdef __APPLE__ - { - static int initF = 0; - int argc = 1; - char *argv[1] = {"ARToolKit for MacOSX"}; - if( initF == 0 ) { glutInit(&argc, argv); initF = 1; } - } - #endif - gl_hmd_flag = hmd_flag; gZoom = zoom; --- 122,125 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:32:43
|
Update of /cvsroot/artoolkit/artoolkit/examples/optical In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1503 Modified Files: optical.c Log Message: All platforms should call glutInit, actually. Index: optical.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/optical/optical.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** optical.c 13 Apr 2005 06:13:19 -0000 1.2 --- optical.c 20 Jul 2005 22:32:32 -0000 1.3 *************** *** 70,76 **** int main(int argc, char **argv) { - #ifdef __APPLE__ glutInit(&argc, argv); - #endif if( init( argc, argv ) < 0 ) exit(0); --- 70,74 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:32:18
|
Update of /cvsroot/artoolkit/artoolkit/examples/paddleInteraction In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1443 Modified Files: paddleInteractionTest.c Log Message: All platforms should call glutInit, actually. Index: paddleInteractionTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/paddleInteraction/paddleInteractionTest.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** paddleInteractionTest.c 13 Apr 2005 06:14:35 -0000 1.3 --- paddleInteractionTest.c 20 Jul 2005 22:32:09 -0000 1.4 *************** *** 79,85 **** { //initialize applications - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init(); --- 79,83 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:32:13
|
Update of /cvsroot/artoolkit/artoolkit/examples/paddleDemo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1420 Modified Files: paddleDemo.c Log Message: All platforms should call glutInit, actually. Index: paddleDemo.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/paddleDemo/paddleDemo.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** paddleDemo.c 13 Apr 2005 06:13:38 -0000 1.3 --- paddleDemo.c 20 Jul 2005 22:32:05 -0000 1.4 *************** *** 74,80 **** { //initialize applications - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init(); --- 74,78 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:32:07
|
Update of /cvsroot/artoolkit/artoolkit/examples/paddle In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1384 Modified Files: paddleTest.c Log Message: All platforms should call glutInit, actually. Index: paddleTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/paddle/paddleTest.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** paddleTest.c 13 Apr 2005 06:14:07 -0000 1.3 --- paddleTest.c 20 Jul 2005 22:31:59 -0000 1.4 *************** *** 56,62 **** { //initialize application - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init(); --- 56,60 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:31:16
|
Update of /cvsroot/artoolkit/artoolkit/examples/relation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1015 Modified Files: relationTest.c Log Message: All platforms should call glutInit, actually. Index: relationTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/relation/relationTest.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** relationTest.c 13 Apr 2005 06:13:12 -0000 1.3 --- relationTest.c 20 Jul 2005 22:30:33 -0000 1.4 *************** *** 62,68 **** int main(int argc, char *argv[]) { - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init(); --- 62,66 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:31:10
|
Update of /cvsroot/artoolkit/artoolkit/examples/range In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1163 Modified Files: rangeTest.c Log Message: All platforms should call glutInit, actually. Index: rangeTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/range/rangeTest.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** rangeTest.c 13 Apr 2005 06:14:42 -0000 1.3 --- rangeTest.c 20 Jul 2005 22:30:58 -0000 1.4 *************** *** 51,57 **** { //initialize applications - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init(); --- 51,55 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:30:05
|
Update of /cvsroot/artoolkit/artoolkit/examples/simple In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv753 Modified Files: simpleTest.c Log Message: All platforms should call glutInit, actually. Index: simpleTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/simple/simpleTest.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** simpleTest.c 13 Apr 2005 06:12:21 -0000 1.2 --- simpleTest.c 20 Jul 2005 22:29:55 -0000 1.3 *************** *** 47,53 **** int main(int argc, char **argv) { - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init(); --- 47,51 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:29:38
|
Update of /cvsroot/artoolkit/artoolkit/examples/simple2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv601 Modified Files: simpleTest2.c Log Message: All platforms should call glutInit, actually. Index: simpleTest2.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/simple2/simpleTest2.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** simpleTest2.c 13 Apr 2005 06:12:54 -0000 1.2 --- simpleTest2.c 20 Jul 2005 22:29:27 -0000 1.3 *************** *** 48,54 **** int main(int argc, char **argv) { - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init(); --- 48,52 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:28:51
|
Update of /cvsroot/artoolkit/artoolkit/include/AR/sys In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv327 Modified Files: videoMacOSX.h Log Message: Move includes to video.c. Index: videoMacOSX.h =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/include/AR/sys/videoMacOSX.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** videoMacOSX.h 16 Mar 2005 04:41:51 -0000 1.4 --- videoMacOSX.h 20 Jul 2005 22:28:42 -0000 1.5 *************** *** 53,63 **** #endif - #include <Carbon/Carbon.h> - #include <QuickTime/QuickTime.h> - #include <pthread.h> - - #include <AR/config.h> - #include <AR/ar.h> - typedef struct _AR2VideoParamT AR2VideoParamT; --- 53,56 ---- |
From: Philip L. <phi...@us...> - 2005-07-20 22:25:48
|
Update of /cvsroot/artoolkit/artoolkit/util/videoTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31707 Modified Files: videoTest.c Log Message: All platforms should call glutInit, actually. Index: videoTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/util/videoTest/videoTest.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** videoTest.c 13 Apr 2005 06:13:02 -0000 1.3 --- videoTest.c 20 Jul 2005 22:25:39 -0000 1.4 *************** *** 42,48 **** { //initialize applications - #ifdef __APPLE__ glutInit(&argc, argv); - #endif init(); --- 42,46 ---- |
From: Philip L. <phi...@us...> - 2005-06-23 07:27:05
|
Update of /cvsroot/artoolkit/artoolkit/ARToolKit.xcodeproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11860 Added Files: .cvsignore Log Message: Update for Mac OS X 10.4 --- NEW FILE: .cvsignore --- *.mode1 *.pbxuser |
From: Philip L. <phi...@us...> - 2005-06-23 07:26:27
|
Update of /cvsroot/artoolkit/artoolkit/ARToolKit.xcodeproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11175 Added Files: project.pbxproj Log Message: Update for Mac OS X 10.4 --- NEW FILE: project.pbxproj --- // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 42; objects = { /* Begin PBXAggregateTarget section */ 4A3F14A6064A0B070042B0D7 /* ARToolKit libraries */ = { isa = PBXAggregateTarget; buildConfigurationList = 4A7E90C9085904A2001E80E8 /* Build configuration list for PBXAggregateTarget "ARToolKit libraries" */; buildPhases = ( ); buildSettings = { OTHER_CFLAGS = ""; OTHER_LDFLAGS = ""; OTHER_REZFLAGS = ""; PRODUCT_NAME = "ARToolKit libraries"; [...7141 lines suppressed...] 4A7E913B085904A2001E80E8 /* Deployment */, 4A7E913C085904A2001E80E8 /* Default */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Default; }; 4A7E913D085904A2001E80E8 /* Build configuration list for PBXProject "ARToolKit" */ = { isa = XCConfigurationList; buildConfigurations = ( 4A7E913E085904A2001E80E8 /* Development */, 4A7E913F085904A2001E80E8 /* Deployment */, 4A7E9140085904A2001E80E8 /* Default */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Default; }; /* End XCConfigurationList section */ }; rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; } |
From: Philip L. <phi...@us...> - 2005-06-23 07:17:41
|
Update of /cvsroot/artoolkit/artoolkit/ARToolKit.xcodeproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6497/ARToolKit.xcodeproj Log Message: Directory /cvsroot/artoolkit/artoolkit/ARToolKit.xcodeproj added to the repository |
From: Philip L. <phi...@us...> - 2005-06-23 06:57:33
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29244 Modified Files: video.c Log Message: Update for Mac OS X 10.4 Index: video.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX/video.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** video.c 13 Apr 2005 06:14:48 -0000 1.8 --- video.c 23 Jun 2005 06:57:25 -0000 1.9 *************** *** 82,85 **** --- 82,86 ---- #include <QuickTime/QuickTime.h> #include <pthread.h> + #include <sys/time.h> #include <AR/config.h> #include <AR/ar.h> *************** *** 592,596 **** srcCopy, // transfer mode specifier (RgnHandle)NULL, // clipping region in dest. coordinate system to use as a mask ! NULL, // flags codecHighQuality, //codecNormalQuality // accuracy in decompression bestSpeedCodec)) //anyCodec bestSpeedCodec // compressor identifier or special identifiers ie. bestSpeedCodec --- 593,597 ---- srcCopy, // transfer mode specifier (RgnHandle)NULL, // clipping region in dest. coordinate system to use as a mask ! 0L, // flags codecHighQuality, //codecNormalQuality // accuracy in decompression bestSpeedCodec)) //anyCodec bestSpeedCodec // compressor identifier or special identifiers ie. bestSpeedCodec |
From: Philip L. <phi...@us...> - 2005-06-23 06:49:36
|
Update of /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Vars In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25580 Modified Files: Vars.html Log Message: Update for Mac OS X 10.4 Index: Vars.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Vars/Vars.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Vars.html 4 Nov 2004 08:50:55 -0000 1.1.1.1 --- Vars.html 23 Jun 2005 06:49:25 -0000 1.2 *************** *** 1,18 **** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> ! <html><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> <title>Data Members</title> ! <meta name="generator" content="HeaderDoc"> ! </head><body bgcolor="#ffffff"> <h1><font face="Geneva,Arial,Helvtica">Data Members</font></h1><br> ! <hr><!-- headerDoc=data; name=arglDrawMode --><a name="//apple_ref/c/data/arglDrawMode"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglDrawMode">arglDrawMode</a></h2> ! </td></tr></table><hr><dl>Determines display method by which arglDispImage() transfers pixels. ! ! </dl><blockquote><pre><pre> ! int arglDrawMode; ! </pre> ! </pre></blockquote> ! <p>The value of this variable determines the method by which arglDispImage transfers pixels of an image to the display. Setting this variable to a value of AR_DRAW_BY_GL_DRAW_PIXELS specifies the use of OpenGL --- 1,17 ---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> ! <html><head> <title>Data Members</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">Data Members</font></h1><br> ! <hr><!-- headerDoc=data; uid=//apple_ref/c/data/arglDrawMode; name=arglDrawMode --> ! <a name="//apple_ref/c/data/arglDrawMode"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglDrawMode">arglDrawMode</a></h3> ! </td></tr></table><hr><dl></dl><p>Determines display method by which arglDispImage() transfers pixels. ! </p> ! <blockquote><pre><font class="keyword">extern</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="var">arglDrawMode</font>; </pre></blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>The value of this variable determines the method by which arglDispImage transfers pixels of an image to the display. Setting this variable to a value of AR_DRAW_BY_GL_DRAW_PIXELS specifies the use of OpenGL *************** *** 29,44 **** (defined in <AR/config.h>). </p> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=data; name=arglTexRectangle --><a name="//apple_ref/c/data/arglTexRectangle"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglTexRectangle">arglTexRectangle</a></h2> ! </td></tr></table><hr><dl>Determines use of rectangular TexImage2D pixel-transfer in arglDispImage(). ! ! </dl><blockquote><pre><pre> ! BOOL arglTexRectangle; ! </pre> ! </pre></blockquote> ! <p>On implementations which support the OpenGL extension for rectangular textures (of non power-of-two size), and when arglDrawMode is set to AR_DRAW_BY_TEXTURE_MAPPING, the value of this variable determines whether rectangular textures or ordinary --- 28,59 ---- (defined in <AR/config.h>). </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=data; uid=//apple_ref/c/data/arglTexmapMode; name=arglTexmapMode --> ! <a name="//apple_ref/c/data/arglTexmapMode"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglTexmapMode">arglTexmapMode</a></h3> ! </td></tr></table><hr><dl></dl><p>Determines use of full or half-resolution TexImage2D pixel-transfer in arglDispImage(). ! </p> ! <blockquote><pre><font class="keyword">extern</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="var">arglTexmapMode</font>; </pre></blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>When arglDrawMode is set to AR_DRAW_BY_TEXTURE_MAPPING, the value of this variable ! determines whether full or half-resolution data is transferred to the ! texture. A value of AR_DRAW_TEXTURE_FULL_IMAGE uses all available pixels in the ! source image data. A value of AR_DRAW_TEXTURE_HALF_IMAGE discards every second pixel ! in the source image data, defining a half-width texture which is then drawn stretched ! horizontally to double its width. The latter method offers some advantages to ! certain implentations where texture transfer is slow or costly, at the expense of ! image detail. ! </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. ! </dd> ! </dl> ! <hr><!-- headerDoc=data; uid=//apple_ref/c/data/arglTexRectangle; name=arglTexRectangle --> ! <a name="//apple_ref/c/data/arglTexRectangle"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglTexRectangle">arglTexRectangle</a></h3> ! </td></tr></table><hr><dl></dl><p>Determines use of rectangular TexImage2D pixel-transfer in arglDispImage(). ! </p> ! <blockquote><pre><font class="keyword">extern</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="var">arglTexRectangle</font>; </pre></blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>On implementations which support the OpenGL extension for rectangular textures (of non power-of-two size), and when arglDrawMode is set to AR_DRAW_BY_TEXTURE_MAPPING, the value of this variable determines whether rectangular textures or ordinary *************** *** 53,80 **** or <GL/gl.h> </p> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. ! </dd> ! </dl> ! <hr><!-- headerDoc=data; name=arglTexmapMode --><a name="//apple_ref/c/data/arglTexmapMode"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglTexmapMode">arglTexmapMode</a></h2> ! </td></tr></table><hr><dl>Determines use of full or half-resolution TexImage2D pixel-transfer in arglDispImage(). ! ! </dl><blockquote><pre><pre> ! int arglTexmapMode; ! </pre> ! </pre></blockquote> ! <p>When arglDrawMode is set to AR_DRAW_BY_TEXTURE_MAPPING, the value of this variable ! determines whether full or half-resolution data is transferred to the ! texture. A value of AR_DRAW_TEXTURE_FULL_IMAGE uses all available pixels in the ! source image data. A value of AR_DRAW_TEXTURE_HALF_IMAGE discards every second pixel ! in the source image data, defining a half-width texture which is then drawn stretched ! horizontally to double its width. The latter method offers some advantages to ! certain implentations where texture transfer is slow or costly, at the expense of ! image detail. ! </p> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <p><p>© 2003-2004 Philip Lamb ! (Last Updated 07/02/2004) </p></body></html> --- 68,75 ---- or <GL/gl.h> </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <p><p>© 2003-2004 Philip Lamb ! (Last Updated August 02, 2004) </p></body></html> |
From: Philip L. <phi...@us...> - 2005-06-23 06:49:28
|
Update of /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25546 Modified Files: ARVideoSettingsController.m Log Message: Update for Mac OS X 10.4 Index: ARVideoSettingsController.m =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/lib/SRC/VideoMacOSX/ARVideoSettingsController.m,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ARVideoSettingsController.m 13 Mar 2005 23:13:53 -0000 1.2 --- ARVideoSettingsController.m 23 Jun 2005 06:49:18 -0000 1.3 *************** *** 129,133 **** // Bring up the dialog and if the user didn't cancel // save the new channel settings for later. ! err = SGSettingsDialog(seqGrab, sgchanVideo, PanelCount, PanelListPtr, 0, NULL, NULL); if (err == noErr) { // Dispose the old settings and get the new channel settings. --- 129,133 ---- // Bring up the dialog and if the user didn't cancel // save the new channel settings for later. ! err = SGSettingsDialog(seqGrab, sgchanVideo, PanelCount, PanelListPtr, 0, NULL, 0L); if (err == noErr) { // Dispose the old settings and get the new channel settings. |
From: Philip L. <phi...@us...> - 2005-06-23 06:48:52
|
Update of /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25142 Modified Files: Functions.html Log Message: Update for Mac OS X 10.4 Index: Functions.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/Functions/Functions.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Functions.html 4 Nov 2004 08:50:55 -0000 1.1.1.1 --- Functions.html 23 Jun 2005 06:48:42 -0000 1.2 *************** *** 1,49 **** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> ! <html><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> <title>Functions</title> ! <meta name="generator" content="HeaderDoc"> ! </head><body bgcolor="#ffffff"> <h1><font face="Geneva,Arial,Helvtica">Functions</font></h1><br> <a name="HeaderDoc_functions"></a> <dl> ! <dt><tt><a href="Functions.html#arglSetupForCurrentContext" target="doc">arglSetupForCurrentContext</a></tt></dt> ! <dd>Initialise the gsub_lite library for the current OpenGL context. ! </dd> ! <dt><tt><a href="Functions.html#arglCleanup" target="doc">arglCleanup</a></tt></dt> ! <dd>Free memory used by gsub_lite associated with the specified context. ! </dd> ! <dt><tt><a href="Functions.html#arglCameraFrustum" target="doc">arglCameraFrustum</a></tt></dt> <dd>Create an OpenGL perspective projection matrix. </dd> ! <dt><tt><a href="Functions.html#arglCameraView" target="doc">arglCameraView</a></tt></dt> <dd>Create an OpenGL viewing transformation matrix. </dd> ! <dt><tt><a href="Functions.html#arglDispImage" target="doc">arglDispImage</a></tt></dt> <dd>Display an ARVideo image, by drawing it using OpenGL. </dd> ! <dt><tt><a href="Functions.html#arglDispImageStateful" target="doc">arglDispImageStateful</a></tt></dt> <dd>Display an ARVideo image, by drawing it using OpenGL, using and modifying current OpenGL state. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglCameraFrustum --><a name="//apple_ref/c/func/arglCameraFrustum"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglCameraFrustum">arglCameraFrustum</a></h2> ! </td></tr></table><hr><dl>Create an OpenGL perspective projection matrix. ! ! </dl><blockquote><pre>void arglCameraFrustum( ! const ARParam *cparam, ! const double focalmin, ! const double focalmax, ! GLdouble m_projection [ 16 ]); ! </pre></blockquote> ! <p>Use this function to create a matrix suitable for passing to OpenGL ! to set the viewing projection. </p> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><tt><em>cparam</em></tt></dt><dd>Pointer to a set of ARToolKit camera parameters for the current video source.</dd> ! <dt><tt><em>focalmax</em></tt></dt><dd>The maximum distance at which geometry will be rendered. Any geometry further away from the camera than this distance will be clipped and will not be appear in a rendered frame. Thus, this value should be --- 1,47 ---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> ! <html><head> <title>Functions</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">Functions</font></h1><br> <a name="HeaderDoc_functions"></a> <dl> ! <dt><tt><a href="Functions.html#//apple_ref/c/func/arglCameraFrustum" target="doc">arglCameraFrustum</a></tt></dt> <dd>Create an OpenGL perspective projection matrix. </dd> ! <dt><tt><a href="Functions.html#//apple_ref/c/func/arglCameraView" target="doc">arglCameraView</a></tt></dt> <dd>Create an OpenGL viewing transformation matrix. </dd> ! <dt><tt><a href="Functions.html#//apple_ref/c/func/arglCleanup" target="doc">arglCleanup</a></tt></dt> ! <dd>Free memory used by gsub_lite associated with the specified context. ! </dd> ! <dt><tt><a href="Functions.html#//apple_ref/c/func/arglDispImage" target="doc">arglDispImage</a></tt></dt> <dd>Display an ARVideo image, by drawing it using OpenGL. </dd> ! <dt><tt><a href="Functions.html#//apple_ref/c/func/arglDispImageStateful" target="doc">arglDispImageStateful</a></tt></dt> <dd>Display an ARVideo image, by drawing it using OpenGL, using and modifying current OpenGL state. </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. + </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/c/func/arglCameraFrustum; name=arglCameraFrustum --> ! <a name="//apple_ref/c/func/arglCameraFrustum"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglCameraFrustum">arglCameraFrustum</a></h3> ! </td></tr></table><hr><dl></dl><p>Create an OpenGL perspective projection matrix. </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/void //apple_ref/c/cl/void //apple_ref/c/tdef/void //apple_ref/c/tag/void //apple_ref/c/econst/void //apple_ref/c/struct/void //apple_ref/c/clconst/void" --><font class="type">void</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglCameraFrustum //apple_ref/c/clm/arglCameraFrustum //apple_ref/c/intfcm/arglCameraFrustum //apple_ref/c/func/arglCameraFrustum //apple_ref/c/ftmplt/arglCameraFrustum //apple_ref/c/defn/arglCameraFrustum //apple_ref/c/macro/arglCameraFrustum" --><font class="function">arglCameraFrustum</font><!-- /a -->( + <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/ARParam //apple_ref/c/cl/ARParam //apple_ref/c/tdef/ARParam //apple_ref/c/tag/ARParam //apple_ref/c/econst/ARParam //apple_ref/c/struct/ARParam //apple_ref/c/clconst/ARParam" --><font class="type">ARParam</font><!-- /a --> *<font class="param">cparam</font>, + <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <font class="param">focalmin</font>, + <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <font class="param">focalmax</font>, + <!-- a logicalPath="//apple_ref/c/cl/GLdouble //apple_ref/c/cl/GLdouble //apple_ref/c/tdef/GLdouble //apple_ref/c/tag/GLdouble //apple_ref/c/econst/GLdouble //apple_ref/c/struct/GLdouble //apple_ref/c/clconst/GLdouble" --><font class="type">GLdouble</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/cl/m_projection //apple_ref/c/cl/m_projection //apple_ref/c/tdef/m_projection //apple_ref/c/tag/m_projection //apple_ref/c/econst/m_projection //apple_ref/c/struct/m_projection //apple_ref/c/clconst/m_projection" --><font class="type">m_projection</font><!-- /a -->[<font class="number">16</font>]); </pre></blockquote> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><code><i>cparam</i></code></dt><dd>Pointer to a set of ARToolKit camera parameters for the current video source.</dd> ! <dt><code><i>focalmax</i></code></dt><dd>The maximum distance at which geometry will be rendered. Any geometry further away from the camera than this distance will be clipped and will not be appear in a rendered frame. Thus, this value should be *************** *** 52,56 **** to focalmax, thus you should not set focalmax any higher than it needs to be. This value should be specified in the same units as your OpenGL drawing.</dd> ! <dt><tt><em>focalmin</em></tt></dt><dd>The minimum distance at which geometry will be rendered. Any geometry closer to the camera than this distance will be clipped and will not be appear in a rendered frame. Thus, this value should be --- 50,54 ---- to focalmax, thus you should not set focalmax any higher than it needs to be. This value should be specified in the same units as your OpenGL drawing.</dd> ! <dt><code><i>focalmin</i></code></dt><dd>The minimum distance at which geometry will be rendered. Any geometry closer to the camera than this distance will be clipped and will not be appear in a rendered frame. Thus, this value should be *************** *** 62,159 **** perspectives you should set this value no lower than the near-point of the eyes. The near point in humans varies, but usually lies between 0.1 m ! 0.3 m. This value should be specified in the same units as your OpenGL drawing.</dd> ! <dt><tt><em>m_projection</em></tt></dt><dd>Pointer to a array of 16 GLdoubles, which will be filled out with a projection matrix suitable for passing to OpenGL. The matrix is specified in column major order.</dd> </dl> </blockquote> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglCameraView --><a name="//apple_ref/c/func/arglCameraView"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglCameraView">arglCameraView</a></h2> ! </td></tr></table><hr><dl>Create an OpenGL viewing transformation matrix. ! ! </dl><blockquote><pre>void arglCameraView( ! double para [ 3 ][ 4 ], ! GLdouble m_modelview [ 16 ], ! double scale ); ! </pre></blockquote> ! <p>Use this function to create a matrix suitable for passing to OpenGL ! to set the viewing transformation of the virtual camera. </p> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><tt><em>para</em></tt></dt><dd>Pointer to 3x4 matrix array of doubles which specify the position of an ARToolKit marker, as returned by arGetTransMat().</dd> ! <dt><tt><em>m_modelview</em></tt></dt><dd>Pointer to a array of 16 GLdoubles, which will be filled out with a modelview matrix suitable for passing to OpenGL. The matrix is specified in column major order.</dd> ! <dt><tt><em>scale</em></tt></dt><dd>Specifies a scaling between ARToolKit's units (usually millimeters) and OpenGL's coordinate system units.</dd> </dl> </blockquote> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglCleanup --><a name="//apple_ref/c/func/arglCleanup"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglCleanup">arglCleanup</a></h2> ! </td></tr></table><hr><dl>Free memory used by gsub_lite associated with the specified context. ! ! </dl><blockquote><pre>void arglCleanup( ! ARGL_CONTEXT_SETTINGS_REF contextSettings ); ! </pre></blockquote> ! <p>Should be called after no more argl* functions are needed, in order ! to prevent memory leaks etc. ! <br><br> ! The library can be setup again for the context at a later time by calling ! arglSetupForCurrentContext() again. </p> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><tt><em>contextSettings</em></tt></dt><dd>A reference to ARGL's settings for an OpenGL context, as returned by arglSetupForCurrentContext().</dd> </dl> </blockquote> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglDispImage --><a name="//apple_ref/c/func/arglDispImage"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglDispImage">arglDispImage</a></h2> ! </td></tr></table><hr><dl>Display an ARVideo image, by drawing it using OpenGL. ! ! </dl><blockquote><pre>void arglDispImage( ! ARUint8 *image, ! const ARParam *cparam, ! const double zoom, ! ARGL_CONTEXT_SETTINGS_REF contextSettings ); ! </pre></blockquote> ! <p>This function draws an image from an ARVideo source to the current ! OpenGL context. This operation is most useful in video see-through ! augmented reality applications for drawing the camera view as a ! background image, but can also be used in other ways. ! <br><br> ! An undistorted image is drawn with the lower-left corner of the ! bottom-left-most pixel at OpenGL screen coordinates (0,0), and the ! upper-right corner of the top-right-most pixel at OpenGL screen ! coodinates (x * zoom, y * zoom), where x and y are the values of the ! fields cparam->xsize and cparam->ysize (see below) and zoom is the ! value of the parameter zoom (also see below). If cparam->dist_factor ! indicates that an un-warping correction should be applied, the actual ! coordinates will differ from the values specified here. ! <br><br> ! OpenGL state: Drawing is performed with depth testing and lighting ! disabled, and thus leaves the the depth buffer (if any) unmodified. If ! pixel transfer is by texturing (see documentation for arglDrawMode), ! the drawing is done in replacement texture environment mode. ! The depth test enable and lighting enable state and the texture ! environment mode are restored before the function returns. </p> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><tt><em>image</em></tt></dt><dd>Pointer to the tightly-packed image data (as returned by arVideoGetImage()). The horizontal and vertical dimensions of the image data must exactly match the values specified in the fields cparam->xsize --- 60,139 ---- perspectives you should set this value no lower than the near-point of the eyes. The near point in humans varies, but usually lies between 0.1 m ! 0.3 m. This value should be specified in the same units as your OpenGL drawing.</li></ol></dd> ! <dt><code><i>m_projection</i></code></dt><dd>Pointer to a array of 16 GLdoubles, which will be filled out with a projection matrix suitable for passing to OpenGL. The matrix is specified in column major order.</dd> </dl> </blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>Use this function to create a matrix suitable for passing to OpenGL ! to set the viewing projection. ! </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/c/func/arglCameraView; name=arglCameraView --> ! <a name="//apple_ref/c/func/arglCameraView"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglCameraView">arglCameraView</a></h3> ! </td></tr></table><hr><dl></dl><p>Create an OpenGL viewing transformation matrix. </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/void //apple_ref/c/cl/void //apple_ref/c/tdef/void //apple_ref/c/tag/void //apple_ref/c/econst/void //apple_ref/c/struct/void //apple_ref/c/clconst/void" --><font class="type">void</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglCameraView //apple_ref/c/clm/arglCameraView //apple_ref/c/intfcm/arglCameraView //apple_ref/c/func/arglCameraView //apple_ref/c/ftmplt/arglCameraView //apple_ref/c/defn/arglCameraView //apple_ref/c/macro/arglCameraView" --><font class="function">arglCameraView</font><!-- /a -->( + <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/cl/para //apple_ref/c/cl/para //apple_ref/c/tdef/para //apple_ref/c/tag/para //apple_ref/c/econst/para //apple_ref/c/struct/para //apple_ref/c/clconst/para" --><font class="type">para</font><!-- /a -->[<font class="number">3</font>][<font class="number">4</font>], + <!-- a logicalPath="//apple_ref/c/cl/GLdouble //apple_ref/c/cl/GLdouble //apple_ref/c/tdef/GLdouble //apple_ref/c/tag/GLdouble //apple_ref/c/econst/GLdouble //apple_ref/c/struct/GLdouble //apple_ref/c/clconst/GLdouble" --><font class="type">GLdouble</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/cl/m_modelview //apple_ref/c/cl/m_modelview //apple_ref/c/tdef/m_modelview //apple_ref/c/tag/m_modelview //apple_ref/c/econst/m_modelview //apple_ref/c/struct/m_modelview //apple_ref/c/clconst/m_modelview" --><font class="type">m_modelview</font><!-- /a -->[<font class="number">16</font>], + <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <font class="param">scale</font>); </pre></blockquote> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><code><i>para</i></code></dt><dd>Pointer to 3x4 matrix array of doubles which specify the position of an ARToolKit marker, as returned by arGetTransMat().</dd> ! <dt><code><i>m_modelview</i></code></dt><dd>Pointer to a array of 16 GLdoubles, which will be filled out with a modelview matrix suitable for passing to OpenGL. The matrix is specified in column major order.</dd> ! <dt><code><i>scale</i></code></dt><dd>Specifies a scaling between ARToolKit's units (usually millimeters) and OpenGL's coordinate system units.</dd> </dl> </blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>Use this function to create a matrix suitable for passing to OpenGL ! to set the viewing transformation of the virtual camera. ! </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/c/func/arglCleanup; name=arglCleanup --> ! <a name="//apple_ref/c/func/arglCleanup"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglCleanup">arglCleanup</a></h3> ! </td></tr></table><hr><dl></dl><p>Free memory used by gsub_lite associated with the specified context. </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/void //apple_ref/c/cl/void //apple_ref/c/tdef/void //apple_ref/c/tag/void //apple_ref/c/econst/void //apple_ref/c/struct/void //apple_ref/c/clconst/void" --><font class="type">void</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglCleanup //apple_ref/c/clm/arglCleanup //apple_ref/c/intfcm/arglCleanup //apple_ref/c/func/arglCleanup //apple_ref/c/ftmplt/arglCleanup //apple_ref/c/defn/arglCleanup //apple_ref/c/macro/arglCleanup" --><font class="function">arglCleanup</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>); </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 an OpenGL context, as returned by arglSetupForCurrentContext().</dd> </dl> </blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>Should be called after no more argl* functions are needed, in order ! to prevent memory leaks etc. ! <br><br> ! The library can be setup again for the context at a later time by calling ! arglSetupForCurrentContext() again. ! </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/c/func/arglDispImage; name=arglDispImage --> ! <a name="//apple_ref/c/func/arglDispImage"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglDispImage">arglDispImage</a></h3> ! </td></tr></table><hr><dl></dl><p>Display an ARVideo image, by drawing it using OpenGL. </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/void //apple_ref/c/cl/void //apple_ref/c/tdef/void //apple_ref/c/tag/void //apple_ref/c/econst/void //apple_ref/c/struct/void //apple_ref/c/clconst/void" --><font class="type">void</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglDispImage //apple_ref/c/clm/arglDispImage //apple_ref/c/intfcm/arglDispImage //apple_ref/c/func/arglDispImage //apple_ref/c/ftmplt/arglDispImage //apple_ref/c/defn/arglDispImage //apple_ref/c/macro/arglDispImage" --><font class="function">arglDispImage</font><!-- /a -->( + <!-- a logicalPath="//apple_ref/c/cl/ARUint8 //apple_ref/c/cl/ARUint8 //apple_ref/c/tdef/ARUint8 //apple_ref/c/tag/ARUint8 //apple_ref/c/econst/ARUint8 //apple_ref/c/struct/ARUint8 //apple_ref/c/clconst/ARUint8" --><font class="type">ARUint8</font><!-- /a --> *<font class="param">image</font>, + <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/ARParam //apple_ref/c/cl/ARParam //apple_ref/c/tdef/ARParam //apple_ref/c/tag/ARParam //apple_ref/c/econst/ARParam //apple_ref/c/struct/ARParam //apple_ref/c/clconst/ARParam" --><font class="type">ARParam</font><!-- /a --> *<font class="param">cparam</font>, + <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <font class="param">zoom</font>, + <!-- 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>); </pre></blockquote> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><code><i>image</i></code></dt><dd>Pointer to the tightly-packed image data (as returned by arVideoGetImage()). The horizontal and vertical dimensions of the image data must exactly match the values specified in the fields cparam->xsize *************** *** 173,177 **** from images generated by ARVideo, and so you should ensure that ARVideo is generating pixels of the same format.</dd> ! <dt><tt><em>cparam</em></tt></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 fields xsize and ysize of the ARParam structure pointed to. Also, when --- 153,157 ---- 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 fields xsize and ysize of the ARParam structure pointed to. Also, when *************** *** 180,187 **** structure pointed to will be taken as the amount to un-warp the supplied image.</dd> ! <dt><tt><em>zoom</em></tt></dt><dd>The amount to scale the video image up or down. To draw the video image double size, use a zoom value of 2.0. To draw the video image half size use a zoom value of 0.5.</dd> ! <dt><tt><em>contextSettings</em></tt></dt><dd>A reference to ARGL's settings for the current OpenGL context, as returned by arglSetupForCurrentContext() for this context. It is the callers responsibility to make sure that the current context at the --- 160,167 ---- structure pointed to will be taken as the amount to un-warp the supplied image.</dd> ! <dt><code><i>zoom</i></code></dt><dd>The amount to scale the video image up or down. To draw the video image double size, use a zoom value of 2.0. To draw the video image half size use a zoom value of 0.5.</dd> ! <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. It is the callers responsibility to make sure that the current context at the *************** *** 190,207 **** </dl> </blockquote> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglDispImageStateful --><a name="//apple_ref/c/func/arglDispImageStateful"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglDispImageStateful">arglDispImageStateful</a></h2> ! </td></tr></table><hr><dl>Display an ARVideo image, by drawing it using OpenGL, using and modifying current OpenGL state. ! ! </dl><blockquote><pre>void arglDispImageStateful( ! ARUint8 *image, ! const ARParam *cparam, ! const double zoom, ! ARGL_CONTEXT_SETTINGS_REF contextSettings ); ! </pre></blockquote> ! <p>This function is identical to arglDispImage except that whereas arglDispImage sets an orthographic 2D projection and the OpenGL state prior to drawing, this function does not. It also does not restore any --- 170,208 ---- </dl> </blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>This function draws an image from an ARVideo source to the current ! OpenGL context. This operation is most useful in video see-through ! augmented reality applications for drawing the camera view as a ! background image, but can also be used in other ways. ! <br><br> ! An undistorted image is drawn with the lower-left corner of the ! bottom-left-most pixel at OpenGL screen coordinates (0,0), and the ! upper-right corner of the top-right-most pixel at OpenGL screen ! coodinates (x * zoom, y * zoom), where x and y are the values of the ! fields cparam->xsize and cparam->ysize (see below) and zoom is the ! value of the parameter zoom (also see below). If cparam->dist_factor ! indicates that an un-warping correction should be applied, the actual ! coordinates will differ from the values specified here. ! <br><br> ! OpenGL state: Drawing is performed with depth testing and lighting ! disabled, and thus leaves the the depth buffer (if any) unmodified. If ! pixel transfer is by texturing (see documentation for arglDrawMode), ! the drawing is done in replacement texture environment mode. ! The depth test enable and lighting enable state and the texture ! environment mode are restored before the function returns. ! </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/c/func/arglDispImageStateful; name=arglDispImageStateful --> ! <a name="//apple_ref/c/func/arglDispImageStateful"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglDispImageStateful">arglDispImageStateful</a></h3> ! </td></tr></table><hr><dl></dl><p>Display an ARVideo image, by drawing it using OpenGL, using and modifying current OpenGL state. ! </p> ! <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/void //apple_ref/c/cl/void //apple_ref/c/tdef/void //apple_ref/c/tag/void //apple_ref/c/econst/void //apple_ref/c/struct/void //apple_ref/c/clconst/void" --><font class="type">void</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglDispImageStateful //apple_ref/c/clm/arglDispImageStateful //apple_ref/c/intfcm/arglDispImageStateful //apple_ref/c/func/arglDispImageStateful //apple_ref/c/ftmplt/arglDispImageStateful //apple_ref/c/defn/arglDispImageStateful //apple_ref/c/macro/arglDispImageStateful" --><font class="function">arglDispImageStateful</font><!-- /a -->( ! <!-- a logicalPath="//apple_ref/c/cl/ARUint8 //apple_ref/c/cl/ARUint8 //apple_ref/c/tdef/ARUint8 //apple_ref/c/tag/ARUint8 //apple_ref/c/econst/ARUint8 //apple_ref/c/struct/ARUint8 //apple_ref/c/clconst/ARUint8" --><font class="type">ARUint8</font><!-- /a --> *<font class="param">image</font>, ! <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/ARParam //apple_ref/c/cl/ARParam //apple_ref/c/tdef/ARParam //apple_ref/c/tag/ARParam //apple_ref/c/econst/ARParam //apple_ref/c/struct/ARParam //apple_ref/c/clconst/ARParam" --><font class="type">ARParam</font><!-- /a --> *<font class="param">cparam</font>, ! <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <font class="param">zoom</font>, ! <!-- 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>); </pre></blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>This function is identical to arglDispImage except that whereas arglDispImage sets an orthographic 2D projection and the OpenGL state prior to drawing, this function does not. It also does not restore any *************** *** 218,232 **** See the documentation for arglDispImage() for more information. </p> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68.2. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglSetupForCurrentContext --><a name="//apple_ref/c/func/arglSetupForCurrentContext"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglSetupForCurrentContext">arglSetupForCurrentContext</a></h2> ! </td></tr></table><hr><dl>Initialise the gsub_lite library for the current OpenGL context. ! ! </dl><blockquote><pre>ARGL_CONTEXT_SETTINGS_REF arglSetupForCurrentContext( ! void ); ! </pre></blockquote> ! <p>This function performs required setup of the gsub_lite library for the current OpenGL context and must be called before any other argl*() functions are called for this context. --- 219,235 ---- See the documentation for arglDispImage() for more information. </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68.2. </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/c/func/arglSetupForCurrentContext; name=arglSetupForCurrentContext --> ! <a name="//apple_ref/c/func/arglSetupForCurrentContext"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglSetupForCurrentContext">arglSetupForCurrentContext</a></h3> ! </td></tr></table><hr><dl></dl><p>Initialise the gsub_lite library for the current OpenGL context. ! </p> ! <blockquote><pre><!-- 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 --> <!-- a logicalPath="//apple_ref/c/instm/arglSetupForCurrentContext //apple_ref/c/clm/arglSetupForCurrentContext //apple_ref/c/intfcm/arglSetupForCurrentContext //apple_ref/c/func/arglSetupForCurrentContext //apple_ref/c/ftmplt/arglSetupForCurrentContext //apple_ref/c/defn/arglSetupForCurrentContext //apple_ref/c/macro/arglSetupForCurrentContext" --><font class="function">arglSetupForCurrentContext</font><!-- /a -->( ! <font class="param">void</font>); </pre></blockquote> ! <dl><dt><i>function result</i></dt><dd>An ARGL_CONTEXT_SETTINGS_REF. See the documentation for this type for more info. ! </dd> ! <h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>This function performs required setup of the gsub_lite library for the current OpenGL context and must be called before any other argl*() functions are called for this context. *************** *** 243,252 **** when you have finished with the library for this context. </p> ! <dl><dt><i>function result</i></dt><dd>An ARGL_CONTEXT_SETTINGS_REF. See the documentation for this type for more info. ! </dd> ! <dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <p><p>© 2003-2004 Philip Lamb ! (Last Updated 07/02/2004) </p></body></html> --- 246,253 ---- when you have finished with the library for this context. </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <p><p>© 2003-2004 Philip Lamb ! (Last Updated August 02, 2004) </p></body></html> |
From: Philip L. <phi...@us...> - 2005-06-23 06:48:32
|
Update of /cvsroot/artoolkit/artoolkit/doc/gsub_lite/DataTypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25074 Modified Files: DataTypes.html Log Message: Update for Mac OS X 10.4 Index: DataTypes.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/DataTypes/DataTypes.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** DataTypes.html 4 Nov 2004 08:50:54 -0000 1.1.1.1 --- DataTypes.html 23 Jun 2005 06:48:23 -0000 1.2 *************** *** 1,17 **** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> ! <html><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> <title>Defined Types</title> ! <meta name="generator" content="HeaderDoc"> ! </head><body bgcolor="#ffffff"> <h1><font face="Geneva,Arial,Helvtica">Defined Types</font></h1><br> ! <hr><!-- headerDoc=tdef; name=ARGL_CONTEXT_SETTINGS_REF --><a name="//apple_ref/c/tdef/ARGL_CONTEXT_SETTINGS_REF"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="ARGL_CONTEXT_SETTINGS_REF">ARGL_CONTEXT_SETTINGS_REF</a></h2> ! </td></tr></table><hr><dl>Opaque type to hold ARGL settings for a given OpenGL context. ! ! </dl><blockquote><pre>typedef struct _ARGL_CONTEXT_SETTINGS * ! ARGL_CONTEXT_SETTINGS_REF; ! </pre></blockquote> ! <p>An OpenGL context is an implementation-defined structure which keeps track of OpenGL state, including textures and display lists. Typically, individual OpenGL windows will have distinct OpenGL --- 1,17 ---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> ! <html><head> <title>Defined Types</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">Defined Types</font></h1><br> ! <hr><!-- headerDoc=tdef; uid=//apple_ref/c/tdef/ARGL_CONTEXT_SETTINGS_REF; name=ARGL_CONTEXT_SETTINGS_REF --> ! <a name="//apple_ref/c/tdef/ARGL_CONTEXT_SETTINGS_REF"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="ARGL_CONTEXT_SETTINGS_REF">ARGL_CONTEXT_SETTINGS_REF</a></h3> ! </td></tr></table><hr><dl></dl><p>Opaque type to hold ARGL settings for a given OpenGL context. ! </p> ! <blockquote><pre><font class="keyword">typedef</font> <font class="keyword">struct</font> <!-- a logicalPath="//apple_ref/c/cl/_ARGL_CONTEXT_SETTINGS //apple_ref/c/cl/_ARGL_CONTEXT_SETTINGS //apple_ref/c/tdef/_ARGL_CONTEXT_SETTINGS //apple_ref/c/tag/_ARGL_CONTEXT_SETTINGS //apple_ref/c/econst/_ARGL_CONTEXT_SETTINGS //apple_ref/c/struct/_ARGL_CONTEXT_SETTINGS //apple_ref/c/clconst/_ARGL_CONTEXT_SETTINGS" --><font class="type">_ARGL_CONTEXT_SETTINGS</font><!-- /a --> <font class="type">*</font><font class="var">ARGL_CONTEXT_SETTINGS_REF</font>; </pre></blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>An OpenGL context is an implementation-defined structure which keeps track of OpenGL state, including textures and display lists. Typically, individual OpenGL windows will have distinct OpenGL *************** *** 31,38 **** memory used by the settings structure. </p> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <p><p>© 2003-2004 Philip Lamb ! (Last Updated 07/02/2004) </p></body></html> --- 31,38 ---- memory used by the settings structure. </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <p><p>© 2003-2004 Philip Lamb ! (Last Updated August 02, 2004) </p></body></html> |
From: Philip L. <phi...@us...> - 2005-06-23 06:48:27
|
Update of /cvsroot/artoolkit/artoolkit/doc/gsub_lite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24974 Modified Files: toc.html index.html gsub_lite.html CompositePage.html Log Message: Update for Mac OS X 10.4 Index: toc.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/toc.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** toc.html 4 Nov 2004 08:50:54 -0000 1.1.1.1 --- toc.html 23 Jun 2005 06:48:16 -0000 1.2 *************** *** 3,6 **** --- 3,8 ---- <html><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> <title>Documentation for gsub_lite (gsub_lite.h)</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <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> <meta name="generator" content="HeaderDoc"> </head> *************** *** 15,35 **** <h4><a href="Functions/Functions.html#HeaderDoc_functions" target="doc">Functions</a></h4> ! <nobr> <a href="Functions/Functions.html#arglCameraFrustum" target="doc">arglCameraFrustum</a></nobr><br> ! <nobr> <a href="Functions/Functions.html#arglCameraView" target="doc">arglCameraView</a></nobr><br> ! <nobr> <a href="Functions/Functions.html#arglCleanup" target="doc">arglCleanup</a></nobr><br> ! <nobr> <a href="Functions/Functions.html#arglDispImage" target="doc">arglDispImage</a></nobr><br> ! <nobr> <a href="Functions/Functions.html#arglDispImageStateful" target="doc">arglDispImageStateful</a></nobr><br> ! <nobr> <a href="Functions/Functions.html#arglSetupForCurrentContext" target="doc">arglSetupForCurrentContext</a></nobr><br> ! <h4><a href="DataTypes/DataTypes.html#HeaderDoc_functions" target="doc">Defined Types </a></h4> ! <nobr> <a href="DataTypes/DataTypes.html#ARGL_CONTEXT_SETTINGS_REF" target="doc">ARGL_CONTEXT_SETTINGS_REF</a></nobr><br> ! <h4><a href="Vars/Vars.html#HeaderDoc_functions" target="doc">Globals</a></h4> ! <nobr> <a href="Vars/Vars.html#arglDrawMode" target="doc">arglDrawMode</a></nobr><br> ! <nobr> <a href="Vars/Vars.html#arglTexRectangle" target="doc">arglTexRectangle</a></nobr><br> ! <nobr> <a href="Vars/Vars.html#arglTexmapMode" target="doc">arglTexmapMode</a></nobr><br> <br><hr><a href="CompositePage.html" target="_blank">[Printable HTML Page]</a> ! <p><i>Updated: 07/02/2004</i><p></td></tr> </table><p> <p> </body></html> --- 17,37 ---- <h4><a href="Functions/Functions.html#HeaderDoc_functions" target="doc">Functions</a></h4> ! <nobr> <a href="Functions/Functions.html#//apple_ref/c/func/arglCameraFrustum" target="doc">arglCameraFrustum</a></nobr><br> ! <nobr> <a href="Functions/Functions.html#//apple_ref/c/func/arglCameraView" target="doc">arglCameraView</a></nobr><br> ! <nobr> <a href="Functions/Functions.html#//apple_ref/c/func/arglCleanup" target="doc">arglCleanup</a></nobr><br> ! <nobr> <a href="Functions/Functions.html#//apple_ref/c/func/arglDispImage" target="doc">arglDispImage</a></nobr><br> ! <nobr> <a href="Functions/Functions.html#//apple_ref/c/func/arglDispImageStateful" target="doc">arglDispImageStateful</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 </a></h4> ! <nobr> <a href="DataTypes/DataTypes.html#//apple_ref/c/tdef/ARGL_CONTEXT_SETTINGS_REF" target="doc">ARGL_CONTEXT_SETTINGS_REF</a></nobr><br> ! <h4><a href="Vars/Vars.html" target="doc">Globals</a></h4> ! <nobr> <a href="Vars/Vars.html#//apple_ref/c/data/arglDrawMode" target="doc">arglDrawMode</a></nobr><br> ! <nobr> <a href="Vars/Vars.html#//apple_ref/c/data/arglTexmapMode" target="doc">arglTexmapMode</a></nobr><br> ! <nobr> <a href="Vars/Vars.html#//apple_ref/c/data/arglTexRectangle" target="doc">arglTexRectangle</a></nobr><br> <br><hr><a href="CompositePage.html" target="_blank">[Printable HTML Page]</a> ! <p><i>Updated: August 02, 2004</i><p></td></tr> </table><p> <p> </body></html> Index: index.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/index.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index.html 4 Nov 2004 08:50:54 -0000 1.1.1.1 --- index.html 23 Jun 2005 06:48:16 -0000 1.2 *************** *** 3,11 **** <html><head> <title>Documentation for gsub_lite (gsub_lite.h)</title> <meta name="generator" content="HeaderDoc"> </head> <frameset cols="190,100%"> <frame src="toc.html" name="toc"> <frame src="gsub_lite.html" name="doc"> ! </frameset></html> ! <!-- headerDoc=Header; name=gsub_lite--> --- 3,33 ---- <html><head> <title>Documentation for gsub_lite (gsub_lite.h)</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <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> <meta name="generator" content="HeaderDoc"> </head> + <script language="JavaScript" type="text/javascript"> + origURL = parent.document.URL; + contentURL = origURL.substring(origURL.indexOf('?')+1, origURL.length); + if (contentURL.length == origURL.length) { + contentURL = 'gsub_lite.html'; + // document.write('contentURL: ' + contentURL + '<br>\n'); + // document.write('Length: ' + contentURL.length + '<br>\n'); + } + document.write('<frameset cols="20%,80%"><frame src="toc.html" name="nav"><frame src=\"' + contentURL + '\" name="doc"></frameset>'); + </script> + <noscript> <frameset cols="190,100%"> <frame src="toc.html" name="toc"> <frame src="gsub_lite.html" name="doc"> ! </frameset> ! <noframes> ! <body bgcolor="#e6e6e6"> ! <h2>This document set is best viewed in a browser that supports frames. To access the TOC, <a href="toc.html">Click here</a></h2> ! </body> ! </noframes> ! </noscript> ! <!-- headerDoc=Header; uid=//apple_ref/doc/header/gsub_lite.h; name=gsub_lite --> ! <a name="//apple_ref/doc/header/gsub_lite.h"></a> ! ! </html> Index: gsub_lite.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/gsub_lite.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** gsub_lite.html 4 Nov 2004 08:50:54 -0000 1.1.1.1 --- gsub_lite.html 23 Jun 2005 06:48:16 -0000 1.2 *************** *** 3,7 **** <html><HEAD> <title>API Documentation</title> ! <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> <meta name="generator" content="HeaderDoc"> </HEAD> <BODY bgcolor="#ffffff"> --- 3,8 ---- <html><HEAD> <title>API Documentation</title> ! <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> ! <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> <meta name="generator" content="HeaderDoc"> </HEAD> <BODY bgcolor="#ffffff"> *************** *** 11,15 **** <br> <p></p> ! <b>Updated:</b> 07/02/2004<br> <p></p> <hr><br> --- 12,19 ---- <br> <p></p> ! <b>Updated:</b> August 02, 2004<br> ! <b>Includes:</b> <!-- a logicalPath="//apple_ref/doc/header/config.h" --><AR/config.h><!-- /a -->, ! <!-- a logicalPath="//apple_ref/doc/header/ar.h" --><AR/ar.h><!-- /a -->, ! <!-- a logicalPath="//apple_ref/doc/header/param.h" --><AR/param.h><!-- /a --><br> <p></p> <hr><br> *************** *** 54,58 **** <br><br> <hr><br><center>© 2003-2004 Philip Lamb ! (Last Updated 07/02/2004) <br><font size="-1">HTML documentation generated by <a href="http://www.opensource.apple.com/projects" target="_blank">HeaderDoc</a></font> </center> --- 58,62 ---- <br><br> <hr><br><center>© 2003-2004 Philip Lamb ! (Last Updated August 02, 2004) <br><font size="-1">HTML documentation generated by <a href="http://www.opensource.apple.com/projects" target="_blank">HeaderDoc</a></font> </center> Index: CompositePage.html =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/doc/gsub_lite/CompositePage.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** CompositePage.html 4 Nov 2004 08:50:54 -0000 1.1.1.1 --- CompositePage.html 23 Jun 2005 06:48:16 -0000 1.2 *************** *** 1,9 **** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> ! <html><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> <title>gsub_lite</title> ! <meta name="generator" content="HeaderDoc"> ! </head><body bgcolor="#ffffff"> <h1><font face="Geneva,Arial,Helvtica">gsub_lite</font></h1><br> <h2>Abstract</h2> A collection of useful OpenGL routines for ARToolKit. --- 1,11 ---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> ! <html><head> <title>gsub_lite</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">gsub_lite</font></h1><br> + <a name="//apple_ref/doc/header/gsub_lite.h" title="gsub_lite"></a> <h2>Abstract</h2> A collection of useful OpenGL routines for ARToolKit. *************** *** 49,90 **** <a name="HeaderDoc_functions"></a> <dl> ! <dt><tt><a href="CompositePage.html#arglSetupForCurrentContext" target="_top">arglSetupForCurrentContext</a></tt></dt> ! <dd>Initialise the gsub_lite library for the current OpenGL context. ! </dd> ! <dt><tt><a href="CompositePage.html#arglCleanup" target="_top">arglCleanup</a></tt></dt> ! <dd>Free memory used by gsub_lite associated with the specified context. ! </dd> ! <dt><tt><a href="CompositePage.html#arglCameraFrustum" target="_top">arglCameraFrustum</a></tt></dt> <dd>Create an OpenGL perspective projection matrix. </dd> ! <dt><tt><a href="CompositePage.html#arglCameraView" target="_top">arglCameraView</a></tt></dt> <dd>Create an OpenGL viewing transformation matrix. </dd> ! <dt><tt><a href="CompositePage.html#arglDispImage" target="_top">arglDispImage</a></tt></dt> <dd>Display an ARVideo image, by drawing it using OpenGL. </dd> ! <dt><tt><a href="CompositePage.html#arglDispImageStateful" target="_top">arglDispImageStateful</a></tt></dt> <dd>Display an ARVideo image, by drawing it using OpenGL, using and modifying current OpenGL state. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglCameraFrustum --> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglCameraFrustum">arglCameraFrustum</a></h2> ! </td></tr></table><hr><dl>Create an OpenGL perspective projection matrix. ! ! </dl><blockquote><pre>void arglCameraFrustum( ! const ARParam *cparam, ! const double focalmin, ! const double focalmax, ! GLdouble m_projection [ 16 ]); ! </pre></blockquote> ! <p>Use this function to create a matrix suitable for passing to OpenGL ! to set the viewing projection. </p> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><tt><em>cparam</em></tt></dt><dd>Pointer to a set of ARToolKit camera parameters for the current video source.</dd> ! <dt><tt><em>focalmax</em></tt></dt><dd>The maximum distance at which geometry will be rendered. Any geometry further away from the camera than this distance will be clipped and will not be appear in a rendered frame. Thus, this value should be --- 51,89 ---- <a name="HeaderDoc_functions"></a> <dl> ! <dt><tt><a href="CompositePage.html#//apple_ref/doc/compositePage/c/func/arglCameraFrustum" target="_top">arglCameraFrustum</a></tt></dt> <dd>Create an OpenGL perspective projection matrix. </dd> ! <dt><tt><a href="CompositePage.html#//apple_ref/doc/compositePage/c/func/arglCameraView" target="_top">arglCameraView</a></tt></dt> <dd>Create an OpenGL viewing transformation matrix. </dd> ! <dt><tt><a href="CompositePage.html#//apple_ref/doc/compositePage/c/func/arglCleanup" target="_top">arglCleanup</a></tt></dt> ! <dd>Free memory used by gsub_lite associated with the specified context. ! </dd> ! <dt><tt><a href="CompositePage.html#//apple_ref/doc/compositePage/c/func/arglDispImage" target="_top">arglDispImage</a></tt></dt> <dd>Display an ARVideo image, by drawing it using OpenGL. </dd> ! <dt><tt><a href="CompositePage.html#//apple_ref/doc/compositePage/c/func/arglDispImageStateful" target="_top">arglDispImageStateful</a></tt></dt> <dd>Display an ARVideo image, by drawing it using OpenGL, using and modifying current OpenGL state. </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. + </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/doc/compositePage/c/func/arglCameraFrustum; name=arglCameraFrustum --> ! <a name="//apple_ref/doc/compositePage/c/func/arglCameraFrustum"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglCameraFrustum">arglCameraFrustum</a></h3> ! </td></tr></table><hr><dl></dl><p>Create an OpenGL perspective projection matrix. </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/void //apple_ref/c/cl/void //apple_ref/c/tdef/void //apple_ref/c/tag/void //apple_ref/c/econst/void //apple_ref/c/struct/void //apple_ref/c/clconst/void" --><font class="type">void</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglCameraFrustum //apple_ref/c/clm/arglCameraFrustum //apple_ref/c/intfcm/arglCameraFrustum //apple_ref/c/func/arglCameraFrustum //apple_ref/c/ftmplt/arglCameraFrustum //apple_ref/c/defn/arglCameraFrustum //apple_ref/c/macro/arglCameraFrustum" --><font class="function">arglCameraFrustum</font><!-- /a -->( + <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/ARParam //apple_ref/c/cl/ARParam //apple_ref/c/tdef/ARParam //apple_ref/c/tag/ARParam //apple_ref/c/econst/ARParam //apple_ref/c/struct/ARParam //apple_ref/c/clconst/ARParam" --><font class="type">ARParam</font><!-- /a --> *<font class="param">cparam</font>, + <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <font class="param">focalmin</font>, + <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <font class="param">focalmax</font>, + <!-- a logicalPath="//apple_ref/c/cl/GLdouble //apple_ref/c/cl/GLdouble //apple_ref/c/tdef/GLdouble //apple_ref/c/tag/GLdouble //apple_ref/c/econst/GLdouble //apple_ref/c/struct/GLdouble //apple_ref/c/clconst/GLdouble" --><font class="type">GLdouble</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/cl/m_projection //apple_ref/c/cl/m_projection //apple_ref/c/tdef/m_projection //apple_ref/c/tag/m_projection //apple_ref/c/econst/m_projection //apple_ref/c/struct/m_projection //apple_ref/c/clconst/m_projection" --><font class="type">m_projection</font><!-- /a -->[<font class="number">16</font>]); </pre></blockquote> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><code><i>cparam</i></code></dt><dd>Pointer to a set of ARToolKit camera parameters for the current video source.</dd> ! <dt><code><i>focalmax</i></code></dt><dd>The maximum distance at which geometry will be rendered. Any geometry further away from the camera than this distance will be clipped and will not be appear in a rendered frame. Thus, this value should be *************** *** 93,97 **** to focalmax, thus you should not set focalmax any higher than it needs to be. This value should be specified in the same units as your OpenGL drawing.</dd> ! <dt><tt><em>focalmin</em></tt></dt><dd>The minimum distance at which geometry will be rendered. Any geometry closer to the camera than this distance will be clipped and will not be appear in a rendered frame. Thus, this value should be --- 92,96 ---- to focalmax, thus you should not set focalmax any higher than it needs to be. This value should be specified in the same units as your OpenGL drawing.</dd> ! <dt><code><i>focalmin</i></code></dt><dd>The minimum distance at which geometry will be rendered. Any geometry closer to the camera than this distance will be clipped and will not be appear in a rendered frame. Thus, this value should be *************** *** 103,200 **** perspectives you should set this value no lower than the near-point of the eyes. The near point in humans varies, but usually lies between 0.1 m ! 0.3 m. This value should be specified in the same units as your OpenGL drawing.</dd> ! <dt><tt><em>m_projection</em></tt></dt><dd>Pointer to a array of 16 GLdoubles, which will be filled out with a projection matrix suitable for passing to OpenGL. The matrix is specified in column major order.</dd> </dl> </blockquote> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglCameraView --> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglCameraView">arglCameraView</a></h2> ! </td></tr></table><hr><dl>Create an OpenGL viewing transformation matrix. ! ! </dl><blockquote><pre>void arglCameraView( ! double para [ 3 ][ 4 ], ! GLdouble m_modelview [ 16 ], ! double scale ); ! </pre></blockquote> ! <p>Use this function to create a matrix suitable for passing to OpenGL ! to set the viewing transformation of the virtual camera. </p> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><tt><em>para</em></tt></dt><dd>Pointer to 3x4 matrix array of doubles which specify the position of an ARToolKit marker, as returned by arGetTransMat().</dd> ! <dt><tt><em>m_modelview</em></tt></dt><dd>Pointer to a array of 16 GLdoubles, which will be filled out with a modelview matrix suitable for passing to OpenGL. The matrix is specified in column major order.</dd> ! <dt><tt><em>scale</em></tt></dt><dd>Specifies a scaling between ARToolKit's units (usually millimeters) and OpenGL's coordinate system units.</dd> </dl> </blockquote> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglCleanup --> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglCleanup">arglCleanup</a></h2> ! </td></tr></table><hr><dl>Free memory used by gsub_lite associated with the specified context. ! ! </dl><blockquote><pre>void arglCleanup( ! ARGL_CONTEXT_SETTINGS_REF contextSettings ); ! </pre></blockquote> ! <p>Should be called after no more argl* functions are needed, in order ! to prevent memory leaks etc. ! <br><br> ! The library can be setup again for the context at a later time by calling ! arglSetupForCurrentContext() again. </p> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><tt><em>contextSettings</em></tt></dt><dd>A reference to ARGL's settings for an OpenGL context, as returned by arglSetupForCurrentContext().</dd> </dl> </blockquote> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglDispImage --> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglDispImage">arglDispImage</a></h2> ! </td></tr></table><hr><dl>Display an ARVideo image, by drawing it using OpenGL. ! ! </dl><blockquote><pre>void arglDispImage( ! ARUint8 *image, ! const ARParam *cparam, ! const double zoom, ! ARGL_CONTEXT_SETTINGS_REF contextSettings ); ! </pre></blockquote> ! <p>This function draws an image from an ARVideo source to the current ! OpenGL context. This operation is most useful in video see-through ! augmented reality applications for drawing the camera view as a ! background image, but can also be used in other ways. ! <br><br> ! An undistorted image is drawn with the lower-left corner of the ! bottom-left-most pixel at OpenGL screen coordinates (0,0), and the ! upper-right corner of the top-right-most pixel at OpenGL screen ! coodinates (x * zoom, y * zoom), where x and y are the values of the ! fields cparam->xsize and cparam->ysize (see below) and zoom is the ! value of the parameter zoom (also see below). If cparam->dist_factor ! indicates that an un-warping correction should be applied, the actual ! coordinates will differ from the values specified here. ! <br><br> ! OpenGL state: Drawing is performed with depth testing and lighting ! disabled, and thus leaves the the depth buffer (if any) unmodified. If ! pixel transfer is by texturing (see documentation for arglDrawMode), ! the drawing is done in replacement texture environment mode. ! The depth test enable and lighting enable state and the texture ! environment mode are restored before the function returns. </p> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><tt><em>image</em></tt></dt><dd>Pointer to the tightly-packed image data (as returned by arVideoGetImage()). The horizontal and vertical dimensions of the image data must exactly match the values specified in the fields cparam->xsize --- 102,181 ---- perspectives you should set this value no lower than the near-point of the eyes. The near point in humans varies, but usually lies between 0.1 m ! 0.3 m. This value should be specified in the same units as your OpenGL drawing.</li></ol></dd> ! <dt><code><i>m_projection</i></code></dt><dd>Pointer to a array of 16 GLdoubles, which will be filled out with a projection matrix suitable for passing to OpenGL. The matrix is specified in column major order.</dd> </dl> </blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>Use this function to create a matrix suitable for passing to OpenGL ! to set the viewing projection. ! </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/doc/compositePage/c/func/arglCameraView; name=arglCameraView --> ! <a name="//apple_ref/doc/compositePage/c/func/arglCameraView"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglCameraView">arglCameraView</a></h3> ! </td></tr></table><hr><dl></dl><p>Create an OpenGL viewing transformation matrix. </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/void //apple_ref/c/cl/void //apple_ref/c/tdef/void //apple_ref/c/tag/void //apple_ref/c/econst/void //apple_ref/c/struct/void //apple_ref/c/clconst/void" --><font class="type">void</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglCameraView //apple_ref/c/clm/arglCameraView //apple_ref/c/intfcm/arglCameraView //apple_ref/c/func/arglCameraView //apple_ref/c/ftmplt/arglCameraView //apple_ref/c/defn/arglCameraView //apple_ref/c/macro/arglCameraView" --><font class="function">arglCameraView</font><!-- /a -->( + <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/cl/para //apple_ref/c/cl/para //apple_ref/c/tdef/para //apple_ref/c/tag/para //apple_ref/c/econst/para //apple_ref/c/struct/para //apple_ref/c/clconst/para" --><font class="type">para</font><!-- /a -->[<font class="number">3</font>][<font class="number">4</font>], + <!-- a logicalPath="//apple_ref/c/cl/GLdouble //apple_ref/c/cl/GLdouble //apple_ref/c/tdef/GLdouble //apple_ref/c/tag/GLdouble //apple_ref/c/econst/GLdouble //apple_ref/c/struct/GLdouble //apple_ref/c/clconst/GLdouble" --><font class="type">GLdouble</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/cl/m_modelview //apple_ref/c/cl/m_modelview //apple_ref/c/tdef/m_modelview //apple_ref/c/tag/m_modelview //apple_ref/c/econst/m_modelview //apple_ref/c/struct/m_modelview //apple_ref/c/clconst/m_modelview" --><font class="type">m_modelview</font><!-- /a -->[<font class="number">16</font>], + <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <font class="param">scale</font>); </pre></blockquote> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><code><i>para</i></code></dt><dd>Pointer to 3x4 matrix array of doubles which specify the position of an ARToolKit marker, as returned by arGetTransMat().</dd> ! <dt><code><i>m_modelview</i></code></dt><dd>Pointer to a array of 16 GLdoubles, which will be filled out with a modelview matrix suitable for passing to OpenGL. The matrix is specified in column major order.</dd> ! <dt><code><i>scale</i></code></dt><dd>Specifies a scaling between ARToolKit's units (usually millimeters) and OpenGL's coordinate system units.</dd> </dl> </blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>Use this function to create a matrix suitable for passing to OpenGL ! to set the viewing transformation of the virtual camera. ! </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/doc/compositePage/c/func/arglCleanup; name=arglCleanup --> ! <a name="//apple_ref/doc/compositePage/c/func/arglCleanup"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglCleanup">arglCleanup</a></h3> ! </td></tr></table><hr><dl></dl><p>Free memory used by gsub_lite associated with the specified context. </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/void //apple_ref/c/cl/void //apple_ref/c/tdef/void //apple_ref/c/tag/void //apple_ref/c/econst/void //apple_ref/c/struct/void //apple_ref/c/clconst/void" --><font class="type">void</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglCleanup //apple_ref/c/clm/arglCleanup //apple_ref/c/intfcm/arglCleanup //apple_ref/c/func/arglCleanup //apple_ref/c/ftmplt/arglCleanup //apple_ref/c/defn/arglCleanup //apple_ref/c/macro/arglCleanup" --><font class="function">arglCleanup</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>); </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 an OpenGL context, as returned by arglSetupForCurrentContext().</dd> </dl> </blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>Should be called after no more argl* functions are needed, in order ! to prevent memory leaks etc. ! <br><br> ! The library can be setup again for the context at a later time by calling ! arglSetupForCurrentContext() again. ! </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/doc/compositePage/c/func/arglDispImage; name=arglDispImage --> ! <a name="//apple_ref/doc/compositePage/c/func/arglDispImage"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglDispImage">arglDispImage</a></h3> ! </td></tr></table><hr><dl></dl><p>Display an ARVideo image, by drawing it using OpenGL. </p> + <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/void //apple_ref/c/cl/void //apple_ref/c/tdef/void //apple_ref/c/tag/void //apple_ref/c/econst/void //apple_ref/c/struct/void //apple_ref/c/clconst/void" --><font class="type">void</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglDispImage //apple_ref/c/clm/arglDispImage //apple_ref/c/intfcm/arglDispImage //apple_ref/c/func/arglDispImage //apple_ref/c/ftmplt/arglDispImage //apple_ref/c/defn/arglDispImage //apple_ref/c/macro/arglDispImage" --><font class="function">arglDispImage</font><!-- /a -->( + <!-- a logicalPath="//apple_ref/c/cl/ARUint8 //apple_ref/c/cl/ARUint8 //apple_ref/c/tdef/ARUint8 //apple_ref/c/tag/ARUint8 //apple_ref/c/econst/ARUint8 //apple_ref/c/struct/ARUint8 //apple_ref/c/clconst/ARUint8" --><font class="type">ARUint8</font><!-- /a --> *<font class="param">image</font>, + <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/ARParam //apple_ref/c/cl/ARParam //apple_ref/c/tdef/ARParam //apple_ref/c/tag/ARParam //apple_ref/c/econst/ARParam //apple_ref/c/struct/ARParam //apple_ref/c/clconst/ARParam" --><font class="type">ARParam</font><!-- /a --> *<font class="param">cparam</font>, + <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <font class="param">zoom</font>, + <!-- 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>); </pre></blockquote> <h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5> <blockquote> <dl> ! <dt><code><i>image</i></code></dt><dd>Pointer to the tightly-packed image data (as returned by arVideoGetImage()). The horizontal and vertical dimensions of the image data must exactly match the values specified in the fields cparam->xsize *************** *** 214,218 **** from images generated by ARVideo, and so you should ensure that ARVideo is generating pixels of the same format.</dd> ! <dt><tt><em>cparam</em></tt></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 fields xsize and ysize of the ARParam structure pointed to. Also, when --- 195,199 ---- 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 fields xsize and ysize of the ARParam structure pointed to. Also, when *************** *** 221,228 **** structure pointed to will be taken as the amount to un-warp the supplied image.</dd> ! <dt><tt><em>zoom</em></tt></dt><dd>The amount to scale the video image up or down. To draw the video image double size, use a zoom value of 2.0. To draw the video image half size use a zoom value of 0.5.</dd> ! <dt><tt><em>contextSettings</em></tt></dt><dd>A reference to ARGL's settings for the current OpenGL context, as returned by arglSetupForCurrentContext() for this context. It is the callers responsibility to make sure that the current context at the --- 202,209 ---- structure pointed to will be taken as the amount to un-warp the supplied image.</dd> ! <dt><code><i>zoom</i></code></dt><dd>The amount to scale the video image up or down. To draw the video image double size, use a zoom value of 2.0. To draw the video image half size use a zoom value of 0.5.</dd> ! <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. It is the callers responsibility to make sure that the current context at the *************** *** 231,248 **** </dl> </blockquote> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglDispImageStateful --> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglDispImageStateful">arglDispImageStateful</a></h2> ! </td></tr></table><hr><dl>Display an ARVideo image, by drawing it using OpenGL, using and modifying current OpenGL state. ! ! </dl><blockquote><pre>void arglDispImageStateful( ! ARUint8 *image, ! const ARParam *cparam, ! const double zoom, ! ARGL_CONTEXT_SETTINGS_REF contextSettings ); ! </pre></blockquote> ! <p>This function is identical to arglDispImage except that whereas arglDispImage sets an orthographic 2D projection and the OpenGL state prior to drawing, this function does not. It also does not restore any --- 212,250 ---- </dl> </blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>This function draws an image from an ARVideo source to the current ! OpenGL context. This operation is most useful in video see-through ! augmented reality applications for drawing the camera view as a ! background image, but can also be used in other ways. ! <br><br> ! An undistorted image is drawn with the lower-left corner of the ! bottom-left-most pixel at OpenGL screen coordinates (0,0), and the ! upper-right corner of the top-right-most pixel at OpenGL screen ! coodinates (x * zoom, y * zoom), where x and y are the values of the ! fields cparam->xsize and cparam->ysize (see below) and zoom is the ! value of the parameter zoom (also see below). If cparam->dist_factor ! indicates that an un-warping correction should be applied, the actual ! coordinates will differ from the values specified here. ! <br><br> ! OpenGL state: Drawing is performed with depth testing and lighting ! disabled, and thus leaves the the depth buffer (if any) unmodified. If ! pixel transfer is by texturing (see documentation for arglDrawMode), ! the drawing is done in replacement texture environment mode. ! The depth test enable and lighting enable state and the texture ! environment mode are restored before the function returns. ! </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=func; uid=//apple_ref/doc/compositePage/c/func/arglDispImageStateful; name=arglDispImageStateful --> ! <a name="//apple_ref/doc/compositePage/c/func/arglDispImageStateful"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglDispImageStateful">arglDispImageStateful</a></h3> ! </td></tr></table><hr><dl></dl><p>Display an ARVideo image, by drawing it using OpenGL, using and modifying current OpenGL state. ! </p> ! <blockquote><pre><!-- a logicalPath="//apple_ref/c/cl/void //apple_ref/c/cl/void //apple_ref/c/tdef/void //apple_ref/c/tag/void //apple_ref/c/econst/void //apple_ref/c/struct/void //apple_ref/c/clconst/void" --><font class="type">void</font><!-- /a --> <!-- a logicalPath="//apple_ref/c/instm/arglDispImageStateful //apple_ref/c/clm/arglDispImageStateful //apple_ref/c/intfcm/arglDispImageStateful //apple_ref/c/func/arglDispImageStateful //apple_ref/c/ftmplt/arglDispImageStateful //apple_ref/c/defn/arglDispImageStateful //apple_ref/c/macro/arglDispImageStateful" --><font class="function">arglDispImageStateful</font><!-- /a -->( ! <!-- a logicalPath="//apple_ref/c/cl/ARUint8 //apple_ref/c/cl/ARUint8 //apple_ref/c/tdef/ARUint8 //apple_ref/c/tag/ARUint8 //apple_ref/c/econst/ARUint8 //apple_ref/c/struct/ARUint8 //apple_ref/c/clconst/ARUint8" --><font class="type">ARUint8</font><!-- /a --> *<font class="param">image</font>, ! <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/ARParam //apple_ref/c/cl/ARParam //apple_ref/c/tdef/ARParam //apple_ref/c/tag/ARParam //apple_ref/c/econst/ARParam //apple_ref/c/struct/ARParam //apple_ref/c/clconst/ARParam" --><font class="type">ARParam</font><!-- /a --> *<font class="param">cparam</font>, ! <font class="keyword">const</font> <!-- a logicalPath="//apple_ref/c/cl/double //apple_ref/c/cl/double //apple_ref/c/tdef/double //apple_ref/c/tag/double //apple_ref/c/econst/double //apple_ref/c/struct/double //apple_ref/c/clconst/double" --><font class="type">double</font><!-- /a --> <font class="param">zoom</font>, ! <!-- 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>); </pre></blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>This function is identical to arglDispImage except that whereas arglDispImage sets an orthographic 2D projection and the OpenGL state prior to drawing, this function does not. It also does not restore any *************** *** 259,273 **** See the documentation for arglDispImage() for more information. </p> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68.2. </dd> </dl> ! <hr><!-- headerDoc=func; name=arglSetupForCurrentContext --> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglSetupForCurrentContext">arglSetupForCurrentContext</a></h2> ! </td></tr></table><hr><dl>Initialise the gsub_lite library for the current OpenGL context. ! ! </dl><blockquote><pre>ARGL_CONTEXT_SETTINGS_REF arglSetupForCurrentContext( ! void ); ! </pre></blockquote> ! <p>This function performs required setup of the gsub_lite library for the current OpenGL context and must be called before any other argl*() functions are called for this context. --- 261,277 ---- See the documentation for arglDispImage() for more information. </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68.2. </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> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglSetupForCurrentContext">arglSetupForCurrentContext</a></h3> ! </td></tr></table><hr><dl></dl><p>Initialise the gsub_lite library for the current OpenGL context. ! </p> ! <blockquote><pre><!-- 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 --> <!-- a logicalPath="//apple_ref/c/instm/arglSetupForCurrentContext //apple_ref/c/clm/arglSetupForCurrentContext //apple_ref/c/intfcm/arglSetupForCurrentContext //apple_ref/c/func/arglSetupForCurrentContext //apple_ref/c/ftmplt/arglSetupForCurrentContext //apple_ref/c/defn/arglSetupForCurrentContext //apple_ref/c/macro/arglSetupForCurrentContext" --><font class="function">arglSetupForCurrentContext</font><!-- /a -->( ! <font class="param">void</font>); </pre></blockquote> ! <dl><dt><i>function result</i></dt><dd>An ARGL_CONTEXT_SETTINGS_REF. See the documentation for this type for more info. ! </dd> ! <h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>This function performs required setup of the gsub_lite library for the current OpenGL context and must be called before any other argl*() functions are called for this context. *************** *** 284,301 **** when you have finished with the library for this context. </p> ! <dl><dt><i>function result</i></dt><dd>An ARGL_CONTEXT_SETTINGS_REF. See the documentation for this type for more info. ! </dd> ! <dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <h2>Typedefs</h2> ! <hr><!-- headerDoc=tdef; name=ARGL_CONTEXT_SETTINGS_REF --> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="ARGL_CONTEXT_SETTINGS_REF">ARGL_CONTEXT_SETTINGS_REF</a></h2> ! </td></tr></table><hr><dl>Opaque type to hold ARGL settings for a given OpenGL context. ! ! </dl><blockquote><pre>typedef struct _ARGL_CONTEXT_SETTINGS * ! ARGL_CONTEXT_SETTINGS_REF; ! </pre></blockquote> ! <p>An OpenGL context is an implementation-defined structure which keeps track of OpenGL state, including textures and display lists. Typically, individual OpenGL windows will have distinct OpenGL --- 288,302 ---- when you have finished with the library for this context. </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <h2>Typedefs</h2> ! <hr><!-- headerDoc=tdef; uid=//apple_ref/doc/compositePage/c/tdef/ARGL_CONTEXT_SETTINGS_REF; name=ARGL_CONTEXT_SETTINGS_REF --> ! <a name="//apple_ref/doc/compositePage/c/tdef/ARGL_CONTEXT_SETTINGS_REF"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="ARGL_CONTEXT_SETTINGS_REF">ARGL_CONTEXT_SETTINGS_REF</a></h3> ! </td></tr></table><hr><dl></dl><p>Opaque type to hold ARGL settings for a given OpenGL context. ! </p> ! <blockquote><pre><font class="keyword">typedef</font> <font class="keyword">struct</font> <!-- a logicalPath="//apple_ref/c/cl/_ARGL_CONTEXT_SETTINGS //apple_ref/c/cl/_ARGL_CONTEXT_SETTINGS //apple_ref/c/tdef/_ARGL_CONTEXT_SETTINGS //apple_ref/c/tag/_ARGL_CONTEXT_SETTINGS //apple_ref/c/econst/_ARGL_CONTEXT_SETTINGS //apple_ref/c/struct/_ARGL_CONTEXT_SETTINGS //apple_ref/c/clconst/_ARGL_CONTEXT_SETTINGS" --><font class="type">_ARGL_CONTEXT_SETTINGS</font><!-- /a --> <font class="type">*</font><font class="var">ARGL_CONTEXT_SETTINGS_REF</font>; </pre></blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>An OpenGL context is an implementation-defined structure which keeps track of OpenGL state, including textures and display lists. Typically, individual OpenGL windows will have distinct OpenGL *************** *** 315,331 **** memory used by the settings structure. </p> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <h2>Globals</h2> ! <hr><!-- headerDoc=data; name=arglDrawMode --> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglDrawMode">arglDrawMode</a></h2> ! </td></tr></table><hr><dl>Determines display method by which arglDispImage() transfers pixels. ! ! </dl><blockquote><pre><pre> ! int arglDrawMode; ! </pre> ! </pre></blockquote> ! <p>The value of this variable determines the method by which arglDispImage transfers pixels of an image to the display. Setting this variable to a value of AR_DRAW_BY_GL_DRAW_PIXELS specifies the use of OpenGL --- 316,330 ---- memory used by the settings structure. </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <h2>Globals</h2> ! <hr><!-- headerDoc=data; uid=//apple_ref/doc/compositePage/c/data/arglDrawMode; name=arglDrawMode --> ! <a name="//apple_ref/doc/compositePage/c/data/arglDrawMode"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglDrawMode">arglDrawMode</a></h3> ! </td></tr></table><hr><dl></dl><p>Determines display method by which arglDispImage() transfers pixels. ! </p> ! <blockquote><pre><font class="keyword">extern</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="var">arglDrawMode</font>; </pre></blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>The value of this variable determines the method by which arglDispImage transfers pixels of an image to the display. Setting this variable to a value of AR_DRAW_BY_GL_DRAW_PIXELS specifies the use of OpenGL *************** *** 342,357 **** (defined in <AR/config.h>). </p> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=data; name=arglTexRectangle --> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglTexRectangle">arglTexRectangle</a></h2> ! </td></tr></table><hr><dl>Determines use of rectangular TexImage2D pixel-transfer in arglDispImage(). ! ! </dl><blockquote><pre><pre> ! BOOL arglTexRectangle; ! </pre> ! </pre></blockquote> ! <p>On implementations which support the OpenGL extension for rectangular textures (of non power-of-two size), and when arglDrawMode is set to AR_DRAW_BY_TEXTURE_MAPPING, the value of this variable determines whether rectangular textures or ordinary --- 341,372 ---- (defined in <AR/config.h>). </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> ! <hr><!-- headerDoc=data; uid=//apple_ref/doc/compositePage/c/data/arglTexmapMode; name=arglTexmapMode --> ! <a name="//apple_ref/doc/compositePage/c/data/arglTexmapMode"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglTexmapMode">arglTexmapMode</a></h3> ! </td></tr></table><hr><dl></dl><p>Determines use of full or half-resolution TexImage2D pixel-transfer in arglDispImage(). ! </p> ! <blockquote><pre><font class="keyword">extern</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="var">arglTexmapMode</font>; </pre></blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>When arglDrawMode is set to AR_DRAW_BY_TEXTURE_MAPPING, the value of this variable ! determines whether full or half-resolution data is transferred to the ! texture. A value of AR_DRAW_TEXTURE_FULL_IMAGE uses all available pixels in the ! source image data. A value of AR_DRAW_TEXTURE_HALF_IMAGE discards every second pixel ! in the source image data, defining a half-width texture which is then drawn stretched ! horizontally to double its width. The latter method offers some advantages to ! certain implentations where texture transfer is slow or costly, at the expense of ! image detail. ! </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. ! </dd> ! </dl> ! <hr><!-- headerDoc=data; uid=//apple_ref/doc/compositePage/c/data/arglTexRectangle; name=arglTexRectangle --> ! <a name="//apple_ref/doc/compositePage/c/data/arglTexRectangle"></a> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="arglTexRectangle">arglTexRectangle</a></h3> ! </td></tr></table><hr><dl></dl><p>Determines use of rectangular TexImage2D pixel-transfer in arglDispImage(). ! </p> ! <blockquote><pre><font class="keyword">extern</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="var">arglTexRectangle</font>; </pre></blockquote> ! <dl><h5><font face="Lucida Grande,Helvetica,Arial">Discussion</font></h5><p>On implementations which support the OpenGL extension for rectangular textures (of non power-of-two size), and when arglDrawMode is set to AR_DRAW_BY_TEXTURE_MAPPING, the value of this variable determines whether rectangular textures or ordinary *************** *** 366,393 **** or <GL/gl.h> </p> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. ! </dd> ! </dl> ! <hr><!-- headerDoc=data; name=arglTexmapMode --> ! <table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h2><a name="arglTexmapMode">arglTexmapMode</a></h2> ! </td></tr></table><hr><dl>Determines use of full or half-resolution TexImage2D pixel-transfer in arglDispImage(). ! ! </dl><blockquote><pre><pre> ! int arglTexmapMode; ! </pre> ! </pre></blockquote> ! <p>When arglDrawMode is set to AR_DRAW_BY_TEXTURE_MAPPING, the value of this variable ! determines whether full or half-resolution data is transferred to the ! texture. A value of AR_DRAW_TEXTURE_FULL_IMAGE uses all available pixels in the ! source image data. A value of AR_DRAW_TEXTURE_HALF_IMAGE discards every second pixel ! in the source image data, defining a half-width texture which is then drawn stretched ! horizontally to double its width. The latter method offers some advantages to ! certain implentations where texture transfer is slow or costly, at the expense of ! image detail. ! </p> ! <dl><dt><i>availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <p><p>© 2003-2004 Philip Lamb ! (Last Updated 07/02/2004) </p></body></html> --- 381,388 ---- or <GL/gl.h> </p> ! <dt><i>Availability</i></dt><dd>First appeared in ARToolKit 2.68. </dd> </dl> <p><p>© 2003-2004 Philip Lamb ! (Last Updated August 02, 2004) </p></body></html> |
From: Philip L. <phi...@us...> - 2005-04-13 06:15:06
|
Update of /cvsroot/artoolkit/artoolkit/examples/range In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30804 Modified Files: rangeTest.c Log Message: Fix for glutInit bug in OSX libARgsub. Index: rangeTest.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/range/rangeTest.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rangeTest.c 22 Nov 2004 08:16:54 -0000 1.2 --- rangeTest.c 13 Apr 2005 06:14:42 -0000 1.3 *************** *** 48,54 **** static void draw(double marker_trans[3][4],double range); ! int main() { //initialize applications init(); --- 48,57 ---- static void draw(double marker_trans[3][4],double range); ! int main(int argc, char **argv) { //initialize applications + #ifdef __APPLE__ + glutInit(&argc, argv); + #endif init(); |