Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 5292

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: dox/Rendering/vtkOpenGLRenderWindow.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>dox/Rendering/vtkOpenGLRenderWindow.h</h1><a href="a03500.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span>
<a name="l00002"></a>00002 <span class="comment"></span>
<a name="l00003"></a>00003 <span class="comment">  Program:   Visualization Toolkit</span>
<a name="l00004"></a>00004 <span class="comment">  Module:    $RCSfile: vtkOpenGLRenderWindow.h,v $</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span>
<a name="l00007"></a>00007 <span class="comment">  All rights reserved.</span>
<a name="l00008"></a>00008 <span class="comment">  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span>
<a name="l00009"></a>00009 <span class="comment"></span>
<a name="l00010"></a>00010 <span class="comment">     This software is distributed WITHOUT ANY WARRANTY; without even</span>
<a name="l00011"></a>00011 <span class="comment">     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span>
<a name="l00012"></a>00012 <span class="comment">     PURPOSE.  See the above copyright notice for more information.</span>
<a name="l00013"></a>00013 <span class="comment"></span>
<a name="l00014"></a>00014 <span class="comment">=========================================================================*/</span>
<a name="l00027"></a>00027 <span class="preprocessor">#ifndef __vtkOpenGLRenderWindow_h</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define __vtkOpenGLRenderWindow_h</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="a03537.html">vtkRenderWindow.h</a>"</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#include "vtkOpenGL.h"</span> <span class="comment">// Needed for GLuint.</span>
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="keyword">class </span><a class="code" href="a00720.html" title="list of point or cell ids">vtkIdList</a>;
<a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="a01105.html" title="Interface class for querying and using OpenGL extensions.">vtkOpenGLExtensionManager</a>;
<a name="l00036"></a>00036 <span class="keyword">class </span><a class="code" href="a01107.html" title="OpenGL rendering window.">vtkOpenGLHardwareSupport</a>;
<a name="l00037"></a>00037 <span class="keyword">class </span><a class="code" href="a01702.html" title="allocate/free texture units.">vtkTextureUnitManager</a>;
<a name="l00038"></a>00038 
<a name="l00039"></a><a class="code" href="a01120.html">00039</a> <span class="keyword">class </span><a class="code" href="a02170.html#4019f67b2e7d601f2cf984e448308dbb">VTK_RENDERING_EXPORT</a> <a class="code" href="a01120.html" title="OpenGL rendering window.">vtkOpenGLRenderWindow</a> : <span class="keyword">public</span> <a class="code" href="a01489.html" title="create a window for renderers to draw into">vtkRenderWindow</a>
<a name="l00040"></a>00040 {
<a name="l00041"></a>00041 <span class="keyword">protected</span>:
<a name="l00042"></a><a class="code" href="a01120.html#ec81df635afbc918b650454dac6cd66f">00042</a>   <span class="keywordtype">long</span> OldMonitorSetting;
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 <span class="keyword">public</span>:
<a name="l00045"></a><a class="code" href="a01120.html#1b077781b8f4c7453ba593b4e45b5167">00045</a>   vtkTypeRevisionMacro(<a class="code" href="a01120.html" title="OpenGL rendering window.">vtkOpenGLRenderWindow</a>,<a class="code" href="a01489.html" title="create a window for renderers to draw into">vtkRenderWindow</a>);
<a name="l00046"></a>00046   <span class="keywordtype">void</span> <a class="code" href="a01489.html#a0c06b4f13a184bd9e9afc292e4fd638">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00047"></a>00047 
<a name="l00049"></a>00049 
<a name="l00050"></a>00050   <span class="keyword">static</span> <span class="keywordtype">void</span> SetGlobalMaximumNumberOfMultiSamples(<span class="keywordtype">int</span> val);
<a name="l00051"></a>00051   <span class="keyword">static</span> <span class="keywordtype">int</span>  GetGlobalMaximumNumberOfMultiSamples();
<a name="l00053"></a>00053 
<a name="l00055"></a>00055   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01489.html#a3c65fa4415c7685c9375a0661a9c01f">StereoUpdate</a>();
<a name="l00056"></a>00056 
<a name="l00058"></a>00058 
<a name="l00059"></a>00059   <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="a01886.html#fe513c0f9e8eaaf76d924cc9ce99182b">GetPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2,<span class="keywordtype">int</span> front);
<a name="l00060"></a>00060   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01886.html#fe513c0f9e8eaaf76d924cc9ce99182b">GetPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2, <span class="keywordtype">int</span> front,
<a name="l00061"></a>00061                            <a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>);
<a name="l00062"></a>00062   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#e24cce8dc83ac82d17454d53dfe299cc">SetPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2,<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>,
<a name="l00063"></a>00063                            <span class="keywordtype">int</span> front);
<a name="l00064"></a>00064   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#e24cce8dc83ac82d17454d53dfe299cc">SetPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2,
<a name="l00065"></a>00065                            <a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>, <span class="keywordtype">int</span> front);
<a name="l00067"></a>00067 
<a name="l00069"></a>00069 
<a name="l00070"></a>00070   <span class="keyword">virtual</span> <span class="keywordtype">float</span> *<a class="code" href="a01489.html#f201f8a40b7dbeaed04598a26abc54c5">GetRGBAPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2,<span class="keywordtype">int</span> front);
<a name="l00071"></a>00071   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#f201f8a40b7dbeaed04598a26abc54c5">GetRGBAPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2, <span class="keywordtype">int</span> front,
<a name="l00072"></a>00072                                <a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>);
<a name="l00073"></a>00073   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#5ae34c0aac5ef65bb17be50cb25ffab6">SetRGBAPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2, <span class="keywordtype">float</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>,
<a name="l00074"></a>00074                                <span class="keywordtype">int</span> front, <span class="keywordtype">int</span> blend=0);
<a name="l00075"></a>00075   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#5ae34c0aac5ef65bb17be50cb25ffab6">SetRGBAPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2, <a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>,
<a name="l00076"></a>00076                                <span class="keywordtype">int</span> front, <span class="keywordtype">int</span> blend=0);
<a name="l00077"></a>00077   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01489.html#3776b5dddc534bb6331bcb1487bc1cac">ReleaseRGBAPixelData</a>(<span class="keywordtype">float</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>);
<a name="l00078"></a>00078   <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="a01489.html#d6f5ed9b32e65bfa80aeeaea2f5ea804">GetRGBACharPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2,
<a name="l00079"></a>00079                                               <span class="keywordtype">int</span> front);
<a name="l00080"></a>00080   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#d6f5ed9b32e65bfa80aeeaea2f5ea804">GetRGBACharPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2, <span class="keywordtype">int</span> front,
<a name="l00081"></a>00081                                    <a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>);
<a name="l00082"></a>00082   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#778290e9131af5dd033773cb87e8e846">SetRGBACharPixelData</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> x2, <span class="keywordtype">int</span> y2,
<a name="l00083"></a>00083                                    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>, <span class="keywordtype">int</span> front,
<a name="l00084"></a>00084                                    <span class="keywordtype">int</span> blend=0);  
<a name="l00085"></a>00085   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#778290e9131af5dd033773cb87e8e846">SetRGBACharPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2,
<a name="l00086"></a>00086                                    <a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>, <span class="keywordtype">int</span> front,
<a name="l00087"></a>00087                                    <span class="keywordtype">int</span> blend=0);  
<a name="l00089"></a>00089 
<a name="l00091"></a>00091 
<a name="l00092"></a>00092   <span class="keyword">virtual</span> <span class="keywordtype">float</span> *<a class="code" href="a01489.html#de6ec79f06dc182164962b88ca1d646e">GetZbufferData</a>( <span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1, <span class="keywordtype">int</span> x2, <span class="keywordtype">int</span> y2 );
<a name="l00093"></a>00093   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#de6ec79f06dc182164962b88ca1d646e">GetZbufferData</a>( <span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1, <span class="keywordtype">int</span> x2, <span class="keywordtype">int</span> y2, <span class="keywordtype">float</span>* z );
<a name="l00094"></a>00094   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#de6ec79f06dc182164962b88ca1d646e">GetZbufferData</a>( <span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1, <span class="keywordtype">int</span> x2, <span class="keywordtype">int</span> y2,
<a name="l00095"></a>00095                               <a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a>* z );
<a name="l00096"></a>00096   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#cae344d926dd66ff6dd635a0b9ea408e">SetZbufferData</a>( <span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1, <span class="keywordtype">int</span> x2, <span class="keywordtype">int</span> y2, <span class="keywordtype">float</span> *buffer );
<a name="l00097"></a>00097   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#cae344d926dd66ff6dd635a0b9ea408e">SetZbufferData</a>( <span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1, <span class="keywordtype">int</span> x2, <span class="keywordtype">int</span> y2,
<a name="l00098"></a>00098                               <a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a> *buffer );
<a name="l00100"></a>00100 
<a name="l00102"></a>00102   <span class="keywordtype">void</span> <a class="code" href="a01489.html#1e307fc160acda0294180a95d07b4e5f">MakeCurrent</a>() = 0;
<a name="l00103"></a>00103   
<a name="l00106"></a>00106   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> IsCurrent()=0;
<a name="l00107"></a>00107   
<a name="l00109"></a>00109   <span class="keywordtype">void</span> RegisterTextureResource (GLuint <span class="keywordtype">id</span>);
<a name="l00110"></a>00110 
<a name="l00112"></a>00112   <span class="keywordtype">int</span> <a class="code" href="a01489.html#55846865f8df395a464e8840f8ca8a8e">GetDepthBufferSize</a>();
<a name="l00113"></a>00113 
<a name="l00116"></a>00116   <span class="keywordtype">int</span> <a class="code" href="a01489.html#6b8d4e8834772ba2f6984a4528969318">GetColorBufferSizes</a>(<span class="keywordtype">int</span> *rgba);
<a name="l00117"></a>00117   
<a name="l00119"></a>00119   <span class="keyword">virtual</span> <span class="keywordtype">void</span> OpenGLInit();
<a name="l00120"></a>00120 
<a name="l00126"></a>00126   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> GetBackLeftBuffer();
<a name="l00127"></a>00127   
<a name="l00133"></a>00133   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> GetBackRightBuffer();
<a name="l00134"></a>00134   
<a name="l00140"></a>00140   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> GetFrontLeftBuffer();
<a name="l00141"></a>00141   
<a name="l00147"></a>00147   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> GetFrontRightBuffer();
<a name="l00148"></a>00148   
<a name="l00154"></a>00154   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> GetBackBuffer();
<a name="l00155"></a>00155   
<a name="l00161"></a>00161   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> GetFrontBuffer();
<a name="l00162"></a>00162   
<a name="l00166"></a>00166   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01489.html#5e7e3d867b9df87c8fc9644da147b556">CheckGraphicError</a>();
<a name="l00167"></a>00167   
<a name="l00169"></a>00169   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01489.html#5c2292fcc868ef9f5d8e228a691972bc">HasGraphicError</a>();
<a name="l00170"></a>00170   
<a name="l00172"></a>00172   <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a01489.html#12b22b2e3deab25685980281ac7d11ec">GetLastGraphicErrorString</a>();
<a name="l00173"></a>00173 
<a name="l00175"></a>00175 
<a name="l00176"></a>00176   vtkGetMacro(ContextCreationTime, <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a>);
<a name="l00178"></a>00178 
<a name="l00181"></a>00181   <a class="code" href="a01105.html" title="Interface class for querying and using OpenGL extensions.">vtkOpenGLExtensionManager</a>* GetExtensionManager();
<a name="l00182"></a>00182 
<a name="l00185"></a>00185   <a class="code" href="a01107.html" title="OpenGL rendering window.">vtkOpenGLHardwareSupport</a>* GetHardwareSupport();
<a name="l00186"></a>00186  
<a name="l00187"></a>00187   <span class="comment">//BTX</span>
<a name="l00189"></a>00189 <span class="comment"></span>
<a name="l00191"></a>00191   <a class="code" href="a01702.html" title="allocate/free texture units.">vtkTextureUnitManager</a> *GetTextureUnitManager();
<a name="l00192"></a>00192   <span class="comment">//ETX</span>
<a name="l00194"></a>00194 <span class="comment"></span>  
<a name="l00195"></a>00195 <span class="keyword">protected</span>:
<a name="l00196"></a>00196   <a class="code" href="a01120.html" title="OpenGL rendering window.">vtkOpenGLRenderWindow</a>();
<a name="l00197"></a>00197   ~<a class="code" href="a01120.html" title="OpenGL rendering window.">vtkOpenGLRenderWindow</a>();
<a name="l00198"></a>00198 
<a name="l00199"></a><a class="code" href="a01120.html#034e352671e0d859d41477894d4ab70a">00199</a>   <a class="code" href="a00720.html" title="list of point or cell ids">vtkIdList</a> *TextureResourceIds;
<a name="l00200"></a>00200 
<a name="l00201"></a>00201   <span class="keywordtype">int</span> <a class="code" href="a01886.html#fe513c0f9e8eaaf76d924cc9ce99182b">GetPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2,<span class="keywordtype">int</span> front, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>);
<a name="l00202"></a>00202   <span class="keywordtype">int</span> <a class="code" href="a01489.html#f201f8a40b7dbeaed04598a26abc54c5">GetRGBAPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2, <span class="keywordtype">int</span> front, <span class="keywordtype">float</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>);
<a name="l00203"></a>00203   <span class="keywordtype">int</span> <a class="code" href="a01489.html#d6f5ed9b32e65bfa80aeeaea2f5ea804">GetRGBACharPixelData</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> x2,<span class="keywordtype">int</span> y2, <span class="keywordtype">int</span> front,
<a name="l00204"></a>00204                            <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210eb708a412c0730a6b5f3215b36474a1e">data</a>);
<a name="l00205"></a>00205   
<a name="l00211"></a>00211   <span class="keywordtype">int</span> CreateHardwareOffScreenWindow(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c076ccbe549041286aaf7bc34202ebdf">height</a>);
<a name="l00212"></a>00212   
<a name="l00216"></a>00216   <span class="keywordtype">void</span> DestroyHardwareOffScreenWindow();
<a name="l00217"></a>00217   
<a name="l00219"></a><a class="code" href="a01120.html#7cefc19278ad1aba80b2e0fbe9b12d3d">00219</a>   <span class="keywordtype">int</span> OffScreenUseFrameBuffer;
<a name="l00220"></a>00220   
<a name="l00222"></a>00222 
<a name="l00223"></a><a class="code" href="a01120.html#92391a5629b99cce5e3f6cfc765db2c9">00223</a>   <span class="keywordtype">int</span> NumberOfFrameBuffers;
<a name="l00224"></a><a class="code" href="a01120.html#022fbd5919a7d3bc246b543f052e7981">00224</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> TextureObjects[4]; <span class="comment">// really GLuint</span>
<a name="l00225"></a><a class="code" href="a01120.html#6a2d6a7029a22261499b7b7371584216">00225</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> FrameBufferObject; <span class="comment">// really GLuint</span>
<a name="l00226"></a><a class="code" href="a01120.html#a599de2550c81eed4d8a9c504b6f0d70">00226</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> DepthRenderBufferObject; <span class="comment">// really GLuint</span>
<a name="l00228"></a>00228 <span class="comment"></span>  
<a name="l00230"></a>00230   <span class="keyword">virtual</span> <span class="keywordtype">void</span> CreateAWindow()=0;
<a name="l00231"></a>00231   
<a name="l00233"></a>00233   <span class="keyword">virtual</span> <span class="keywordtype">void</span> DestroyWindow()=0;
<a name="l00234"></a>00234   
<a name="l00236"></a>00236   <span class="keywordtype">void</span> SetTextureUnitManager(<a class="code" href="a01702.html" title="allocate/free texture units.">vtkTextureUnitManager</a> *textureUnitManager);
<a name="l00237"></a>00237   
<a name="l00238"></a><a class="code" href="a01120.html#90289386069274e73c344a1ff2914e50">00238</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> BackLeftBuffer;
<a name="l00239"></a><a class="code" href="a01120.html#5b3b2b5dc88a20819d38f8eb1524b11d">00239</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> BackRightBuffer;
<a name="l00240"></a><a class="code" href="a01120.html#32b6038fa8aabe1e7f799ab5a57cd19f">00240</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> FrontLeftBuffer;
<a name="l00241"></a><a class="code" href="a01120.html#0c28061e0c78b008c4bd11ab51211079">00241</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> FrontRightBuffer;
<a name="l00242"></a><a class="code" href="a01120.html#7e53d794bbb0cfd62c35739e6c665e1b">00242</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> FrontBuffer;
<a name="l00243"></a><a class="code" href="a01120.html#9de3fa85fe7bcafa94908ee0575bd0d8">00243</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> BackBuffer;
<a name="l00244"></a>00244   
<a name="l00245"></a>00245   <span class="comment">// Actual type is GLenum. Last value returned by glGetError().</span>
<a name="l00246"></a><a class="code" href="a01120.html#8db6bca0f6d6b7d9c2b2e7d2b2d4a9c5">00246</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> LastGraphicError;
<a name="l00247"></a>00247  
<a name="l00248"></a><a class="code" href="a01120.html#c1f9aef8111c36eb14923641a536dffc">00248</a>   <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> ContextCreationTime;
<a name="l00249"></a>00249   
<a name="l00250"></a><a class="code" href="a01120.html#86ca55180a1fda58f10a8915abc76cad">00250</a>   <a class="code" href="a01702.html" title="allocate/free texture units.">vtkTextureUnitManager</a> *TextureUnitManager;
<a name="l00251"></a>00251   
<a name="l00252"></a>00252 <span class="keyword">private</span>:
<a name="l00253"></a>00253   <a class="code" href="a01120.html" title="OpenGL rendering window.">vtkOpenGLRenderWindow</a>(<span class="keyword">const</span> <a class="code" href="a01120.html" title="OpenGL rendering window.">vtkOpenGLRenderWindow</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00254"></a>00254   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01120.html" title="OpenGL rendering window.">vtkOpenGLRenderWindow</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00255"></a>00255 
<a name="l00256"></a>00256   <span class="keywordtype">void</span> SetExtensionManager(<a class="code" href="a01105.html" title="Interface class for querying and using OpenGL extensions.">vtkOpenGLExtensionManager</a>*);
<a name="l00257"></a>00257   <span class="keywordtype">void</span> SetHardwareSupport(<a class="code" href="a01107.html" title="OpenGL rendering window.">vtkOpenGLHardwareSupport</a> * renderWindow);
<a name="l00258"></a>00258 
<a name="l00259"></a>00259   <a class="code" href="a01105.html" title="Interface class for querying and using OpenGL extensions.">vtkOpenGLExtensionManager</a>* ExtensionManager;
<a name="l00260"></a>00260   <a class="code" href="a01107.html" title="OpenGL rendering window.">vtkOpenGLHardwareSupport</a>* HardwareSupport;
<a name="l00261"></a>00261 };
<a name="l00262"></a>00262 
<a name="l00263"></a>00263 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:48 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>