Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 8e6051afcdb111a0317a58fb64c2abf5 > files > 5360

qt4-doc-4.6.3-0.2mdv2010.2.i586.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- modules.qdoc -->
<head>
  <title>Qt 4.6: QtOpenGL Module</title>
  <link rel="prev" href="qtnetwork.html" />
  <link rel="contents" href="modules.html" />
  <link rel="next" href="qtopenvg.html" />
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><p>
[Previous: <a href="qtnetwork.html">QtNetwork Module</a>]
[<a href="modules.html">All Qt Modules</a>]
[Next: <a href="qtopenvg.html">QtOpenVG Module</a>]
</p>
<h1 class="title">QtOpenGL Module<br /><span class="subtitle"></span>
</h1>
<p>The QtOpenGL module offers classes that make it easy to use OpenGL in Qt applications. <a href="#details">More...</a></p>
<h2>Namespaces</h2>
<p><table width="100%" class="annotated" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><th><a href="qgl.html">QGL</a></th><td>Specifies miscellaneous identifiers used in the Qt OpenGL module</td></tr>
</table></p>
<h2>Classes</h2>
<p><table width="100%" class="annotated" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><th><a href="qglcolormap.html">QGLColormap</a></th><td>Used for installing custom colormaps into a QGLWidget</td></tr>
<tr valign="top" class="even"><th><a href="qglcontext.html">QGLContext</a></th><td>Encapsulates an OpenGL rendering context</td></tr>
<tr valign="top" class="odd"><th><a href="qglformat.html">QGLFormat</a></th><td>Specifies the display format of an OpenGL rendering context</td></tr>
<tr valign="top" class="even"><th><a href="qglframebufferobject.html">QGLFramebufferObject</a></th><td>Encapsulates an OpenGL framebuffer object</td></tr>
<tr valign="top" class="odd"><th><a href="qglframebufferobjectformat.html">QGLFramebufferObjectFormat</a></th><td>Specifies the format of an OpenGL framebuffer object</td></tr>
<tr valign="top" class="even"><th><a href="qglpixelbuffer.html">QGLPixelBuffer</a></th><td>Encapsulates an OpenGL pbuffer</td></tr>
<tr valign="top" class="odd"><th><a href="qglshader.html">QGLShader</a></th><td>Allows OpenGL shaders to be compiled</td></tr>
<tr valign="top" class="even"><th><a href="qglshaderprogram.html">QGLShaderProgram</a></th><td>Allows OpenGL shader programs to be linked and used</td></tr>
<tr valign="top" class="odd"><th><a href="qglwidget.html">QGLWidget</a></th><td>Widget for rendering OpenGL graphics</td></tr>
<tr valign="top" class="even"><th><a href="qwsglwindowsurface.html">QWSGLWindowSurface</a></th><td>The drawing area for top-level windows with Qt for Embedded Linux on EGL/OpenGL ES. It also provides the drawing area for QGLWidgets whether they are top-level windows or children of another QWidget</td></tr>
</table></p>
<a name="details"></a>
<h2>Detailed Description</h2>
<p>OpenGL is a standard API for rendering 3D graphics. OpenGL only deals with 3D rendering and provides little or no support for GUI programming issues. The user interface for an OpenGL application must be created with another toolkit, such as Motif on the X platform, Microsoft Foundation Classes (MFC) under Windows, or Qt on both platforms.</p>
<p><b>Note:</b> OpenGL is a trademark of Silicon Graphics, Inc. in the United States and other countries.</p>
<p>The Qt OpenGL module makes it easy to use OpenGL in Qt applications. It provides an OpenGL widget class that can be used just like any other Qt widget, except that it opens an OpenGL display buffer where you can use the OpenGL API to render the contents.</p>
<p>To include the definitions of the module's classes, use the following directive:</p>
<pre> #include &lt;QtOpenGL&gt;</pre>
<p>To link against the module, add this line to your <a href="qmake-manual.html#qmake">qmake</a> <tt>.pro</tt> file:</p>
<pre> QT += opengl</pre>
<p>The Qt OpenGL module is implemented as a platform-independent Qt/C++ wrapper around the platform-dependent GLX (version 1.3 or later), WGL, or AGL C APIs. Although the basic functionality provided is very similar to Mark Kilgard's GLUT library, applications using the Qt OpenGL module can take advantage of the whole Qt API for non-OpenGL-specific GUI functionality.</p>
<p>The QtOpenGL module is part of the <a href="full-framework-edition-classes.html">Qt Full Framework Edition</a> and the <a href="opensourceedition.html">Open Source Versions of Qt</a>. It is available on Windows, X11, and Mac OS X. <a href="qt-embeddedlinux-opengl.html">Qt for Embedded Linux and OpenGL</a> supports OpenGL ES (OpenGL for Embedded Systems). <b>Note:</b> To be able to use the OpenGL API in <a href="qt-embedded-linux.html">Qt for Embedded Linux</a>, it must be integrated with the Q Window System (QWS). See the <a href="qt-embeddedlinux-opengl.html">Qt for Embedded Linux and OpenGL</a> documentation for details.</p>
<p>
[Previous: <a href="qtnetwork.html">QtNetwork Module</a>]
[<a href="modules.html">All Qt Modules</a>]
[Next: <a href="qtopenvg.html">QtOpenVG Module</a>]
</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="40%" align="left">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies)</td>
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="40%" align="right"><div align="right">Qt 4.6.3</div></td>
</tr></table></div></address></body>
</html>